<div>Hi all!</div><div>I'm trying to get the latest kdev on my Kubuntu 14.04</div><div>I was following the instructions from TechBase, compiling qt5 and running kdesrc-build.</div><div>The whole thing was building well, except for (such misfortune!) kdevplatform!</div><div>The configuration was done, but while building I got this:</div><div><ol><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">[ 85%] Building CXX object shell/tests/CMakeFiles/test_detectedproblem.dir/test_detectedproblem.cpp.o</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">Building CXX object shell/tests/CMakeFiles/test_checkerstatus.dir/test_checkerstatus.cpp.o</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">[ 85%] Built target test_duchain</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">In file included from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/qbytearray.h:1:0,</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:42,</div></li><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/qstring.h:1,</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:41,</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/qobject.h:1,</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/qt5/qtbase/include/QtCore/QObject:1,</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.h:25,</div></li><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                 from /home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp:22:</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp: In lambda function:</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/qt5/qtbase/include/QtCore/../../src/corelib/tools/qbytearray.h:141:9: error: expected primary-expression before ‘enum’</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         enum { Size = sizeof(str) - 1 }; \</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         ^</div></li><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp:54:23: note: in expansion of macro ‘QByteArrayLiteral’</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         formatComment(QByteArrayLiteral(R"(</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                       ^</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/qt5/qtbase/include/QtCore/../../src/corelib/tools/qbytearray.h:141:9: error: expected ‘;’ before ‘enum’</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         enum { Size = sizeof(str) - 1 }; \</div></li><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         ^</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp:54:23: note: in expansion of macro ‘QByteArrayLiteral’</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">         formatComment(QByteArrayLiteral(R"(</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">                       ^</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp: In member function ‘void TestDUChain::benchFormatComment()’:</div></li><li style="font-weight:bold;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp:62:5: error: expected ‘)’ before ‘}’ token</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">     }</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">     ^</div></li><li style="font-weight:normal;vertical-align:top;"><div style="font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:none;vertical-align:middle;">/home/z/src/kdevelop/kde/src/extragear/kdevelop/kdevplatform/language/duchain/tests/test_stringhelpers.cpp:62:5: error: expected ‘;’ before ‘}’ token</div></li></ol><div>I have checked the KDE CI and kdevplatfor seems to build well.</div><div>Here is the full build log:<a href="https://paste.kde.org/p4kp1bsof"> https://paste.kde.org/p4kp1bsof</a></div></div><div>Any ideas here?</div><div>Thanks in advance for help.</div><div> </div><div>--</div><div>Alexander Zhigalin - <span style="color:#0000ff;">DevOps</span></div><div> </div>