Just tried that one. Fails to build...
But since it works for you at least I know it should build. Problem is my system, not the ebuild. That's something.
Code: Select all
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qstringlist.h:41,
from /usr/include/qt5/QtCore/QStringList:1,
from ./model/Model.h:6,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
control/Preferences.cpp:2800:57: warning: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
2800 | QSet<QString> excludedSyncPathsSet = QSet<QString>::fromList(excludedSyncPaths);
| ^~~~~~~~
In file included from /usr/include/qt5/QtCore/QSet:1,
from ./model/Model.h:7,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
| ^~~~~~~
control/Preferences.cpp:2800:65: warning: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
2800 | QSet<QString> excludedSyncPathsSet = QSet<QString>::fromList(excludedSyncPaths);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QSet:1,
from ./model/Model.h:7,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
| ^~~~~~~
control/Preferences.cpp:2801:52: warning: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations]
2801 | excludedSyncPaths = excludedSyncPathsSet.toList();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtCore/QSet:1,
from ./model/Model.h:7,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
265 | QList<T> toList() const { return values(); }
| ^~~~~~
control/Preferences.cpp:2802:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QString>::iterator; LessThan = bool (*)(const QString&, const QString&)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
2802 | qSort(excludedSyncPaths.begin(), excludedSyncPaths.end(), caseInsensitiveLessThan);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qstringlist.h:41,
from /usr/include/qt5/QtCore/QStringList:1,
from ./model/Model.h:6,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
control/Preferences.cpp: In member function ‘void Preferences::readFolders()’:
control/Preferences.cpp:2835:72: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2835 | MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii("Reading invalid Sync Setting!").toUtf8().constData());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeOldCachedSync(int, QString)’:
control/Preferences.cpp:2863:44: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2863 | settings->remove(QString::fromAscii("")); //Remove all previous values
| ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘QList<SyncData> Preferences::readOldCachedSyncs(int*, int*, int*, QString)’:
control/Preferences.cpp:2922:65: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2922 | MegaApi::log(MegaApi::LOG_LEVEL_INFO, QString::fromAscii("Reading old cache sync setting ... ").toUtf8().constData());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp:2926:72: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2926 | MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii(" ... sync configuration rescued from old session. Set as disabled.")
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::saveOldCachedSyncs()’:
control/Preferences.cpp:2969:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2969 | settings->remove(QString::fromAscii("")); //Remove all previous values
| ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeAllSyncSettings()’:
control/Preferences.cpp:2999:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
2999 | settings->remove(QString::fromAscii("")); //removes group and all its settings
| ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeSyncSetting(std::shared_ptr<SyncSetting>)’:
control/Preferences.cpp:3012:66: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
3012 | MegaApi::log(MegaApi::LOG_LEVEL_ERROR, QString::fromAscii("Removing invalid Sync Setting!").toUtf8().constData());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp:3020:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
3020 | settings->remove(QString::fromAscii("")); //removes group and all its settings
| ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::writeSyncSetting(std::shared_ptr<SyncSetting>)’:
control/Preferences.cpp:3047:68: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
3047 | MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii("Writting sync settings before logged in").toUtf8().constData());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from ./model/Model.h:5,
from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
730 | QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
| ^~~~~~~~~
mega/src/megaapi_impl.cpp: In static member function ‘static int mega::MegaHTTPServer::onMessageComplete(http_parser*)’:
mega/src/megaapi_impl.cpp:29309:69: warning: ‘this’ pointer is null [-Wnonnull]
29309 | newParentNode = baseNode ? baseNode->copy() : node->copy();
| ~~~~~~~~~~^~
make[1]: Leaving directory '/var/tmp/portage/net-misc/megasync-4.5.0.0/work/megasync-4.5.0.0/src/MEGASync'
make: *** [Makefile:47: sub-MEGASync-make_first] Error 2
make: Leaving directory '/var/tmp/portage/net-misc/megasync-4.5.0.0/work/megasync-4.5.0.0/src'
* ERROR: net-misc/megasync-4.5.0.0::Skippy failed (compile phase):
* emake failed