Package: musescore-snapshot
Version: 3.2.s20190704+dfsg1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

musescore-snapshot/experimental recently started to FTBFS, likely due to
some changes in Qt 5.14:


In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3,
                 from all.h:62:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h: In instantiation of 
‘static void QtMetaTypePrivate::QMetaTypeFunctionHelper<T, 
Accepted>::Save(QDataStream&, const void*) [with T = Ms::SessionStart; bool 
Accepted = true]’:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1874:39:   required from 
‘void qRegisterMetaTypeStreamOperators(const char*, T*) [with T = 
Ms::SessionStart]’
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/musescore.cpp:7178:68:   
required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:818:16: error: ambiguous 
overload for ‘operator<<’ (operand types are ‘QDataStream’ and ‘const 
Ms::SessionStart’)
  818 |         stream << *static_cast<const T*>(t);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:60,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3,
                 from all.h:62:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:389:1: note: candidate: 
‘typename std::enable_if<std::is_enum<_Tp>::value, QDataStream&>::type& 
operator<<(QDataStream&, const T&) [with T = Ms::SessionStart; typename 
std::enable_if<std::is_enum<_Tp>::value, QDataStream&>::type = QDataStream&]’
  389 | operator<<(QDataStream &s, const T &t)
      | ^~~~~~~~
In file included from 
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/musescore.cpp:24:
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/preferences.h:376:21: 
note: candidate: ‘QDataStream& Ms::operator<<(QDataStream&, const T&) [with T = 
Ms::SessionStart; typename std::enable_if<std::is_enum<_Tp>::value>::type* 
<anonymous> = 0]’
  376 | inline QDataStream &operator<<(QDataStream &out, const T &val)
      |                     ^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3,
                 from all.h:62:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h: In instantiation of 
‘static void QtMetaTypePrivate::QMetaTypeFunctionHelper<T, 
Accepted>::Load(QDataStream&, void*) [with T = Ms::SessionStart; bool Accepted 
= true]’:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1874:39:   required from 
‘void qRegisterMetaTypeStreamOperators(const char*, T*) [with T = 
Ms::SessionStart]’
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/musescore.cpp:7178:68:   
required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:823:16: error: ambiguous 
overload for ‘operator>>’ (operand types are ‘QDataStream’ and 
‘Ms::SessionStart’)
  823 |         stream >> *static_cast<T*>(t);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:60,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3,
                 from all.h:62:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:394:1: note: candidate: 
‘typename std::enable_if<std::is_enum<_Tp>::value, QDataStream&>::type& 
operator>>(QDataStream&, T&) [with T = Ms::SessionStart; typename 
std::enable_if<std::is_enum<_Tp>::value, QDataStream&>::type = QDataStream&]’
  394 | operator>>(QDataStream &s, T &t)
      | ^~~~~~~~
In file included from 
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/musescore.cpp:24:
/build/musescore-snapshot-3.2.s20190704+dfsg1/mscore/preferences.h:382:21: 
note: candidate: ‘QDataStream& Ms::operator>>(QDataStream&, T&) [with T = 
Ms::SessionStart; typename std::enable_if<std::is_enum<_Tp>::value>::type* 
<anonymous> = 0]’
  382 | inline QDataStream &operator>>(QDataStream &in, T &val)
      |                     ^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54,
                 from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3,
                 from all.h:62:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h: In instantiation of 
‘static void QtMetaTypePrivate::QMetaTypeFunctionHelper<T, 
Accepted>::Save(QDataStream&, const void*) [with T = Ms::MusicxmlExportBreaks; 
bool Accepted = true]’:


Cheers,

Andreas

Attachment: musescore-snapshot_3.2.s20190704+dfsg1-1.log.gz
Description: application/gzip

Reply via email to