[MacPorts] #39923: webkit-gtk @2.04: build failure with bison @3.0_0

MacPorts noreply at macports.org
Wed Jul 31 22:49:34 PDT 2013


#39923: webkit-gtk @2.04: build failure with bison @3.0_0
-------------------------+------------------------
  Reporter:  istlota@…   |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  webkit-gtk  |
-------------------------+------------------------
Changes (by devans@…):

 * cc: mww@… (added)


Comment:

 Here's at least part of the problem:

 Excerpt from bison 3.0 NEWS file:


 {{{
 ** Backward incompatible changes

 *** Obsolete features

   '''Support for YYLEX_PARAM and YYPARSE_PARAM is removed''' (deprecated
 in Bison
   1.875): use %lex-param, %parse-param, or %param.

 }}}

 Grep shows:


 {{{
 webkitgtk-2.0.4 devans$ grep -R YYLEX_PARAM *
 DerivedSources/ANGLE/glslang_tab.cpp:#define YYLEX_PARAM context->scanner
 Source/ThirdParty/ANGLE/src/compiler/glslang.y:#define YYLEX_PARAM
 context->scanner
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#ifdef
 YYLEX_PARAM
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#
 define YYLEX yylex (&yylval, YYLEX_PARAM)

 webkitgtk-2.0.4 devans$ grep -R YYPARSE_PARAM *
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#ifdef
 YYPARSE_PARAM
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:int
 yyparse (void *YYPARSE_PARAM);
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#else
 /* ! YYPARSE_PARAM */
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#endif
 /* ! YYPARSE_PARAM */
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#ifdef
 YYPARSE_PARAM
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:yyparse
 (void *YYPARSE_PARAM)
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:yyparse
 (YYPARSE_PARAM)
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:
 void *YYPARSE_PARAM;
 Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp:#else
 /* ! YYPARSE_PARAM */
 }}}

 This code is from the Google ANGLE Project. Perhaps it would be expedient
 to revert bison to its pre-3.0 version until this is ironed out upstream.

-- 
Ticket URL: <https://trac.macports.org/ticket/39923#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list