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

QtWebkit fails to compile with bison 3.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0
    • WebKit
    • None
    • Linux, bison 3.0

    Description

      Excerpt from compile:

      g++ -c [...] -o .obj/release-shared/generated/glslang_tab.o generated/glslang_tab.cpp
      generated/glslang_tab.cpp: In function 'int yyparse(TParseContext*)':
      generated/glslang_tab.cpp:1785:30: error: too few arguments to function 'int yylex(YYSTYPE*, void*)'
      yychar = yylex (&yylval);
      ^
      generated/glslang_tab.cpp:279:12: note: declared here
      extern int yylex(YYSTYPE* yylval_param, void* yyscanner);
      ^
      make[3]: *** [.obj/release-shared/generated/glslang_tab.o] Error 1
      make[3]: Leaving directory `/home/zrax/aur/qt5-doc/src/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/ThirdParty/ANGLE'
      make[2]: *** [sub-Target-pri-make_first-ordered] Error 2
      make[2]: Leaving directory `/home/zrax/aur/qt5-doc/src/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/ThirdParty/ANGLE'
      make[1]: *** [sub-Source-ThirdParty-ANGLE-ANGLE-pro-make_first-ordered] Error 2
      make[1]: Leaving directory `/home/zrax/aur/qt5-doc/src/qt-everywhere-opensource-src-5.1.0/qtwebkit'
      make: *** [module-qtwebkit-make_first] Error 2
      ==> ERROR: A failure occurred in build().

      Note that reverting to Bison 2.7.1 causes the compile to succeed.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            zrax Michael Hansen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes