Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69874

Building from sources fails with private/qqmljsgrammar_p.h: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.0 Alpha
    • 5.12.0 Alpha
    • Build System
    • Linux (RHEL 7.4, Ubuntu 16.04), Windows 10, macOS 10.13
    • Linux/X11, macOS, Windows
    • fb02976cbec61b5a3f53b8245e8a9afb4df4fa63

    Description

      Building from sources gives "private/qqmljsgrammar_p.h: No such file or directory" 

      Configure:

      ./configure -confirm-license -nomake tests -nomake examples -qt-libjpeg -qt-libpng -qt-xcb -qt-pcre -openssl -confirm-license -verbose -debug -no-use-gold-linker -skip qtwebengine -skip qtwebsockets -skip qtwebchannel -skip qtwebview -skip qt3d -commercial -prefix /home/qt/RTA/src-5.12/qtbase

      Error when doing 'make':

      12:59:40 g++ -c -pipe -fno-strict-aliasing -g -Og -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMLDEVTOOLS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -I. -I../qml -I../3rdparty/masm/jit -I../3rdparty/masm/assembler -I../3rdparty/masm/runtime -I../3rdparty/masm/wtf -I../3rdparty/masm/stubs -I../3rdparty/masm/stubs/wtf -I../3rdparty/masm -I../3rdparty/masm/disassembler -I../3rdparty/masm/disassembler/udis86 -I../qml/jsruntime -I. -I../qml/compiler -I. -I../qml/memory -I. -I../../include -I/home/qt/RTA/src-5.12/qtbase/include -I../../include/QtQml -I../../include/QtQml/5.12.0 -I../../include/QtQml/5.12.0/QtQml -I/home/qt/RTA/src-5.12/qtbase/include/QtQml -I. -I/home/qt/RTA/src-5.12/qtbase/include/QtCore/5.12.0 -I/home/qt/RTA/src-5.12/qtbase/include/QtCore/5.12.0/QtCore -I/home/qt/RTA/src-5.12/qtbase/include/QtCore -I.moc -I/home/qt/RTA/src-5.12/qtbase/mkspecs/linux-g++ -o .obj/qqmljsparser.o qqmljsparser.cpp
      12:59:40 In file included from ../../include/QtQml/5.12.0/QtQml/private/qqmljslexer_p.h:1:0,
      12:59:40                  from ../qml/parser/qqmljs.g:167:
      12:59:40 ../../include/QtQml/5.12.0/QtQml/private/../../../../../src/qml/parser/qqmljslexer_p.h:55:37: fatal error: private/qqmljsgrammar_p.h: No such file or directory
      12:59:40 compilation terminated.
      12:59:40 Makefile:5383: recipe for target '.obj/qqmljsparser.o' failed
      12:59:40 make[3]: *** [.obj/qqmljsparser.o] Error 1
      12:59:40 make[3]: *** Waiting for unfinished jobs....
      12:59:40 make[3]: Leaving directory '/home/qt/RTA/src-5.12/qtdeclarative/src/qmldevtools'
      12:59:40 Makefile:397: recipe for target 'sub-qmldevtools-make_first-ordered' failed
      12:59:40 make[2]: *** [sub-qmldevtools-make_first-ordered] Error 2
      12:59:40 make[2]: Leaving directory '/home/qt/RTA/src-5.12/qtdeclarative/src'
      12:59:40 Makefile:47: recipe for target 'sub-src-make_first' failed
      12:59:40 make[1]: *** [sub-src-make_first] Error 2
      12:59:40 make[1]: Leaving directory '/home/qt/RTA/src-5.12/qtdeclarative'
      12:59:40 Makefile:354: recipe for target 'module-qtdeclarative-make_first' failed
      12:59:40 make: *** [module-qtdeclarative-make_first] Error 2

      This happens with namespace, insource, shadow, and static builds. On platforms: Linux, Windows, macOS

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              buddenha Oswald Buddenhagen
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes