accumulator / Quickddit

Reddit client for Jolla's SailfishOS, Ubuntu Touch and Nokia N9
GNU General Public License v3.0
53 stars 21 forks source link

Ubuntu Touch clickable build issue. #68

Closed Hacker1245 closed 4 years ago

Hacker1245 commented 4 years ago
[kacper@kacper-pc Quickddit]$ clickable -c ubuntu-touch/clickable.json
Info: creating stash file /home/kacper/Quickddit/build/arm-linux-gnueabihf/app/.qmake.stash
WARNING: Failure to find: ../qt-json/json.cpp
WARNING: Failure to find: ../qt-json/json.h
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o main.o ../../../ubuntu-touch/main.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o aboutmultiredditmanager.o ../../../src/aboutmultiredditmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o aboutsubredditmanager.o ../../../src/aboutsubredditmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o abstractlistmodelmanager.o ../../../src/abstractlistmodelmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o abstractmanager.o ../../../src/abstractmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o apirequest.o ../../../src/apirequest.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o appsettings.o ../../../src/appsettings.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o commentmanager.o ../../../src/commentmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o commentmodel.o ../../../src/commentmodel.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o commentobject.o ../../../src/commentobject.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o flairmanager.o ../../../src/flairmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o imgurmanager.o ../../../src/imgurmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o inboxmanager.o ../../../src/inboxmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o linkmanager.o ../../../src/linkmanager.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o linkmodel.o ../../../src/linkmodel.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -fPIC -DVERSION=5.1 -DQT_DEPRECATED_WARNINGS -DQ_OS_UBUNTU -DAPP_VERSION=\"1.9.9\" -DQT_NO_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../ubuntu-touch -I. -I../../../../Quickddit -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuickControls2 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o linkobject.o ../../../src/linkobject.cpp
../../../src/aboutmultiredditmanager.cpp:22:26: fatal error: qt-json/json.h: No such file or directory
compilation terminated.
Makefile:1036: recipe for target 'aboutmultiredditmanager.o' failed
make: *** [aboutmultiredditmanager.o] Error 1
make: *** Waiting for unfinished jobs....
../../../src/commentmodel.cpp: In member function 'void CommentModel::changeLinkLikes(const QString&, int)':
../../../src/commentmodel.cpp:316:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
     if (!m_link.type() == QVariant::Map) {
                        ^
../../../src/commentmodel.cpp:316:24: warning: comparison of constant '8u' with boolean expression is always false [-Wbool-compare]
../../../src/commentmodel.cpp: In member function 'void CommentModel::changeLinkSaved(const QString&, bool)':
../../../src/commentmodel.cpp:336:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
     if (!m_link.type() == QVariant::Map) {
                        ^
../../../src/commentmodel.cpp:336:24: warning: comparison of constant '8u' with boolean expression is always false [-Wbool-compare]
../../../src/commentmodel.cpp: In member function 'void CommentModel::moreComments(int, const QVariant&)':
../../../src/commentmodel.cpp:563:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
     if (!m_link.type() == QVariant::Map) {
                        ^
../../../src/commentmodel.cpp:563:24: warning: comparison of constant '8u' with boolean expression is always false [-Wbool-compare]
Command exited with non-zero exit status 2, see above for details. This is most likely not a problem with Clickable.

Not sure if that is the right place for this.

dano6 commented 4 years ago

Not sure if that is the right place for this.

Of course it is.

You need to pull all subprojects before (qt-json and youtube-dl). Try to run command

git submodule update --init --recursive

Maybe we should make it more clear

Hacker1245 commented 4 years ago

Not sure if that is the right place for this.

Of course it is.

You need to pull all subprojects before (qt-json and youtube-dl). Try to run command

git submodule update --init --recursive

Maybe we should make it more clear

This worked. Also yes, I think it should be more clear.