HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of sys-devel/bison/2.4.1/1


Ignore:
Timestamp:
12/14/08 22:53:14 (7 years ago)
Author:
scottmc
Comment:

initial build of 2.4.1

Legend:

Unmodified
Added
Removed
Modified
  • sys-devel/bison/2.4.1/1

    v1 v2  
     1 Used patch for 2.4, the config.charset part is no longer needed as it was applied upstream. 
    12  
     3 * ./configure --prefix=/boot/common --disable-nls 
     4 * make 
     5 * make install 
     6 
     7 * make check: 
     8 
     9{{{ 
     10## --------------------------- ## 
     11## GNU Bison 2.4.1 test suite. ## 
     12## --------------------------- ## 
     13 
     14Input Processing. 
     15 
     16  1: Invalid $n and @n                               ok 
     17  2: Type Clashes                                    ok 
     18  3: Unused values                                   ok 
     19  4: Unused values before symbol declarations        ok 
     20  5: Default %printer and %destructor redeclared     ok 
     21  6: Per-type %printer and %destructor redeclared    ok 
     22  7: Unused values with default %destructor          ok 
     23  8: Unused values with per-type %destructor         ok 
     24  9: Incompatible Aliases                            ok 
     25 10: Torturing the Scanner                           ok 
     26 11: Typed symbol aliases                            ok 
     27 12: Require 1.0                                     ok 
     28 13: Require 2.4.1                                   ok 
     29 14: Require 100.0                                   ok 
     30 15: String aliases for character tokens             ok 
     31 16: Unclosed constructs                             ok 
     32 17: %start after first rule                         ok 
     33 18: %prec takes a token                             ok 
     34 19: Reject unused %code qualifiers                  ok 
     35 20: %define errors                                  ok 
     36 21: %define Boolean variables                       ok 
     37 22: %define enum variables                          ok 
     38 23: Unused %define api.pure                         ok 
     39 24: C++ namespace reference errors                  ok 
     40 
     41Output file names. 
     42 
     43 25: Output files:  -dv                              ok 
     44 26: Output files:  -dv >&-                          ok 
     45 27: Output files:  -dv -o foo.c                     ok 
     46 28: Output files:  -dv -o foo.tab.c                 ok 
     47 29: Output files:  -dv -y                           ok 
     48 30: Output files:  -dv -b bar                       ok 
     49 31: Output files:  -dv -g -o foo.c                  ok 
     50 32: Output files: %defines %verbose                 ok 
     51 33: Output files: %defines %verbose %yacc           ok 
     52 34: Output files: %defines %verbose %yacc           ok 
     53 35: Output files: %file-prefix "bar" %defines %verbose   ok 
     54 36: Output files: %output="bar.c" %defines %verbose %yacc   ok 
     55 37: Output files: %file-prefix="baz" %output "bar.c" %defines %verbose %yacc   ok 
     56 38: Output files: %defines %verbose                 ok 
     57 39: Output files: %defines %verbose  -o foo.c       ok 
     58 40: Output files:  --defines=foo.hpp -o foo.c++     ok 
     59 41: Output files: %defines "foo.hpp" -o foo.c++     ok 
     60 42: Output files:  -o foo.c++ --graph=foo.gph       ok 
     61 43: Output files: %skeleton "lalr1.cc" %defines %verbose   ok 
     62 44: Output files: %skeleton "lalr1.cc" %defines %verbose   ok 
     63 45: Output files: %skeleton "lalr1.cc" %defines %verbose -o subdir/foo.cc  ok 
     64 46: Output files: %skeleton "lalr1.cc" %defines %verbose %file-prefix "output_dir/foo"   ok 
     65 47: Conflicting output files:  --graph="foo.tab.c"  ok 
     66 48: Conflicting output files: %defines "foo.output" -v ok 
     67 49: Conflicting output files: %skeleton "lalr1.cc" %defines --graph="location.hh" ok 
     68 50: Conflicting output files:  -o foo.y             ok 
     69 51: Output file name: `~!@#$%^&*()-=_+{}[]|\:;<>, .' ok 
     70 52: Output file name: (                             ok 
     71 53: Output file name: )                             ok 
     72 54: Output file name: #                             ok 
     73 55: Output file name: @@                            ok 
     74 56: Output file name: @{                            ok 
     75 57: Output file name: @}                            ok 
     76 58: Output file name: [                             ok 
     77 59: Output file name: ]                             ok 
     78 
     79Skeleton Support. 
     80 
     81 60: Relative skeleton file names                    ok 
     82 61: Installed skeleton file names                   ok 
     83 62: %define Boolean variables: invalid skeleton defaults ok 
     84 63: Complaining during macro argument expansion     ok 
     85 64: Fatal errors make M4 exit immediately           ok 
     86 
     87Grammar Sets (Firsts etc.). 
     88 
     89 65: Nullable                                        ok 
     90 66: Broken Closure                                  ok 
     91 67: Firsts                                          ok 
     92 68: Accept                                          ok 
     93 
     94Grammar Reduction. 
     95 
     96 69: Useless Terminals                               ok 
     97 70: Useless Nonterminals                            ok 
     98 71: Useless Rules                                   ok 
     99 72: Reduced Automaton                               ok 
     100 73: Underivable Rules                               ok 
     101 74: Empty Language                                  ok 
     102 
     103User Actions. 
     104 
     105 75: Prologue synch line                             skipped (synclines.at:83) 
     106 76: %union synch line                               skipped (synclines.at:100) 
     107 77: Postprologue synch line                         skipped (synclines.at:120) 
     108 78: Action synch line                               skipped (synclines.at:143) 
     109 79: Epilogue synch line                             skipped (synclines.at:162) 
     110 
     111Parser Headers. 
     112 
     113 80: %union and --defines                            ok 
     114 81: Invalid CPP guards: input/input                 ok 
     115 82: Invalid CPP guards: 9foo                        ok 
     116 83: export YYLTYPE                                  ok 
     117 
     118User Actions. 
     119 
     120 84: Mid-rule actions                                ok 
     121 85: Exotic Dollars                                  ok 
     122 86: Printers and Destructors :                      ok 
     123 87: Printers and Destructors with union:            ok 
     124 88: Printers and Destructors : %defines %skeleton "lalr1.cc" FAILED (actions.at:577) 
     125 89: Printers and Destructors with union: %defines %skeleton "lalr1.cc" FAILED (actions.at:578) 
     126 90: Printers and Destructors : %glr-parser          ok 
     127 91: Printers and Destructors with union: %glr-parser ok 
     128 92: Default tagless %printer and %destructor        ok 
     129 93: Default tagged and per-type %printer and %destructor ok 
     130 94: Default %printer and %destructor for user-defined end token ok 
     131 95: Default %printer and %destructor are not for error or $undefined ok 
     132 96: Default %printer and %destructor are not for $accept ok 
     133 97: Default %printer and %destructor for mid-rule values ok 
     134 98: @$ in %initial-action implies %locations        ok 
     135 99: @$ in %destructor implies %locations            ok 
     136100: @$ in %printer implies %locations               ok 
     137 
     138Conflicts. 
     139 
     140101: S/R in initial                                  ok 
     141102: %nonassoc and eof                               ok 
     142103: Unresolved SR Conflicts                         ok 
     143104: Resolved SR Conflicts                           ok 
     144105: Defaulted Conflicted Reduction                  ok 
     145106: %expect not enough                              ok 
     146107: %expect right                                   ok 
     147108: %expect too much                                ok 
     148109: %expect with reduce conflicts                   ok 
     149110: %no-default-prec without %prec                  ok 
     150111: %no-default-prec with %prec                     ok 
     151112: %default-prec                                   ok 
     152113: Unreachable States After Conflict Resolution    ok 
     153114: Solved conflicts report for multiple reductions in a state ok 
     154115: %nonassoc error actions for multiple reductions in a state ok 
     155 
     156Simple LALR(1) Calculator. 
     157 
     158116: Calculator                                      ok 
     159117: Calculator %defines                             ok 
     160118: Calculator %locations                           ok 
     161119: Calculator %name-prefix="calc"                  ok 
     162120: Calculator %verbose                             ok 
     163121: Calculator %yacc                                ok 
     164122: Calculator %error-verbose                       ok 
     165123: Calculator %define api.pure %locations          ok 
     166124: Calculator %define api.push_pull "both" %define api.pure %locations ok 
     167125: Calculator %error-verbose %locations            ok 
     168126: Calculator %error-verbose %locations %defines %name-prefix "calc" %verbose %yacc ok 
     169127: Calculator %debug                               ok 
     170128: Calculator %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok 
     171129: Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok 
     172130: Calculator %define api.push_pull "both" %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok 
     173131: Calculator %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok 
     174 
     175Simple GLR Calculator. 
     176 
     177132: Calculator %glr-parser                          ok 
     178133: Calculator %glr-parser %defines                 ok 
     179134: Calculator %glr-parser %locations               ok 
     180135: Calculator %glr-parser %name-prefix "calc"      ok 
     181136: Calculator %glr-parser %verbose                 ok 
     182137: Calculator %glr-parser %yacc                    ok 
     183138: Calculator %glr-parser %error-verbose           ok 
     184139: Calculator %glr-parser %define api.pure %locations ok 
     185140: Calculator %glr-parser %error-verbose %locations ok 
     186141: Calculator %glr-parser %error-verbose %locations %defines %name-prefix "calc" %verbose %yacc ok 
     187142: Calculator %glr-parser %debug                   ok 
     188143: Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok 
     189144: Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc ok 
     190145: Calculator %glr-parser %define api.pure %error-verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok 
     191 
     192Simple LALR(1) C++ Calculator. 
     193 
     194146: Calculator %skeleton "lalr1.cc" %defines %locations FAILED (calc.at:636) 
     195147: Calculator %language "C++" %defines %locations  ok 
     196148: Calculator %language "C++" %defines %locations %error-verbose %name-prefix "calc" %verbose %yacc ok 
     197149: Calculator %language "C++" %defines %locations %error-verbose %debug %name-prefix "calc" %verbose %yacc ok 
     198150: Calculator %language "C++" %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc ok 
     199151: Calculator %language "C++" %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok 
     200 
     201Simple GLR C++ Calculator. 
     202 
     203152: Calculator %skeleton "glr.cc" %defines %locations FAILED (calc.at:663) 
     204153: Calculator %language "C++" %glr-parser %defines %locations  ok 
     205154: Calculator %language "C++" %glr-parser %defines %locations %error-verbose %name-prefix "calc" %verbose %yacc ok 
     206155: Calculator %language "C++" %glr-parser %defines %locations %debug ok 
     207156: Calculator %language "C++" %glr-parser %defines %locations %error-verbose %debug %name-prefix "calc" %verbose %yacc ok 
     208157: Calculator %language "C++" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc ok 
     209158: Calculator %language "C++" %glr-parser %defines %locations %pure-parser %error-verbose %debug %name-prefix "calc" %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count} ok 
     210 
     211Torture Tests. 
     212 
     213159: Big triangle                                    ok 
     214160: Big horizontal                                  ok 
     215161: Many lookahead tokens                           ok 
     216162: Exploding the Stack Size with Alloca            ok 
     217163: Exploding the Stack Size with Malloc            ok 
     218 
     219Existing Grammars. 
     220 
     221164: GNU AWK Grammar                                 ok 
     222165: GNU Cim Grammar                                 ok 
     223166: GNU pic Grammar                                 ok 
     224 
     225Regression tests. 
     226 
     227167: Trivial grammars                                ok 
     228168: YYSTYPE typedef                                 ok 
     229169: Early token definitions with --yacc             ok 
     230170: Early token definitions without --yacc          ok 
     231171: Braces parsing                                  ok 
     232172: Duplicate string                                ok 
     233173: Rule Line Numbers                               ok 
     234174: Mixing %token styles                            ok 
     235175: Invalid inputs                                  ok 
     236176: Invalid inputs with {}                          ok 
     237177: Token definitions                               ok 
     238178: Characters Escapes                              ok 
     239179: Web2c Report                                    ok 
     240180: Web2c Actions                                   ok 
     241181: Dancer                                          ok 
     242182: Dancer %glr-parser                              ok 
     243183: Dancer %skeleton "lalr1.cc"                     FAILED (regression.at:956) 
     244184: Expecting two tokens                            ok 
     245185: Expecting two tokens %glr-parser                ok 
     246186: Expecting two tokens %skeleton "lalr1.cc"       FAILED (regression.at:1056) 
     247187: Braced code in declaration in rules section     ok 
     248188: String alias declared after use                 ok 
     249189: Extra lookahead sets in report                  ok 
     250190: Token number in precedence declaration          ok 
     251191: Fix user actions without a trailing semicolon   ok 
     252 
     253C++ Features. 
     254 
     255192: Doxygen Public Documentation                    skipped (c++.at:100) 
     256193: Doxygen Private Documentation                   skipped (c++.at:101) 
     257194: Relative namespace references                   ok 
     258195: Absolute namespace references                   FAILED (c++.at:166) 
     259196: Syntactically invalid namespace references      ok 
     260 
     261Java Calculator. 
     262 
     263197: Calculator                                      skipped (java.at:385) 
     264198: Calculator %error-verbose                       skipped (java.at:385) 
     265199: Calculator %locations                           skipped (java.at:385) 
     266200: Calculator %error-verbose %locations            skipped (java.at:385) 
     267201: Calculator %lex-param { InputStream is }        skipped (java.at:394) 
     268202: Calculator %error-verbose %lex-param { InputStream is }  skipped (java.at:394) 
     269203: Calculator %locations %lex-param { InputStream is }  skipped (java.at:394) 
     270204: Calculator %error-verbose %locations %lex-param { InputStream is }  skipped (java.at:394) 
     271 
     272Java Parameters. 
     273 
     274205: Java parser class and package names             skipped (java.at:482) 
     275206: Java parser class modifiers                     skipped (java.at:503) 
     276207: Java parser class extends and implements        skipped (java.at:561) 
     277208: Java %parse-param and %lex-param                skipped (java.at:581) 
     278209: Java throws specifications                      skipped (java.at:713) 
     279210: Java stype, position_class and location_class   skipped (java.at:744) 
     280 
     281C++ Type Syntax (GLR). 
     282 
     283211: GLR: Resolve ambiguity, impure, no locations    ok 
     284212: GLR: Resolve ambiguity, impure, locations       ok 
     285213: GLR: Resolve ambiguity, pure, no locations      ok 
     286214: GLR: Resolve ambiguity, pure, locations         ok 
     287215: GLR: Merge conflicting parses, impure, no locations ok 
     288216: GLR: Merge conflicting parses, impure, locations ok 
     289217: GLR: Merge conflicting parses, pure, no locations ok 
     290218: GLR: Merge conflicting parses, pure, locations  ok 
     291219: GLR: Verbose messages, resolve ambiguity, impure, no locations ok 
     292 
     293GLR Regression Tests 
     294 
     295220: Badly Collapsed GLR States                      ok 
     296221: Improper handling of embedded actions and dollar(-N) in GLR parsers ok 
     297222: Improper merging of GLR delayed action sets     ok 
     298223: Duplicate representation of merged trees        ok 
     299224: User destructor for unresolved GLR semantic value ok 
     300225: User destructor after an error during a split parse ok 
     301226: Duplicated user destructor for lookahead        ok 
     302227: Incorrectly initialized location for empty right-hand side in GLR ok 
     303228: No users destructors if stack 0 deleted         ok 
     304229: Corrupted semantic options if user action cuts parse ok 
     305230: Undesirable destructors if user action cuts parse ok 
     306231: Leaked semantic values if user action cuts parse ok 
     307232: Incorrect lookahead during deterministic GLR    ok 
     308233: Incorrect lookahead during nondeterministic GLR ok 
     309234: Leaked semantic values when reporting ambiguity ok 
     310235: Leaked lookahead after nondeterministic parse syntax error ok 
     311236: Uninitialized location when reporting ambiguity ok 
     312237: Missed %merge type warnings when LHS type is declared later ok 
     313 
     314Push Parsing Tests 
     315 
     316238: Push Parsing: Memory Leak for Early Deletion    ok 
     317239: Push Parsing: Multiple impure instances         ok 
     318240: Push Parsing: Unsupported Skeletons             ok 
     319 
     320## ------------- ## 
     321## Test results. ## 
     322## ------------- ## 
     323 
     324ERROR: 219 tests were run, 
     3257 failed unexpectedly. 
     32621 tests were skipped. 
     327## -------------------------- ## 
     328## testsuite.log was created. ## 
     329## -------------------------- ## 
     330 
     331Please send `tests/testsuite.log' and all information you think might help: 
     332 
     333   To: <bug-bison@gnu.org> 
     334   Subject: [GNU Bison 2.4.1] testsuite: 88 89 146 152 183 186 195 failed 
     335 
     336 
     337You may investigate any problem if you feel able to do so, in which 
     338case the test suite provides a good starting point.  Its output may 
     339be found below `tests/testsuite.dir'. 
     340 
     341make[3]: *** [check-local] Error 1 
     342make[3]: Leaving directory `/boot/home/bison-2.4/tests' 
     343make[2]: *** [check-am] Error 2 
     344make[2]: Leaving directory `/boot/home/bison-2.4/tests' 
     345make[1]: *** [check-recursive] Error 1 
     346make[1]: Leaving directory `/boot/home/bison-2.4' 
     347make: *** [check] Error 2 
     348~/bison-2.4>  
     349}}} 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/