[Pkg-matrix-maintainers] Bug#1071288: quaternion: FTBFS: /<<PKGBUILDDIR>>/client/roomdialogs.cpp:30:10: fatal error: logging.h: No such file or directory

Sebastian Ramacher sramacher at debian.org
Fri May 17 19:07:31 BST 2024


Source: quaternion
Version: 0.0.95.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=quaternion&arch=amd64&ver=0.0.95.1-1%2Bb3&stamp=1715958046&raw=0

/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/quaternionroom.cpp.o -MF CMakeFiles/quaternion.dir/client/quaternionroom.cpp.o.d -o CMakeFiles/quaternion.dir/client/quaternionroom.cpp.o -c /<<PKGBUILDDIR>>/client/quaternionroom.cpp
/<<PKGBUILDDIR>>/client/quaternionroom.cpp: In member function ‘void QuaternionRoom::checkForHighlights(const Quotient::TimelineItem&)’:
/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/client/quaternionroom.h:22,
                 from /<<PKGBUILDDIR>>/client/quaternionroom.cpp:20:
/usr/include/libquotient/Quotient/room.h:349:25: note: declared here
  349 |     Q_INVOKABLE QString roomMembername(const QString& userId) const;
      |                         ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/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/libquotient/Quotient/room.h:349:25: note: declared here
  349 |     Q_INVOKABLE QString roomMembername(const QString& userId) const;
      |                         ^~~~~~~~~~~~~~
[ 42%] Building CXX object CMakeFiles/quaternion.dir/client/dialog.cpp.o
/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/dialog.cpp.o -MF CMakeFiles/quaternion.dir/client/dialog.cpp.o.d -o CMakeFiles/quaternion.dir/client/dialog.cpp.o -c /<<PKGBUILDDIR>>/client/dialog.cpp
In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/6D7WC27I7H/moc_roomlistmodel.cpp:10,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/mocs_compilation.cpp:14:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/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<T>;
      |                                            ^~~~~~~~~~~~~~~~
      |                                            ConnectionData
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:21: error: ‘ConnectionsGuard’ was not declared in this scope
   90 |         std::vector<ConnectionsGuard<Quotient::Connection>> m_connections;
      |                     ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:58: error: template argument 1 is invalid
   90 |         std::vector<ConnectionsGuard<Quotient::Connection>> m_connections;
      |                                                          ^~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:58: error: template argument 2 is invalid
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/6D7WC27I7H/../../../client/models/roomlistmodel.h:90:14: error: ‘<expression error>’ in namespace ‘std’ does not name a type
   90 |         std::vector<ConnectionsGuard<Quotient::Connection>> m_connections;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 44%] Building CXX object CMakeFiles/quaternion.dir/client/logindialog.cpp.o
/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/logindialog.cpp.o -MF CMakeFiles/quaternion.dir/client/logindialog.cpp.o.d -o CMakeFiles/quaternion.dir/client/logindialog.cpp.o -c /<<PKGBUILDDIR>>/client/logindialog.cpp
[ 47%] Building CXX object CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o
/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o -MF CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o.d -o CMakeFiles/quaternion.dir/client/networkconfigdialog.cpp.o -c /<<PKGBUILDDIR>>/client/networkconfigdialog.cpp
[ 50%] Building CXX object CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o
/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o -MF CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o.d -o CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o -c /<<PKGBUILDDIR>>/client/roomdialogs.cpp
[ 52%] Building CXX object CMakeFiles/quaternion.dir/client/mainwindow.cpp.o
/usr/bin/c++ -DGIT_SHA1=\"\" -DLIB_GIT_SHA1=\"\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQuotient_E2EE_ENABLED -DQuotient_VERSION_MAJOR=0 -DQuotient_VERSION_MINOR=8 -DQuotient_VERSION_PATCH=1 -DQuotient_VERSION_STRING=\"0.8.1.2\" -DUSE_KEYCHAIN -DUSE_QQUICKWIDGET -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/quaternion_autogen/include -isystem /usr/include/libquotient -isystem /usr/include/libquotient/Quotient -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickControls2 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++20 -W -Wall -Wpedantic -Wextra -Wno-unused-parameter -fPIC -MD -MT CMakeFiles/quaternion.dir/client/mainwindow.cpp.o -MF CMakeFiles/quaternion.dir/client/mainwindow.cpp.o.d -o CMakeFiles/quaternion.dir/client/mainwindow.cpp.o -c /<<PKGBUILDDIR>>/client/mainwindow.cpp
/<<PKGBUILDDIR>>/client/roomdialogs.cpp:30:10: fatal error: logging.h: No such file or directory
   30 | #include <logging.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/quaternion.dir/build.make:353: CMakeFiles/quaternion.dir/client/roomdialogs.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/client/mainwindow.cpp:39:10: fatal error: logging.h: No such file or directory
   39 | #include <logging.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/quaternion.dir/build.make:367: CMakeFiles/quaternion.dir/client/mainwindow.cpp.o] Error 1
make[3]: *** [CMakeFiles/quaternion.dir/build.make:227: CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o] Error 1
/<<PKGBUILDDIR>>/client/logindialog.cpp: In lambda function:
/<<PKGBUILDDIR>>/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(), [=] {
      |                                                                         ^
/<<PKGBUILDDIR>>/client/logindialog.cpp:53:73: note: add explicit ‘this’ or ‘*this’ capture
/<<PKGBUILDDIR>>/client/logindialog.cpp: In member function ‘virtual void LoginDialog::apply()’:
/<<PKGBUILDDIR>>/client/logindialog.cpp:209:9: error: ‘connectSingleShot’ was not declared in this scope
  209 |         connectSingleShot(m_connection.data(), &Connection::loginFlowsChanged,
      |         ^~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/quaternion.dir/build.make:325: CMakeFiles/quaternion.dir/client/logindialog.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

Cheers
-- 
Sebastian Ramacher



More information about the Pkg-matrix-maintainers mailing list