Compiling Qt 5.6.1 on CentOS 6/7 fails with Yarr errors



  • Hi,

    Please can you help me out? Nothing complicated - just ./configure & gmake inside devtoolset-6.

    Tested with CentOS 6.8 and 7.5.

    What I've got after gmake:
    ^~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp:827:5: error: ‘CharacterClassConstructor’ does not name a type
    CharacterClassConstructor m_characterClassConstructor;
    ^~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In constructor ‘JSC::Yarr::YarrPatternConstructor::YarrPatternConstructor(JSC::Yarr::YarrPattern&)’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:276:11: error: class ‘JSC::Yarr::YarrPatternConstructor’ does not have any field named ‘m_characterClassConstructor’
    , m_characterClassConstructor(pattern.m_ignoreCase)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::reset()’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:292:9: error: ‘m_characterClassConstructor’ was not declared in this scope
    m_characterClassConstructor.reset();
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::atomPatternCharacter(UChar)’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:333:9: error: ‘m_characterClassConstructor’ was not declared in this scope
    m_characterClassConstructor.putUnicodeIgnoreCase(ch, info);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::atomCharacterClassAtom(UChar)’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:364:9: error: ‘m_characterClassConstructor’ was not declared in this scope
    m_characterClassConstructor.putChar(ch);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::atomCharacterClassRange(UChar, UChar)’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:369:9: error: ‘m_characterClassConstructor’ was not declared in this scope
    m_characterClassConstructor.putRange(begin, end);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::atomCharacterClassBuiltIn(JSC::Yarr::BuiltInCharacterClassID, bool)’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:378:13: error: ‘m_characterClassConstructor’ was not declared in this scope
    m_characterClassConstructor.append(invert ? m_pattern.nondigitsCharacterClass() : m_pattern.digitsCharacterClass());
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../3rdparty/masm/yarr/YarrPattern.cpp: In member function ‘void JSC::Yarr::YarrPatternConstructor::atomCharacterClassEnd()’:
    ../3rdparty/masm/yarr/YarrPattern.cpp:396:52: error: ‘m_characterClassConstructor’ was not declared in this scope
    OwnPtr<CharacterClass> newCharacterClass = m_characterClassConstructor.charClass();
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    Makefile:22412: recipe for target '.obj/YarrPattern.o' failed
    gmake[3]: *** [.obj/YarrPattern.o] Error 1
    gmake[3]: Leaving directory '/disk1/bbuild/tarballs/qt-everywhere-opensource-src-5.6.1/qtdeclarative/src/qml'
    Makefile:49: recipe for target 'sub-qml-make_first-ordered' failed
    gmake[2]: *** [sub-qml-make_first-ordered] Error 2
    gmake[2]: Leaving directory '/disk1/bbuild/tarballs/qt-everywhere-opensource-src-5.6.1/qtdeclarative/src'
    Makefile:45: recipe for target 'sub-src-make_first' failed
    gmake[1]: *** [sub-src-make_first] Error 2
    gmake[1]: Leaving directory '/disk1/bbuild/tarballs/qt-everywhere-opensource-src-5.6.1/qtdeclarative'
    Makefile:324: recipe for target 'module-qtdeclarative-make_first' failed
    gmake: *** [module-qtdeclarative-make_first] Error 2

    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.