Bug#951955: grantlee5: FTBFS: c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
Source: grantlee5
Version: 5.1.0-2.1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/textdocument/lib /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/textdocument/lib /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/textdocument/lib/CMakeFiles/Grantlee_TextDocument.dir/DependInfo.cmake --color=
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:925:9: error: no declaration matches ‘QString QStringView::toString() const’
> 925 | QString QStringView::toString() const
> | ^~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:925:9: note: no functions named ‘QString QStringView::toString() const’
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:54,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringview.h:104:7: note: ‘class QStringView’ defined here
> 104 | class QStringView
> | ^~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h: In instantiation of ‘QFlags<T> QFlags<T>::operator|(Enum) const [with Enum = QString::SectionFlag]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1420:1: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:140:108: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
> 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); }
> | ~~~^~~~~~~
> | int
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:975:16: error: no declaration matches ‘QString QString::arg(int, int, int, QChar) const’
> 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:975:16: note: no functions named ‘QString QString::arg(int, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:977:16: error: no declaration matches ‘QString QString::arg(uint, int, int, QChar) const’
> 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:977:16: note: no functions named ‘QString QString::arg(uint, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:979:16: error: no declaration matches ‘QString QString::arg(long int, int, int, QChar) const’
> 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:979:16: note: no functions named ‘QString QString::arg(long int, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:981:16: error: no declaration matches ‘QString QString::arg(ulong, int, int, QChar) const’
> 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:981:16: note: no functions named ‘QString QString::arg(ulong, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:983:16: error: no declaration matches ‘QString QString::arg(short int, int, int, QChar) const’
> 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:983:16: note: no functions named ‘QString QString::arg(short int, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:985:16: error: no declaration matches ‘QString QString::arg(ushort, int, int, QChar) const’
> 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:985:16: note: no functions named ‘QString QString::arg(ushort, int, int, QChar) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:987:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&) const’
> 987 | inline QString QString::arg(const QString &a1, const QString &a2) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:987:16: note: no functions named ‘QString QString::arg(const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:989:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&) const’
> 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:989:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:991:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&) const’
> 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:991:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:994:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const’
> 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:994:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:997:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:997:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1000:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1000:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1004:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1004:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h: In instantiation of ‘QFlags<T> QFlags<T>::operator|(Enum) const [with Enum = QMetaType::TypeFlag]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:765:1: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:140:108: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
> 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); }
> | ~~~^~~~~~~
> | int
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1008:16: error: no declaration matches ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3,
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1008:16: note: no functions named ‘QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1032:16: error: no declaration matches ‘QString QString::fromWCharArray(const wchar_t*, int)’
> 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size)
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1032:16: note: no functions named ‘QString QString::fromWCharArray(const wchar_t*, int)’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1204,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1128:1: error: ‘is_integral’ is not a member of ‘std’
> 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE);
> | ^~~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before ‘>’ token
> 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE);
> | ^~~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1128:1: error: ‘::value’ has not been declared
> 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE);
> | ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1166:17: error: no declaration matches ‘QCharRef QString::front()’
> 1166 | inline QCharRef QString::front() { return operator[](0); }
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1166:17: note: no functions named ‘QCharRef QString::front()’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1167:17: error: no declaration matches ‘QCharRef QString::back()’
> 1167 | inline QCharRef QString::back() { return operator[](size() - 1); }
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1167:17: note: no functions named ‘QCharRef QString::back()’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:218:21: note: ‘class QString’ defined here
> 218 | class Q_CORE_EXPORT QString
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h: In instantiation of ‘QFlags<T>& QFlags<T>::operator|=(Enum) [with Enum = QMetaType::TypeFlag]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1745:15: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::DefinedType]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1777:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::DefinedType]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:2280:1: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:133:93: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
> 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; }
> | ~~~^~~~~~~
> | int
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h: In member function ‘std::string QString::toStdString() const’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1372:10: error: ‘toUtf8’ was not declared in this scope; did you mean ‘fromUtf8’?
> 1372 | { return toUtf8().toStdString(); }
> | ^~~~~~
> | fromUtf8
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h: In static member function ‘static QString QString::fromStdWString(const wstring&)’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1393:10: error: ‘fromWCharArray’ was not declared in this scope; did you mean ‘toWCharArray’?
> 1393 | { return fromWCharArray(s.data(), int(s.size())); }
> | ^~~~~~~~~~~~~~
> | toWCharArray
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1204,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h: At global scope:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1419:1: error: ‘is_integral’ is not a member of ‘std’
> 1419 | Q_DECLARE_SHARED(QString)
> | ^~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before ‘>’ token
> 1419 | Q_DECLARE_SHARED(QString)
> | ^~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1419:1: error: ‘::value’ has not been declared
> 1419 | Q_DECLARE_SHARED(QString)
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:105,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before ‘[’ token
> 1481 | Q_REQUIRED_RESULT QVector<QStringRef> split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts,
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before ‘[’ token
> 1483 | Q_REQUIRED_RESULT QVector<QStringRef> split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts,
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before ‘[’ token
> 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before ‘[’ token
> 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before ‘[’ token
> 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before ‘[’ token
> 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before ‘[’ token
> 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before ‘[’ token
> 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before ‘[’ token
> 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before ‘[’ token
> 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before ‘[’ token
> 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before ‘[’ token
> 1550 | Q_REQUIRED_RESULT QVector<uint> toUcs4() const;
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before ‘[’ token
> 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); }
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before ‘[’ token
> 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); }
> | ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before ‘[’ token
> 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const;
> | ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/myplugin_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1595:31: error: ‘nullptr’ was not declared in this scope
> 1595 | short toShort(bool *ok = nullptr, int base = 10) const;
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1596:32: error: ‘nullptr’ was not declared in this scope
> 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const;
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
> from /<<PKGBUILDDIR>>/templates/tests/pluginpointertest/myobject.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/main_app_autogen/EWIEGA46WW/moc_myobject.cpp:9,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/templates/tests/pluginpointertest/main_app_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h: At global scope:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:65:36: error: expected ‘{’ before ‘;’ token
> 65 | enum class QCborSimpleType : quint8;
> | ^
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ‘;’ token
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1597:26: error: ‘nullptr’ was not declared in this scope
> 1597 | int toInt(bool *ok = nullptr, int base = 10) const;
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:252:53: error: ‘nullptr’ was not declared in this scope
> 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr)
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1598:28: error: ‘nullptr’ was not declared in this scope
> 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const;
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1599:28: error: ‘nullptr’ was not declared in this scope
> 1599 | long toLong(bool *ok = nullptr, int base = 10) const;
> | ^~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:252:74: error: ‘nullptr’ was not declared in this scope
> 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr)
> | ^~~~~~~
> make[3]: *** [templates/tests/CMakeFiles/template_test_builtins.dir/build.make:84: templates/tests/CMakeFiles/template_test_builtins.dir/template_test_builtins_autogen/mocs_compilation.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/grantlee5_5.1.0-2.1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: