maliit / framework

Core libraries of Maliit and server.
Other
52 stars 49 forks source link

Building latest `master` fails #59

Closed personalizedrefrigerator closed 3 years ago

personalizedrefrigerator commented 3 years ago

Summary

Abridged Build Log

``` framework$ mkdir build; cd build framework/build$ cmake .. framework/build$ make ... snipped ... [ 58%] Linking CXX shared module libmaliitplatforminputcontextplugin.so [ 58%] Built target maliitplatforminputcontextplugin Scanning dependencies of target doc [ 58%] Generating API documentation with Doxygen warning: Tag 'COLS_IN_ALPHA_INDEX' at line 65 of file '/home/user/Documents/Build/maliit/framework/build/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 128 of file '/home/user/Documents/Build/maliit/framework/build/Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found sh: 1: dot: not found [ 58%] Built target doc Scanning dependencies of target inputpanel-shell_autogen [ 59%] Automatic MOC for target inputpanel-shell AutoMoc subprocess error ------------------------ The moc process failed to compile "SRC:/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp" into "SRC:/build/inputpanel-shell_autogen/include/inputpanelshellplugin.moc" included by "SRC:/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp" Command ------- /usr/lib/qt5/bin/moc -DHAVE_WAYLAND "-DMALIIT_CONFIG_ROOT=\"/maliit/\"" "-DMALIIT_DEFAULT_HW_PLUGIN=\"libmaliit-keyboard-plugin.so\"" "-DMALIIT_DEFAULT_PLUGIN=\"libmaliit-keyboard-plugin.so\"" "-DMALIIT_DEFAULT_SUBVIEW=\"\"" -DMALIIT_ENABLE_MULTITOUCH=true "-DMALIIT_EXTENSIONS_DIR=\"/usr/local/share/maliit-framework/extensions\"" -DMALIIT_FRAMEWORK_USE_INTERNAL_API "-DMALIIT_PLUGINS_DATA_DIR=\"/usr/local/share/maliit/plugins\"" "-DMALIIT_PLUGINS_DIR=\"/usr/local/lib/maliit/plugins\"" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WAYLANDCLIENT_LIB -Dinputpanel_shell_EXPORTS -I/home/user/Documents/Build/maliit/framework/build -I/home/user/Documents/Build/maliit/framework -I/home/user/Documents/Build/maliit/framework/src -I/home/user/Documents/Build/maliit/framework/common -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient/5.15.2/QtWaylandClient -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /home/user/Documents/Build/maliit/framework/build/inputpanel-shell_autogen/moc_predefs.h --output-dep-file -o /home/user/Documents/Build/maliit/framework/build/inputpanel-shell_autogen/include/inputpanelshellplugin.moc /home/user/Documents/Build/maliit/framework/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp Output ------ /home/user/Documents/Build/maliit/framework/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp:23: Parse error at "IID" make[2]: *** [CMakeFiles/inputpanel-shell_autogen.dir/build.make:77: CMakeFiles/inputpanel-shell_autogen] Error 1 make[1]: *** [CMakeFiles/Makefile2:1055: CMakeFiles/inputpanel-shell_autogen.dir/all] Error 2 make: *** [Makefile:160: all] Error 2 ```

Version Information

baryluk commented 3 years ago

Essentially same issue on Debian testing, amd64:

user@debian:~/framework$ moc --version
moc 5.15.2
$ make

[ 59%] Automatic MOC for target inputpanel-shell

AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp"
into
  "SRC:/build/inputpanel-shell_autogen/include/inputpanelshellplugin.moc"
included by
  "SRC:/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp"

