= true;
| ^
/usr/include/qt6/QtCore/qvariant.h:102:68: error: ‘QMetaTypeInterface’ in namespace ‘Phonon::Gstreamer::QtPrivate’ does not name a type
102 | static constexpr bool canUseInternalSpace(const QtPrivate::QMetaTypeInterface *type)
| ^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:120:43: error: ‘QMetaTypeInterface’ in namespace ‘Phonon::Gstreamer::QtPrivate’ does not name a type
120 | explicit Private(const QtPrivate::QMetaTypeInterface *iface) noexcept;
| ^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:130:33: error: ‘QMetaTypeInterface’ in namespace ‘Phonon::Gstreamer::QtPrivate’ does not name a type
130 | inline const QtPrivate::QMetaTypeInterface *typeInterface() const
| ^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h: In static member function ‘static constexpr bool Phonon::Gstreamer::QVariant::Private::canUseInternalSpace(const int*)’:
/usr/include/qt6/QtCore/qvariant.h:105:47: error: request for member ‘flags’ in ‘* type’, which is of non-class type ‘const int’
105 | return QMetaType::TypeFlags(type->flags) & QMetaType::RelocatableType &&
| ^~~~~
/usr/include/qt6/QtCore/qvariant.h:106:33: error: request for member ‘size’ in ‘* type’, which is of non-class type ‘const int’
106 | size_t(type->size) <= MaxInternalSize && size_t(type->alignment) <= alignof(double);
| ^~~~
/usr/include/qt6/QtCore/qvariant.h:106:74: error: request for member ‘alignment’ in ‘* type’, which is of non-class type ‘const int’
106 | size_t(type->size) <= MaxInternalSize && size_t(type->alignment) <= alignof(double);
| ^~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h: In member function ‘QMetaType Phonon::Gstreamer::QVariant::Private::type() const’:
/usr/include/qt6/QtCore/qvariant.h:137:30: error: ‘typeInterface’ was not declared in this scope
137 | return QMetaType(typeInterface());
| ^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h: In function ‘Phonon::Gstreamer::QDataStream& Phonon::Gstreamer::operator>>(QDataStream&, QVariant::Type&)’:
/usr/include/qt6/QtCore/qvariant.h:716:10: error: invalid conversion from ‘quint32’ {aka ‘unsigned int’} to ‘Phonon::Gstreamer::QVariant::Type’ [-fpermissive]
716 | s >> u;
| ^
| |
| quint32 {aka unsigned int}
/usr/include/qt6/QtCore/qvariant.h:713:64: note: initializing argument 2 of ‘Phonon::Gstreamer::QDataStream& Phonon::Gstreamer::operator>>(QDataStream&, QVariant::Type&)’
713 | inline QDataStream &operator>>(QDataStream &s, QVariant::Type &p)
| ~~~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qvariant.h:716:10: error: cannot bind rvalue ‘(Phonon::Gstreamer::QVariant::Type)u’ to ‘Phonon::Gstreamer::QVariant::Type&’
716 | s >> u;
| ^
In file included from /builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:22:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h: At global scope:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:27:14: error: invalid use of incomplete type ‘class QObject’
27 | : public QObject
| ^~~~~~~
In file included from /usr/include/qt6/QtCore/qglobal.h:43,
from /usr/include/qt6/QtCore/qiodevicebase.h:7,
from /usr/include/qt6/QtCore/qtextstream.h:7:
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: forward declaration of ‘class QObject’
81 | class QObject;
| ^~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:41:29: error: invalid use of incomplete type ‘class QIODevice’
41 | class NoDebugStream: public QIODevice
| ^~~~~~~~~
/usr/include/qt6/QtCore/qtextstream.h:25:7: note: forward declaration of ‘class QIODevice’
25 | class QIODevice;
| ^~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:46:10: error: ‘bool NoDebugStream::isSequential() const’ marked ‘override’, but does not override
46 | bool isSequential() const Q_DECL_OVERRIDE { return true; }
| ^~~~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:47:12: error: ‘qint64 NoDebugStream::readData(char*, qint64)’ marked ‘override’, but does not override
47 | qint64 readData(char *, qint64) Q_DECL_OVERRIDE { return 0; /* eof */ }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:48:12: error: ‘qint64 NoDebugStream::readLineData(char*, qint64)’ marked ‘override’, but does not override
48 | qint64 readLineData(char *, qint64) Q_DECL_OVERRIDE { return 0; /* eof */ }
| ^~~~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:49:12: error: ‘qint64 NoDebugStream::writeData(const char*, qint64)’ marked ‘override’, but does not override
49 | qint64 writeData(const char *, qint64 len) Q_DECL_OVERRIDE { return len; }
| ^~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h: In constructor ‘NoDebugStream::NoDebugStream()’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:45:28: error: ‘WriteOnly’ was not declared in this scope
45 | NoDebugStream() { open(WriteOnly); }
| ^~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:45:23: error: ‘open’ was not declared in this scope; did you mean ‘popen’?
45 | NoDebugStream() { open(WriteOnly); }
| ^~~~
| popen
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h: In function ‘QDebug nullDebug()’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:54:27: error: no matching function for call to ‘QDebug::QDebug(NoDebugStream*)’
54 | return QDebug(&devnull);
| ^
/usr/include/qt6/QtCore/qdebug.h:77:5: note: candidate: ‘QDebug::QDebug(QDebug&&)’
77 | QDebug(QDebug &&other) noexcept : stream{std::exchange(other.stream, nullptr)} {}
| ^~~~~~
/usr/include/qt6/QtCore/qdebug.h:77:21: note: no known conversion for argument 1 from ‘NoDebugStream*’ to ‘QDebug&&’
77 | QDebug(QDebug &&other) noexcept : stream{std::exchange(other.stream, nullptr)} {}
| ~~~~~~~~~^~~~~
/usr/include/qt6/QtCore/qdebug.h:76:5: note: candidate: ‘QDebug::QDebug(const QDebug&)’
76 | QDebug(const QDebug &o) : stream(o.stream) { ++stream->ref; }
| ^~~~~~
/usr/include/qt6/QtCore/qdebug.h:76:26: note: no known conversion for argument 1 from ‘NoDebugStream*’ to ‘const QDebug&’
76 | QDebug(const QDebug &o) : stream(o.stream) { ++stream->ref; }
| ~~~~~~~~~~~~~~^
/usr/include/qt6/QtCore/qdebug.h:75:14: note: candidate: ‘QDebug::QDebug(QtMsgType)’
75 | explicit QDebug(QtMsgType t) : stream(new Stream(t)) {}
| ^~~~~~
/usr/include/qt6/QtCore/qdebug.h:75:31: note: no known conversion for argument 1 from ‘NoDebugStream*’ to ‘QtMsgType’
75 | explicit QDebug(QtMsgType t) : stream(new Stream(t)) {}
| ~~~~~~~~~~^
/usr/include/qt6/QtCore/qdebug.h:74:14: note: candidate: ‘QDebug::QDebug(QString*)’
74 | explicit QDebug(QString *string) : stream(new Stream(string)) {}
| ^~~~~~
/usr/include/qt6/QtCore/qdebug.h:74:30: note: no known conversion for argument 1 from ‘NoDebugStream*’ to ‘QString*’
74 | explicit QDebug(QString *string) : stream(new Stream(string)) {}
| ~~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qdebug.h:73:14: note: candidate: ‘QDebug::QDebug(QIODevice*)’
73 | explicit QDebug(QIODevice *device) : stream(new Stream(device)) {}
| ^~~~~~
/usr/include/qt6/QtCore/qdebug.h:73:32: note: no known conversion for argument 1 from ‘NoDebugStream*’ to ‘QIODevice*’
73 | explicit QDebug(QIODevice *device) : stream(new Stream(device)) {}
| ~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt6/QtCore/qcoreapplication.h:11,
from /usr/include/qt6/QtWidgets/qapplication.h:8,
from /usr/include/qt6/QtWidgets/QApplication:1,
from /builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:26:
/usr/include/qt6/QtCore/qeventloop.h: At global scope:
/usr/include/qt6/QtCore/qeventloop.h:14:41: error: invalid use of incomplete type ‘class QObject’
14 | class Q_CORE_EXPORT QEventLoop : public QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: forward declaration of ‘class QObject’
81 | class QObject;
| ^~~~~~~
/usr/include/qt6/QtCore/qeventloop.h:45:10: error: ‘bool QEventLoop::event(QEvent*)’ marked ‘override’, but does not override
45 | bool event(QEvent *event) override;
| ^~~~~
In file included from /usr/include/qt6/QtCore/qassert.h:7:
/usr/include/qt6/QtCore/qeventloop.h: In member function ‘QEventLoopPrivate* QEventLoop::d_func()’:
/usr/include/qt6/QtCore/qeventloop.h:17:5: error: ‘d_ptr’ was not declared in this scope
17 | Q_DECLARE_PRIVATE(QEventLoop)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qeventloop.h: In member function ‘const QEventLoopPrivate* QEventLoop::d_func() const’:
/usr/include/qt6/QtCore/qeventloop.h:17:5: error: ‘d_ptr’ was not declared in this scope
17 | Q_DECLARE_PRIVATE(QEventLoop)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qeventloop.h: At global scope:
/usr/include/qt6/QtCore/qeventloop.h:61:69: error: expected ‘)’ before ‘*’ token
61 | Q_NODISCARD_CTOR Q_CORE_EXPORT explicit QEventLoopLocker(QThread *thread) noexcept;
| ~ ^~
| )
/usr/include/qt6/QtCore/qcoreapplication.h:45:14: error: invalid use of incomplete type ‘class QObject’
45 | : public QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: forward declaration of ‘class QObject’
81 | class QObject;
| ^~~~~~~
/usr/include/qt6/QtCore/qcoreapplication.h:200:10: error: ‘bool QCoreApplication::event(QEvent*)’ marked ‘override’, but does not override
200 | bool event(QEvent *) override;
| ^~~~~
/usr/include/qt6/QtCore/qcoreapplication.h: In member function ‘QCoreApplicationPrivate* QCoreApplication::d_func()’:
/usr/include/qt6/QtCore/qcoreapplication.h:61:5: error: ‘d_ptr’ was not declared in this scope
61 | Q_DECLARE_PRIVATE(QCoreApplication)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qcoreapplication.h: In member function ‘const QCoreApplicationPrivate* QCoreApplication::d_func() const’:
/usr/include/qt6/QtCore/qcoreapplication.h:61:5: error: ‘d_ptr’ was not declared in this scope
61 | Q_DECLARE_PRIVATE(QCoreApplication)
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/qapplication.h:10:
/usr/include/qt6/QtCore/qpoint.h: In function ‘constexpr decltype(auto) get(P&&)’:
/usr/include/qt6/QtCore/qpoint.h:98:20: error: ‘q23’ has not been declared
98 | return q23::forward_like(p.xp);
| ^~~
/usr/include/qt6/QtCore/qpoint.h:98:39: error: expected primary-expression before ‘>’ token
98 | return q23::forward_like
(p.xp);
| ^
/usr/include/qt6/QtCore/qpoint.h:100:20: error: ‘q23’ has not been declared
100 | return q23::forward_like
(p.yp);
| ^~~
/usr/include/qt6/QtCore/qpoint.h:100:39: error: expected primary-expression before ‘>’ token
100 | return q23::forward_like
(p.yp);
| ^
/usr/include/qt6/QtCore/qpoint.h: In function ‘constexpr decltype(auto) get(P&&)’:
/usr/include/qt6/QtCore/qpoint.h:295:20: error: ‘q23’ has not been declared
295 | return q23::forward_like
(p.xp);
| ^~~
/usr/include/qt6/QtCore/qpoint.h:295:39: error: expected primary-expression before ‘>’ token
295 | return q23::forward_like
(p.xp);
| ^
/usr/include/qt6/QtCore/qpoint.h:297:20: error: ‘q23’ has not been declared
297 | return q23::forward_like
(p.yp);
| ^~~
/usr/include/qt6/QtCore/qpoint.h:297:39: error: expected primary-expression before ‘>’ token
297 | return q23::forward_like
(p.yp);
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/effect.cpp: In member function ‘virtual void Phonon::Gstreamer::Effect::setupEffectParams()’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/effect.cpp:106:30: error: use of deleted function ‘QVariant::QVariant(T) [with T = char*; typename std::enable_if, std::is_member_pointer<_Tp> >, bool>::type = false]’
106 | 0));
| ^
In file included from /usr/include/qt6/QtCore/QVariant:1,
from /usr/include/phonon4qt6/phonon/effectparameter.h:29,
from /builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/effect.h:23,
from /builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/effect.cpp:18:
/usr/include/qt6/QtCore/qvariant.h:312:5: note: declared here
312 | QVariant(T) = delete;
| ^~~~~~~~
In file included from /usr/include/qt6/QtCore/qsize.h:9,
from /usr/include/qt6/QtWidgets/qapplication.h:11:
/usr/include/qt6/QtCore/qmargins.h: In function ‘constexpr decltype(auto) get(M&&)’:
/usr/include/qt6/QtCore/qmargins.h:78:20: error: ‘q23’ has not been declared
78 | return q23::forward_like(m.m_left);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:78:39: error: expected primary-expression before ‘>’ token
78 | return q23::forward_like(m.m_left);
| ^
/usr/include/qt6/QtCore/qmargins.h:80:20: error: ‘q23’ has not been declared
80 | return q23::forward_like(m.m_top);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:80:39: error: expected primary-expression before ‘>’ token
80 | return q23::forward_like(m.m_top);
| ^
/usr/include/qt6/QtCore/qmargins.h:82:20: error: ‘q23’ has not been declared
82 | return q23::forward_like(m.m_right);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:82:39: error: expected primary-expression before ‘>’ token
82 | return q23::forward_like(m.m_right);
| ^
/usr/include/qt6/QtCore/qmargins.h:84:20: error: ‘q23’ has not been declared
84 | return q23::forward_like(m.m_bottom);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:84:39: error: expected primary-expression before ‘>’ token
84 | return q23::forward_like(m.m_bottom);
| ^
/usr/include/qt6/QtCore/qmargins.h: In function ‘constexpr decltype(auto) get(M&&)’:
/usr/include/qt6/QtCore/qmargins.h:327:20: error: ‘q23’ has not been declared
327 | return q23::forward_like(m.m_left);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:327:39: error: expected primary-expression before ‘>’ token
327 | return q23::forward_like(m.m_left);
| ^
/usr/include/qt6/QtCore/qmargins.h:329:20: error: ‘q23’ has not been declared
329 | return q23::forward_like(m.m_top);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:329:39: error: expected primary-expression before ‘>’ token
329 | return q23::forward_like(m.m_top);
| ^
/usr/include/qt6/QtCore/qmargins.h:331:20: error: ‘q23’ has not been declared
331 | return q23::forward_like(m.m_right);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:331:39: error: expected primary-expression before ‘>’ token
331 | return q23::forward_like(m.m_right);
| ^
/usr/include/qt6/QtCore/qmargins.h:333:20: error: ‘q23’ has not been declared
333 | return q23::forward_like(m.m_bottom);
| ^~~
/usr/include/qt6/QtCore/qmargins.h:333:39: error: expected primary-expression before ‘>’ token
333 | return q23::forward_like(m.m_bottom);
| ^
/usr/include/qt6/QtCore/qsize.h: In function ‘constexpr decltype(auto) get(S&&)’:
/usr/include/qt6/QtCore/qsize.h:95:20: error: ‘q23’ has not been declared
95 | return q23::forward_like(s.wd);
| ^~~
/usr/include/qt6/QtCore/qsize.h:95:39: error: expected primary-expression before ‘>’ token
95 | return q23::forward_like(s.wd);
| ^
/usr/include/qt6/QtCore/qsize.h:97:20: error: ‘q23’ has not been declared
97 | return q23::forward_like(s.ht);
| ^~~
/usr/include/qt6/QtCore/qsize.h:97:39: error: expected primary-expression before ‘>’ token
97 | return q23::forward_like(s.ht);
| ^
/usr/include/qt6/QtCore/qsize.h: In function ‘constexpr decltype(auto) get(S&&)’:
/usr/include/qt6/QtCore/qsize.h:284:20: error: ‘q23’ has not been declared
284 | return q23::forward_like(s.wd);
| ^~~
/usr/include/qt6/QtCore/qsize.h:284:39: error: expected primary-expression before ‘>’ token
284 | return q23::forward_like(s.wd);
| ^
/usr/include/qt6/QtCore/qsize.h:286:20: error: ‘q23’ has not been declared
286 | return q23::forward_like(s.ht);
| ^~~
/usr/include/qt6/QtCore/qsize.h:286:39: error: expected primary-expression before ‘>’ token
286 | return q23::forward_like(s.ht);
| ^
In file included from /usr/include/qt6/QtGui/qguiapplication.h:10,
from /usr/include/qt6/QtWidgets/qapplication.h:13:
/usr/include/qt6/QtGui/qinputmethod.h: At global scope:
/usr/include/qt6/QtGui/qinputmethod.h:18:42: error: invalid use of incomplete type ‘class QObject’
18 | class Q_GUI_EXPORT QInputMethod : public QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: forward declaration of ‘class QObject’
81 | class QObject;
| ^~~~~~~
/usr/include/qt6/QtGui/qinputmethod.h: In member function ‘QInputMethodPrivate* QInputMethod::d_func()’:
/usr/include/qt6/QtGui/qinputmethod.h:21:5: error: ‘d_ptr’ was not declared in this scope
21 | Q_DECLARE_PRIVATE(QInputMethod)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/qinputmethod.h: In member function ‘const QInputMethodPrivate* QInputMethod::d_func() const’:
/usr/include/qt6/QtGui/qinputmethod.h:21:5: error: ‘d_ptr’ was not declared in this scope
21 | Q_DECLARE_PRIVATE(QInputMethod)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/qguiapplication.h: At global scope:
/usr/include/qt6/QtGui/qguiapplication.h:165:10: error: ‘bool QGuiApplication::event(QEvent*)’ marked ‘override’, but does not override
165 | bool event(QEvent *) override;
| ^~~~~
/usr/include/qt6/QtGui/qguiapplication.h: In member function ‘QGuiApplicationPrivate* QGuiApplication::d_func()’:
/usr/include/qt6/QtGui/qguiapplication.h:172:5: error: ‘d_ptr’ was not declared in this scope
172 | Q_DECLARE_PRIVATE(QGuiApplication)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/qguiapplication.h: In member function ‘const QGuiApplicationPrivate* QGuiApplication::d_func() const’:
/usr/include/qt6/QtGui/qguiapplication.h:172:5: error: ‘d_ptr’ was not declared in this scope
172 | Q_DECLARE_PRIVATE(QGuiApplication)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qapplication.h: At global scope:
/usr/include/qt6/QtWidgets/qapplication.h:142:10: error: ‘bool QApplication::event(QEvent*)’ marked ‘override’, but does not override
142 | bool event(QEvent *) override;
| ^~~~~
/usr/include/qt6/QtWidgets/qapplication.h: In member function ‘QApplicationPrivate* QApplication::d_func()’:
/usr/include/qt6/QtWidgets/qapplication.h:147:5: error: ‘d_ptr’ was not declared in this scope
147 | Q_DECLARE_PRIVATE(QApplication)
| ^~~~~~~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qapplication.h: In member function ‘const QApplicationPrivate* QApplication::d_func() const’:
/usr/include/qt6/QtWidgets/qapplication.h:147:5: error: ‘d_ptr’ was not declared in this scope
147 | Q_DECLARE_PRIVATE(QApplication)
| ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp: At global scope:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:40:49: error: ‘Recursive’ is not a member of ‘QMutex’
40 | QMutex Phonon::Gstreamer::Debug::mutex( QMutex::Recursive );
| ^~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:48:29: error: expected constructor, destructor, or type conversion before ‘(’ token
48 | IndentPrivate::IndentPrivate(QObject* parent)
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp: In static member function ‘static IndentPrivate* IndentPrivate::instance()’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:5: error: reference to ‘QObject’ is ambiguous
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^~~~~~~
/usr/include/qt6/QtCore/qobject.h:89:21: note: candidates are: ‘class Phonon::Gstreamer::QObject’
89 | class Q_CORE_EXPORT QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: ‘class QObject’
81 | class QObject;
| ^~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:14: error: ‘qOApp’ was not declared in this scope; did you mean ‘qApp’?
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^~~~~
| qApp
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:39: error: reference to ‘QObject’ is ambiguous
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^~~~~~~
/usr/include/qt6/QtCore/qobject.h:89:21: note: candidates are: ‘class Phonon::Gstreamer::QObject’
89 | class Q_CORE_EXPORT QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: ‘class QObject’
81 | class QObject;
| ^~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:46: error: expected ‘>’ before ‘*’ token
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:46: error: expected ‘(’ before ‘*’ token
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^
| (
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:47: error: expected primary-expression before ‘>’ token
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:61:54: error: expected ‘)’ before ‘;’ token
61 | QObject* qOApp = reinterpret_cast(qApp);
| ^
| )
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:62:5: error: reference to ‘QObject’ is ambiguous
62 | QObject* obj = qOApp ? qOApp->findChild( DEBUG_INDENT_OBJECTNAME ) : 0;
| ^~~~~~~
/usr/include/qt6/QtCore/qobject.h:89:21: note: candidates are: ‘class Phonon::Gstreamer::QObject’
89 | class Q_CORE_EXPORT QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: ‘class QObject’
81 | class QObject;
| ^~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:62:14: error: ‘obj’ was not declared in this scope
62 | QObject* obj = qOApp ? qOApp->findChild( DEBUG_INDENT_OBJECTNAME ) : 0;
| ^~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:62:45: error: reference to ‘QObject’ is ambiguous
62 | QObject* obj = qOApp ? qOApp->findChild( DEBUG_INDENT_OBJECTNAME ) : 0;
| ^~~~~~~
/usr/include/qt6/QtCore/qobject.h:89:21: note: candidates are: ‘class Phonon::Gstreamer::QObject’
89 | class Q_CORE_EXPORT QObject
| ^~~~~~~
/usr/include/qt6/QtCore/qtclasshelpermacros.h:81:7: note: ‘class QObject’
81 | class QObject;
| ^~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:62:53: error: expected primary-expression before ‘>’ token
62 | QObject* obj = qOApp ? qOApp->findChild( DEBUG_INDENT_OBJECTNAME ) : 0;
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:63:80: error: no matching function for call to ‘IndentPrivate::IndentPrivate(QApplication*)’
63 | return (obj ? static_cast( obj ) : new IndentPrivate( qApp ));
| ^
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:30:14: note: candidate: ‘IndentPrivate::IndentPrivate(QObject*)’
30 | explicit IndentPrivate(QObject* parent = 0);
| ^~~~~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:30:37: note: no known conversion for argument 1 from ‘QApplication*’ to ‘QObject*’
30 | explicit IndentPrivate(QObject* parent = 0);
| ~~~~~~~~~^~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:26:7: note: candidate: ‘IndentPrivate::IndentPrivate(const IndentPrivate&)’
26 | class IndentPrivate
| ^~~~~~~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:26:7: note: no known conversion for argument 1 from ‘QApplication*’ to ‘const IndentPrivate&’
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:26:7: note: candidate: ‘IndentPrivate::IndentPrivate(IndentPrivate&&)’
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug_p.h:26:7: note: no known conversion for argument 1 from ‘QApplication*’ to ‘IndentPrivate&&’
In file included from /usr/include/qt6/QtCore/qdebug.h:14:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp: In function ‘QDebug Phonon::Gstreamer::Debug::dbgstream(DebugLevel)’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:160:36: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
160 | return QDebug( QtDebugMsg ) << qPrintable( text );
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp: In constructor ‘Phonon::Gstreamer::Debug::Block::Block(const char*)’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:190:12: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
190 | << qPrintable( colorize( QLatin1String( "BEGIN:" ), m_color ) )
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp: In destructor ‘Phonon::Gstreamer::Debug::Block::~Block()’:
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:215:16: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
215 | << qPrintable( colorize( QLatin1String( "END__:" ), m_color ) )
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:217:16: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
217 | << qPrintable( colorize( QString( "[Took: %3s]")
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:223:16: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
223 | << qPrintable( colorize( QString( "END__:" ), m_color ) )
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/gstreamer/debug.cpp:225:16: error: ‘asString’ is not a member of ‘Phonon::Gstreamer::QtPrivate’; did you mean ‘QtPrivate::asString’?
225 | << qPrintable( reverseColorize( QString( "[DELAY Took (quite long) %3s]")
| ^~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:1385:18: note: ‘QtPrivate::asString’ declared here
1385 | inline QString &&asString(QString &&s) { return std::move(s); }
| ^~~~~~~~
gmake[2]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/build.make:163: gstreamer/CMakeFiles/phonon_gstreamer.dir/debug.cpp.o] Error 1
gmake[2]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/build.make:191: gstreamer/CMakeFiles/phonon_gstreamer.dir/effect.cpp.o] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/phononqt6/redhat-linux-build'
gmake[1]: Leaving directory '/builddir/build/BUILD/phonon-gstreamer-2bfadef4a93205faddf03d3ac77657f11f920172/phononqt6/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:1968: gstreamer/CMakeFiles/phonon_gstreamer.dir/all] Error 2
gmake: *** [Makefile:139: all] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.VLodCL (%build)
Bad exit status from /var/tmp/rpm-tmp.VLodCL (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e90fb0ac231c426293d567a98f59c889 -D /var/lib/mock/group_kdesig-plasma-6-unstable_fedora-rawhide-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ic548jl_:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/phonon-backend-gstreamer.spec\'\n', 1)]
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
result = func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status
raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed:
# /usr/bin/systemd-nspawn -q -M e90fb0ac231c426293d567a98f59c889 -D /var/lib/mock/group_kdesig-plasma-6-unstable_fedora-rawhide-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ic548jl_:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/phonon-backend-gstreamer.spec'