Command
-------
/usr/lib/qt5/bin/moc -DHAVE_WAYLAND "-DMALIIT_CONFIG_ROOT=\"/maliit/\"" "-DMALIIT_DEFAULT_HW_PLUGIN=\"libmaliit-keyboard-plugin.so\"" "-DMALIIT_DEFAULT_PLUGIN=\"libmaliit-keyboard-plugin.so\"" "-DMALIIT_DEFAULT_SUBVIEW=\"\"" -DMALIIT_ENABLE_MULTITOUCH=true "-DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions\"" -DMALIIT_FRAMEWORK_USE_INTERNAL_API "-DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\"" "-DMALIIT_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/maliit/plugins\"" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WAYLANDCLIENT_LIB -Dinputpanel_shell_EXPORTS -I/home/user/framework/build -I/home/user/framework -I/home/user/framework/src -I/home/user/framework/common -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient/5.15.2/QtWaylandClient -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWaylandClient -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include -I/usr/include/c++/10 -I/usr/include/x86_64-linux-gnu/c++/10 -I/usr/include/c++/10/backward -I/usr/lib/gcc/x86_64-linux-gnu/10/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu --include /home/user/framework/build/inputpanel-shell_autogen/moc_predefs.h --output-dep-file -o /home/user/framework/build/inputpanel-shell_autogen/include/inputpanelshellplugin.moc /home/user/framework/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp

Output
------
/home/user/framework/src/qt/plugins/shellintegration/inputpanelshellplugin.cpp:23: Parse error at "IID"

make[2]: *** [CMakeFiles/inputpanel-shell_autogen.dir/build.make:77: CMakeFiles/inputpanel-shell_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:1055: CMakeFiles/inputpanel-shell_autogen.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
$

qt related packages:

user@debian:~/framework/build$ dpkg -l | grep qt
ii  fcitx-frontend-qt5:amd64                                    1.2.5-1+b2                             amd64        Free Chinese Input Toy of X - Qt5 IM Module frontend
ii  fcitx5-config-qt                                            5.0.3-3                                amd64        configuration tool for Fcitx5 (Qt version)
ii  fcitx5-frontend-qt5                                         5.0.3-1                                amd64        IM module for fcitx5
ii  libdbusmenu-qt5-2:amd64                                     0.9.3+16.04.20160218-2+b1              amd64        Qt implementation of the DBusMenu protocol
ii  libfcitx-qt5-1:amd64                                        1.2.5-1+b2                             amd64        Free Chinese Input Toy of X - D-Bus client libraries for Qt5
ii  libfcitx-qt5-data                                           1.2.5-1                                all          Free Chinese Input Toy of X - data files for Qt5 integration
ii  libfcitx5-qt-data                                           5.0.3-1                                all          Qt library and IM module for fcitx5 (data files)
ii  libfcitx5-qt1:amd64                                         5.0.3-1                                amd64        Qt library and IM module for fcitx5
ii  libgnuradio-qtgui3.8.2:amd64                                3.8.2.0-14                             amd64        gnuradio Qt graphical user interface functions
ii  libgsettings-qt1:amd64                                      0.2-4                                  amd64        library to access GSettings from Qt (shared libraries)
ii  libkf5dbusaddons-bin                                        5.78.0-2                               amd64        class library for qtdbus
ii  libkf5dbusaddons-data                                       5.78.0-2                               all          class library for qtdbus
ii  libkf5dbusaddons5:amd64                                     5.78.0-2                               amd64        class library for qtdbus
ii  libphonon4qt5-4:amd64                                       4:4.11.1-4                             amd64        multimedia framework from KDE using Qt 5 - core library
ii  libphonon4qt5-data                                          4:4.11.1-4                             all          multimedia framework from KDE using Qt 5 - core library data
ii  libpolkit-qt5-1-1:amd64                                     0.113.0-1                              amd64        PolicyKit-qt5-1 library
ii  libqscintilla2-qt5-15                                       2.11.6+dfsg-2                          amd64        Qt5 port of the Scintilla source code editing widget
ii  libqscintilla2-qt5-l10n                                     2.11.6+dfsg-2                          all          Scintilla source code editing widget for Qt5, translation files
ii  libqt5charts5:amd64                                         5.15.2-2                               amd64        Qt charts shared library
ii  libqt5charts5-dev:amd64                                     5.15.2-2                               amd64        Qt charts development files
ii  libqt5concurrent5:amd64                                     5.15.2+dfsg-9                          amd64        Qt 5 concurrent module
ii  libqt5core5a:amd64                                          5.15.2+dfsg-9                          amd64        Qt 5 core module
ii  libqt5dbus5:amd64                                           5.15.2+dfsg-9                          amd64        Qt 5 D-Bus module
ii  libqt5designer5:amd64                                       5.15.2-5                               amd64        Qt 5 designer module
ii  libqt5gui5:amd64                                            5.15.2+dfsg-9                          amd64        Qt 5 GUI module
ii  libqt5help5:amd64                                           5.15.2-5                               amd64        Qt 5 help module
ii  libqt5location5:amd64                                       5.15.2+dfsg-2                          amd64        Qt Location module
ii  libqt5multimedia5:amd64                                     5.15.2-3                               amd64        Qt 5 Multimedia module
ii  libqt5multimedia5-plugins:amd64                             5.15.2-3                               amd64        Qt 5 Multimedia module plugins
ii  libqt5multimediagsttools5:amd64                             5.15.2-3                               amd64        GStreamer tools for  Qt 5 Multimedia module
ii  libqt5multimediaquick5:amd64                                5.15.2-3                               amd64        Qt 5 Multimedia Quick module
ii  libqt5multimediawidgets5:amd64                              5.15.2-3                               amd64        Qt 5 Multimedia Widgets module
ii  libqt5network5:amd64                                        5.15.2+dfsg-9                          amd64        Qt 5 network module
ii  libqt5opengl5:amd64                                         5.15.2+dfsg-9                          amd64        Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64                                     5.15.2+dfsg-9                          amd64        Qt 5 OpenGL library development files
ii  libqt5positioning5:amd64                                    5.15.2+dfsg-2                          amd64        Qt Positioning module
ii  libqt5positioningquick5:amd64                               5.15.2+dfsg-2                          amd64        Qt Positioning module - Qt Quick module
ii  libqt5printsupport5:amd64                                   5.15.2+dfsg-9                          amd64        Qt 5 print support module
ii  libqt5qml5:amd64                                            5.15.2+dfsg-6                          amd64        Qt 5 QML module
ii  libqt5qmlmodels5:amd64                                      5.15.2+dfsg-6                          amd64        Qt 5 QML Models library
ii  libqt5qmlworkerscript5:amd64                                5.15.2+dfsg-6                          amd64        Qt 5 QML Worker Script library
ii  libqt5quick5:amd64                                          5.15.2+dfsg-6                          amd64        Qt 5 Quick library
ii  libqt5quickcontrols2-5:amd64                                5.15.2+dfsg-2                          amd64        Qt 5 Quick Controls 2 library
ii  libqt5quickparticles5:amd64                                 5.15.2+dfsg-6                          amd64        Qt 5 Quick particles module
ii  libqt5quickshapes5:amd64                                    5.15.2+dfsg-6                          amd64        Qt 5 Quick Shapes module
ii  libqt5quicktemplates2-5:amd64                               5.15.2+dfsg-2                          amd64        Qt 5 Quick Templates 2 library
ii  libqt5quicktest5:amd64                                      5.15.2+dfsg-6                          amd64        Qt 5 Quick Test library
ii  libqt5quickwidgets5:amd64                                   5.15.2+dfsg-6                          amd64        Qt 5 Quick Widgets library
ii  libqt5script5:amd64                                         5.15.2+dfsg-2                          amd64        Qt 5 script module
ii  libqt5sensors5:amd64                                        5.15.2-2                               amd64        Qt Sensors module
ii  libqt5serialport5:amd64                                     5.15.2-2                               amd64        Qt 5 serial port support
ii  libqt5sql5:amd64                                            5.15.2+dfsg-9                          amd64        Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64                                     5.15.2+dfsg-9                          amd64        Qt 5 SQLite 3 database driver
ii  libqt5svg5:amd64                                            5.15.2-3                               amd64        Qt 5 SVG module
ii  libqt5svg5-dev:amd64                                        5.15.2-3                               amd64        Qt 5 SVG module development files
ii  libqt5test5:amd64                                           5.15.2+dfsg-9                          amd64        Qt 5 test module
ii  libqt5texttospeech5:amd64                                   5.15.2-2                               amd64        Speech library for Qt - libraries
ii  libqt5waylandclient5:amd64                                  5.15.2-3                               amd64        QtWayland client library
ii  libqt5waylandclient5-dev:amd64                              5.15.2-3                               amd64        QtWayland client development files
ii  libqt5waylandcompositor5:amd64                              5.15.2-3                               amd64        QtWayland compositor library
ii  libqt5webchannel5:amd64                                     5.15.2-2                               amd64        Web communication library for Qt
ii  libqt5webengine-data                                        5.15.2+dfsg-3                          all          Web content engine library for Qt - Data
ii  libqt5webenginecore5:amd64                                  5.15.2+dfsg-3                          amd64        Web content engine library for Qt - Core
ii  libqt5webenginewidgets5:amd64                               5.15.2+dfsg-3                          amd64        Web content engine library for Qt - Widget
ii  libqt5webkit5:amd64                                         5.212.0~alpha4-11                      amd64        Web content engine library for Qt
ii  libqt5websockets5:amd64                                     5.15.2-2                               amd64        Qt 5 Web Sockets module
ii  libqt5widgets5:amd64                                        5.15.2+dfsg-9                          amd64        Qt 5 widgets module
ii  libqt5x11extras5:amd64                                      5.15.2-2                               amd64        Qt 5 X11 extras
ii  libqt5x11extras5-dev:amd64                                  5.15.2-2                               amd64        Qt 5 X11 extras development files
ii  libqt5xdg3:amd64                                            3.6.0-1                                amd64        Implementation of the XDG Specifications for Qt (shared lib)
ii  libqt5xdgiconloader3:amd64                                  3.6.0-1                                amd64        Implementation of the XDG Iconloader for Qt (shared lib)
ii  libqt5xml5:amd64                                            5.15.2+dfsg-9                          amd64        Qt 5 XML module
ii  libqt5xmlpatterns5:amd64                                    5.15.2-3                               amd64        Qt 5 XML patterns module
ii  libqwt-qt5-6                                                6.1.4-2                                amd64        Qt widgets library for technical applications (runtime, qt5)
ii  phonon4qt5:amd64                                            4:4.11.1-4                             amd64        multimedia framework from KDE using Qt 5 - metapackage
ii  phonon4qt5-backend-vlc:amd64                                0.11.2-1                               amd64        Phonon4Qt5 VLC backend
ii  pyqt5-dev-tools                                             5.15.2+dfsg-3                          amd64        Development tools for PyQt5
ii  python3-pyqt5                                               5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5
ii  python3-pyqt5.qtmultimedia                                  5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's Multimedia module
ii  python3-pyqt5.qtopengl                                      5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's OpenGL module
ii  python3-pyqt5.qtpositioning                                 5.15.2+dfsg-3                          amd64        Python 3 bindings for QtPositioning module
ii  python3-pyqt5.qtquick                                       5.15.2+dfsg-3                          amd64        Python 3 bindings for QtQuick module
ii  python3-pyqt5.qtsql                                         5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's SQL module
ii  python3-pyqt5.qtsvg                                         5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's SVG module
ii  python3-pyqt5.qtwebchannel                                  5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's WebChannel module
ii  python3-pyqt5.qtwebkit                                      5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's WebKit module
ii  python3-pyqt5.qtwebsockets                                  5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's WebSockets module
ii  python3-pyqt5.qtxmlpatterns                                 5.15.2+dfsg-3                          amd64        Python 3 bindings for Qt5's XmlPatterns module
ii  python3-pyqt5.qwt                                           1.02.02-2                              amd64        Python version of the Qwt6 technical widget library (Python3)
ii  python3-pyqt5.sip                                           12.8.1-1+b2                            amd64        runtime module for Python extensions using SIP
ii  python3-pyqtgraph                                           0.11.1-1                               all          Scientific Graphics and GUI Library for Python 3
ii  python3-qtpy                                                1.9.0-3                                all          abtraction layer for PySide/PyQt4/PyQt5 (Python 3)
ii  qml-module-qt-labs-folderlistmodel:amd64                    5.15.2+dfsg-6                          amd64        Qt 5 folderlistmodel QML module
ii  qml-module-qt-labs-settings:amd64                           5.15.2+dfsg-6                          amd64        Qt 5 settings QML module
ii  qml-module-qtcharts:amd64                                   5.15.2-2                               amd64        Qt charts QML module
ii  qml-module-qtgraphicaleffects:amd64                         5.15.2-2                               amd64        Qt 5 Graphical Effects module
ii  qml-module-qtqml:amd64                                      5.15.2+dfsg-6                          amd64        Qt 5 QtQml QML module
ii  qml-module-qtqml-models2:amd64                              5.15.2+dfsg-6                          amd64        Qt 5 Models2 QML module
ii  qml-module-qtquick-controls:amd64                           5.15.2-2                               amd64        Qt 5 Quick Controls QML module
ii  qml-module-qtquick-controls2:amd64                          5.15.2+dfsg-2                          amd64        Qt 5 Qt Quick Controls 2 QML module
ii  qml-module-qtquick-dialogs:amd64                            5.15.2-2                               amd64        Qt 5 Dialogs QML module
ii  qml-module-qtquick-extras:amd64                             5.15.2-2                               amd64        Qt 5 Quick Extras QML module
ii  qml-module-qtquick-layouts:amd64                            5.15.2+dfsg-6                          amd64        Qt 5 Quick Layouts QML module
ii  qml-module-qtquick-localstorage:amd64                       5.15.2+dfsg-6                          amd64        Qt 5 localstorage QML module
ii  qml-module-qtquick-privatewidgets:amd64                     5.15.2-2                               amd64        Qt 5 Private Widgets QML module
ii  qml-module-qtquick-templates2:amd64                         5.15.2+dfsg-2                          amd64        Qt 5 Qt Quick Templates 2 QML module
ii  qml-module-qtquick-window2:amd64                            5.15.2+dfsg-6                          amd64        Qt 5 window 2 QML module
ii  qml-module-qtquick2:amd64                                   5.15.2+dfsg-6                          amd64        Qt 5 Qt Quick 2 QML module
ii  qt5-gtk-platformtheme:amd64                                 5.15.2+dfsg-9                          amd64        Qt 5 GTK+ 3 platform theme
ii  qt5-qmake:amd64                                             5.15.2+dfsg-9                          amd64        Qt 5 qmake Makefile generator tool
ii  qt5-qmake-bin                                               5.15.2+dfsg-9                          amd64        Qt 5 qmake Makefile generator tool — binary file
ii  qt5-qmltooling-plugins:amd64                                5.15.2+dfsg-6                          amd64        Qt 5 qmltooling plugins
ii  qtbase5-dev:amd64                                           5.15.2+dfsg-9                          amd64        Qt 5 base development files
ii  qtbase5-dev-tools                                           5.15.2+dfsg-9                          amd64        Qt 5 base development programs
ii  qtbase5-private-dev:amd64                                   5.15.2+dfsg-9                          amd64        Qt 5 base private development files
ii  qtchooser                                                   66-2                                   amd64        Wrapper to select between Qt development binary versions
ii  qtdeclarative5-dev:amd64                                    5.15.2+dfsg-6                          amd64        Qt 5 declarative development files
ii  qtdeclarative5-dev-tools                                    5.15.2+dfsg-6                          amd64        Qt 5 declarative development programs
ii  qthid-fcd-controller                                        4.1-5+b1                               amd64        Funcube Dongle controller
ii  qtmultimedia5-dev:amd64                                     5.15.2-3                               amd64        APIs for multimedia functionality - development files
ii  qtspeech5-speechd-plugin:amd64                              5.15.2-2                               amd64        Speech library for Qt - speechd plugin
ii  qttranslations5-l10n                                        5.15.2-2                               all          translations for Qt 5
ii  qtwayland5:amd64                                            5.15.2-3                               amd64        QtWayland platform plugin
ii  qtwayland5-dev-tools                                        5.15.2-3                               amd64        Qt 5 Wayland developer tools
ii  uim-qt5                                                     1:1.8.8-9                              amd64        Universal Input Method - Qt 5.x front end
ii  uim-qt5-immodule:amd64                                      1:1.8.8-9                              amd64        Universal Input Method - Qt 5.x IM module
ii  vlc-plugin-qt:amd64                                         3.0.16-1                               amd64        multimedia player and streamer (Qt plugin)
user@debian:~/framework/build$ 

I had no success with a478e92 (tag 2.0.0) either, because cmake fails with:

-- Found WaylandProtocols: //usr/share/wayland-protocols  
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindQtWaylandScanner.cmake:75 (find_package_handle_standard_args)
  CMakeLists.txt:53 (find_package)

even when I have qtwayland5-dev-tools (5.12.2-3) installed that provide this:

root@debian:~# dpkg -L qtwayland5-dev-tools | grep -i wayland
/usr/lib/qt5/bin/qtwaylandscanner
/usr/share/doc/qtwayland5-dev-tools
/usr/share/doc/qtwayland5-dev-tools/changelog.Debian.gz
/usr/share/doc/qtwayland5-dev-tools/copyright
/usr/lib/x86_64-linux-gnu/qt5/bin/qtwaylandscanner
personalizedrefrigerator commented 3 years ago

I had no success with a478e92 (tag 2.0.0) either, because cmake fails with:

Try adding /usr/lib/x86_64-linux-gnu/qt5/bin/ to $PATH (e.g. echo 'export PATH="$PATH:/usr/lib/x86_64-linux-gnu/qt5/bin/"' >> ~/.profile; source ~/.profile)


My attempt to build `maliit-framework` on Debian stable ```sh apt install build-essential git vim-gtk cmake libgtk-3-dev git clone https://github.com/maliit/framework.git framework cd framework git reset a478e92832a595519d1acca78580789a6c77d972 git add *; git stash mkdir build cd build # Install dependencies suggested by `apt-cache depends maliit-framework` when run # on PoP OS apt install libc6 libdbus-1-3 libqt5core5a libqt5dbus5 libqt5gui5 libqt5quick5 libstdc++6 libqt5core5a # I then installed `extra-cmake-modules`, but it may have been one of its dependencies that satisfied some of the missing cmake dependencies... # libglu1-mesa-dev libjs-underscore libqt5concurrent5 libqt5opengl5 # libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite # libqt5test5 libqt5xml5 libvulkan-dev qt5-default qt5-qmake qt5-qmake-bin # qtbase5-dev qtbase5-dev-tools qtchooser apt install qml-module-qtquick-controls qml-module-qtquick2 # It's probably best not to install qml-module-*... apt install qtwayland5-dev-tools libqt5quickwidgets5 qtwayland5 qml-module-* apt install qtdeclarative5-dev libqt5waylandclient5-dev echo 'export PATH="$PATH:/usr/lib/x86_64-linux-gnu/qt5/bin/"' >> ~/.profile ``` ...which doesn't work because `Qt5WaylandClient` has version 5.11.3 in Debian stable (at the time of this writing), which is below the minimum required 5.14.
techtino commented 3 years ago

Can confirm I'm having this issue on debian also. On my arch install it builds perfectly.

dobey commented 3 years ago

HEAD builds fine here on Debian Testing. However, the tests are broken, and there are several deprecation warnings.

dobey commented 3 years ago

Is this still an issue? It is building fine now with the latest changes that were merged in, for me.

dobey commented 3 years ago

If the original issue is still an issue, please reopen. However, it seems like you are missing the qtwayland5-private-dev package perhaps.