Opened 11 days ago

Closed 8 days ago

#70239 closed defect (fixed)

ngs @0.2.16: syntax.leg: error: too few arguments to function ‘yyPush’

Reported by: barracuda156 Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: haspatch Cc:
Port: ngs peg

Description

[ 73%] Building C object CMakeFiles/ngs.dir/debug.c.o
/usr/bin/gcc-4.2 -DHAVE_EXECINFO_H -DHAVE_POLL_H -DNGS_STUPID_MALLOC_AFTER_FORK -D_BSD_SOURCE -D_DARWIN_C_SOURCE=1 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16 -I/opt/local/include -I/opt/homebrew/include -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -MD -MT CMakeFiles/ngs.dir/debug.c.o -MF CMakeFiles/ngs.dir/debug.c.o.d -o CMakeFiles/ngs.dir/debug.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/debug.c
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/ngs.c:12:
syntax.leg:10: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
syntax.leg: In function ‘yy_unquoted_basic_command_word’:
syntax.leg:360: error: too few arguments to function ‘yyPush’
syntax.leg:361: error: too few arguments to function ‘yySet’
syntax.leg:379: error: too few arguments to function ‘yySet’
syntax.leg:380: error: too few arguments to function ‘yySet’
syntax.leg:402: error: too few arguments to function ‘yySet’
syntax.leg:403: error: too few arguments to function ‘yySet’
syntax.leg:409: error: too few arguments to function ‘yyPop’
syntax.leg:414: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_command_word’:
syntax.leg:428: error: too few arguments to function ‘yyPush’
syntax.leg:430: error: too few arguments to function ‘yySet’
syntax.leg:431: error: too few arguments to function ‘yySet’
syntax.leg:432: error: too few arguments to function ‘yySet’
syntax.leg:437: error: too few arguments to function ‘yyPop’
syntax.leg:442: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_command_redirect’:
syntax.leg:446: error: too few arguments to function ‘yyPush’
syntax.leg:447: error: too few arguments to function ‘yySet’
syntax.leg:447: error: too few arguments to function ‘yySet’
syntax.leg:451: error: too few arguments to function ‘yySet’
syntax.leg:453: error: too few arguments to function ‘yyPop’
syntax.leg:458: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_command_option’:
syntax.leg:462: error: too few arguments to function ‘yyPush’
syntax.leg:463: error: too few arguments to function ‘yySet’
syntax.leg:464: error: too few arguments to function ‘yySet’
syntax.leg:469: error: too few arguments to function ‘yyPop’
syntax.leg:474: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_command_words’:
syntax.leg:478: error: too few arguments to function ‘yyPush’
syntax.leg:479: error: too few arguments to function ‘yySet’
syntax.leg:481: error: too few arguments to function ‘yySet’
syntax.leg:509: error: too few arguments to function ‘yyPop’
syntax.leg:514: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_commands_pipeline_option’:
syntax.leg:540: error: too few arguments to function ‘yyPush’
syntax.leg:541: error: too few arguments to function ‘yySet’
syntax.leg:542: error: too few arguments to function ‘yySet’
syntax.leg:547: error: too few arguments to function ‘yyPop’
syntax.leg:552: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_collector_init’:
syntax.leg:590: error: too few arguments to function ‘yyPush’
syntax.leg:592: error: too few arguments to function ‘yySet’
syntax.leg:597: error: too few arguments to function ‘yyPop’
syntax.leg:602: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_string_dq_dollar_expansion’:
syntax.leg:694: error: too few arguments to function ‘yyPush’
syntax.leg:696: error: too few arguments to function ‘yySet’
syntax.leg:697: error: too few arguments to function ‘yySet’
syntax.leg:698: error: too few arguments to function ‘yySet’
syntax.leg:699: error: too few arguments to function ‘yySet’
syntax.leg:700: error: too few arguments to function ‘yySet’
syntax.leg:704: error: too few arguments to function ‘yyPop’
syntax.leg:709: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_string_dq’:
syntax.leg:798: error: too few arguments to function ‘yyPush’
syntax.leg:799: error: too few arguments to function ‘yySet’
syntax.leg:810: error: too few arguments to function ‘yyPop’
syntax.leg:815: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_string_sq’:
syntax.leg:819: error: too few arguments to function ‘yyPush’
syntax.leg:820: error: too few arguments to function ‘yySet’
syntax.leg:830: error: too few arguments to function ‘yyPop’
syntax.leg:835: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_var_scope_declaration_item_optional_value’:
syntax.leg:839: error: too few arguments to function ‘yyPush’
syntax.leg:849: error: too few arguments to function ‘yySet’
syntax.leg:854: error: too few arguments to function ‘yyPop’
syntax.leg:859: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_var_scope_declaration_item’:
syntax.leg:863: error: too few arguments to function ‘yyPush’
syntax.leg:864: error: too few arguments to function ‘yySet’
syntax.leg:864: error: too few arguments to function ‘yySet’
syntax.leg:866: error: too few arguments to function ‘yyPop’
syntax.leg:871: error: too few arguments to function ‘yyPop’
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c: In function ‘vm_init’:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:3705: error: #pragma GCC diagnostic not allowed inside functions
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:3707: error: #pragma GCC diagnostic not allowed inside functions
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:3709: error: #pragma GCC diagnostic not allowed inside functions
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:3711: error: #pragma GCC diagnostic not allowed inside functions
syntax.leg: In function ‘yy_if_optional_else_block’:
syntax.leg:980: error: too few arguments to function ‘yyPush’
syntax.leg:998: error: too few arguments to function ‘yySet’
syntax.leg:1003: error: too few arguments to function ‘yyPop’
syntax.leg:1008: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_for_in’:
syntax.leg:1038: error: too few arguments to function ‘yyPush’
syntax.leg:1043: error: too few arguments to function ‘yySet’
syntax.leg:1043: error: too few arguments to function ‘yySet’
syntax.leg:1047: error: too few arguments to function ‘yySet’
syntax.leg:1049: error: too few arguments to function ‘yyPop’
syntax.leg:1054: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_for_start_cond_incr’:
syntax.leg:1058: error: too few arguments to function ‘yyPush’
syntax.leg:1063: error: too few arguments to function ‘yySet’
syntax.leg:1067: error: too few arguments to function ‘yySet’
syntax.leg:1075: error: too few arguments to function ‘yySet’
syntax.leg:1083: error: too few arguments to function ‘yySet’
syntax.leg:1085: error: too few arguments to function ‘yyPop’
syntax.leg:1090: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_for_i_n’:
syntax.leg:1094: error: too few arguments to function ‘yyPush’
syntax.leg:1103: error: too few arguments to function ‘yySet’
syntax.leg:1111: error: too few arguments to function ‘yySet’
syntax.leg:1119: error: too few arguments to function ‘yySet’
syntax.leg:1121: error: too few arguments to function ‘yyPop’
[ 80%] Building C object CMakeFiles/ngs.dir/malloc.c.o
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:3713: error: #pragma GCC diagnostic not allowed inside functions
/usr/bin/gcc-4.2 -DHAVE_EXECINFO_H -DHAVE_POLL_H -DNGS_STUPID_MALLOC_AFTER_FORK -D_BSD_SOURCE -D_DARWIN_C_SOURCE=1 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16 -I/opt/local/include -I/opt/homebrew/include -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -MD -MT CMakeFiles/ngs.dir/malloc.c.o -MF CMakeFiles/ngs.dir/malloc.c.o.d -o CMakeFiles/ngs.dir/malloc.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/malloc.c
syntax.leg:1126: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_hash_command_word’:
syntax.leg:1140: error: too few arguments to function ‘yyPush’
syntax.leg:1146: error: too few arguments to function ‘yySet’
syntax.leg:1150: error: too few arguments to function ‘yyPop’
syntax.leg:1155: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_imm_hash_words’:
syntax.leg:1159: error: too few arguments to function ‘yyPush’
syntax.leg:1160: error: too few arguments to function ‘yySet’
syntax.leg:1174: error: too few arguments to function ‘yyPop’
syntax.leg:1179: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_hash_item’:
syntax.leg:1183: error: too few arguments to function ‘yyPush’
syntax.leg:1189: error: too few arguments to function ‘yySet’
syntax.leg:1190: error: too few arguments to function ‘yySet’
syntax.leg:1198: error: too few arguments to function ‘yySet’
syntax.leg:1202: error: too few arguments to function ‘yyPop’
syntax.leg:1207: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_hash_items’:
syntax.leg:1221: error: too few arguments to function ‘yyPush’
syntax.leg:1222: error: too few arguments to function ‘yySet’
syntax.leg:1228: error: too few arguments to function ‘yyPop’
syntax.leg:1233: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_imm_array_words’:
syntax.leg:1263: error: too few arguments to function ‘yyPush’
syntax.leg:1264: error: too few arguments to function ‘yySet’
syntax.leg:1278: error: too few arguments to function ‘yyPop’
syntax.leg:1283: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_array_item’:
syntax.leg:1287: error: too few arguments to function ‘yyPush’
syntax.leg:1293: error: too few arguments to function ‘yySet’
syntax.leg:1298: error: too few arguments to function ‘yyPop’
syntax.leg:1303: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_array_items’:
syntax.leg:1317: error: too few arguments to function ‘yyPush’
syntax.leg:1318: error: too few arguments to function ‘yySet’
syntax.leg:1324: error: too few arguments to function ‘yyPop’
syntax.leg:1329: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_call_argument’:
syntax.leg:1343: error: too few arguments to function ‘yyPush’
syntax.leg:1345: error: too few arguments to function ‘yySet’
syntax.leg:1353: error: too few arguments to function ‘yySet’
syntax.leg:1358: error: too few arguments to function ‘yySet’
syntax.leg:1363: error: too few arguments to function ‘yySet’
syntax.leg:1364: error: too few arguments to function ‘yySet’
syntax.leg:1368: error: too few arguments to function ‘yyPop’
syntax.leg:1373: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_call_external_argument’:
syntax.leg:1377: error: too few arguments to function ‘yyPush’
syntax.leg:1383: error: too few arguments to function ‘yySet’
syntax.leg:1384: error: too few arguments to function ‘yySet’
syntax.leg:1392: error: too few arguments to function ‘yySet’
syntax.leg:1396: error: too few arguments to function ‘yyPop’
syntax.leg:1401: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_call_arguments_without_parens’:
syntax.leg:1405: error: too few arguments to function ‘yyPush’
syntax.leg:1406: error: too few arguments to function ‘yySet’
syntax.leg:1408: error: too few arguments to function ‘yySet’
syntax.leg:1410: error: too few arguments to function ‘yySet’
syntax.leg:1416: error: too few arguments to function ‘yyPop’
syntax.leg:1421: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_doc_lines’:
syntax.leg:1435: error: too few arguments to function ‘yyPush’
syntax.leg:1436: error: too few arguments to function ‘yySet’
syntax.leg:1436: error: too few arguments to function ‘yySet’
syntax.leg:1438: error: too few arguments to function ‘yySet’
syntax.leg:1442: error: too few arguments to function ‘yyPop’
syntax.leg:1447: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_doc_line’:
syntax.leg:1451: error: too few arguments to function ‘yyPush’
syntax.leg:1457: error: too few arguments to function ‘yySet’
syntax.leg:1466: error: too few arguments to function ‘yySet’
syntax.leg:1466: error: too few arguments to function ‘yySet’
syntax.leg:1471: error: too few arguments to function ‘yySet’
syntax.leg:1484: error: too few arguments to function ‘yyPop’
syntax.leg:1489: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_namespace_optional_parameters’:
syntax.leg:1549: error: too few arguments to function ‘yyPush’
syntax.leg:1559: error: too few arguments to function ‘yySet’
syntax.leg:1568: error: too few arguments to function ‘yyPop’
syntax.leg:1573: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition_default_value’:
syntax.leg:1577: error: too few arguments to function ‘yyPush’
syntax.leg:1587: error: too few arguments to function ‘yySet’
syntax.leg:1592: error: too few arguments to function ‘yyPop’
syntax.leg:1597: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition_parameter_type’:
syntax.leg:1601: error: too few arguments to function ‘yyPush’
syntax.leg:1611: error: too few arguments to function ‘yySet’
syntax.leg:1616: error: too few arguments to function ‘yyPop’
syntax.leg:1621: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition_parameter’:
syntax.leg:1625: error: too few arguments to function ‘yyPush’
syntax.leg:1631: error: too few arguments to function ‘yySet’
syntax.leg:1636: error: too few arguments to function ‘yySet’
syntax.leg:1637: error: too few arguments to function ‘yySet’
syntax.leg:1637: error: too few arguments to function ‘yySet’
syntax.leg:1637: error: too few arguments to function ‘yySet’
syntax.leg:1641: error: too few arguments to function ‘yyPop’
syntax.leg:1646: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition_parameters’:
syntax.leg:1660: error: too few arguments to function ‘yyPush’
syntax.leg:1661: error: too few arguments to function ‘yySet’
syntax.leg:1663: error: too few arguments to function ‘yySet’
syntax.leg:1665: error: too few arguments to function ‘yySet’
syntax.leg:1671: error: too few arguments to function ‘yyPop’
syntax.leg:1676: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition_name’:
syntax.leg:1680: error: too few arguments to function ‘yyPush’
syntax.leg:1687: error: too few arguments to function ‘yySet’
syntax.leg:1741: error: too few arguments to function ‘yyPop’
syntax.leg:1746: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_optional_doc’:
syntax.leg:1750: error: too few arguments to function ‘yyPush’
syntax.leg:1752: error: too few arguments to function ‘yySet’
syntax.leg:1757: error: too few arguments to function ‘yyPop’
syntax.leg:1762: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_tree_literal’:
syntax.leg:1766: error: too few arguments to function ‘yyPush’
syntax.leg:1767: error: too few arguments to function ‘yySet’
syntax.leg:1767: error: too few arguments to function ‘yySet’
syntax.leg:1773: error: too few arguments to function ‘yySet’
syntax.leg:1781: error: too few arguments to function ‘yySet’
syntax.leg:1788: error: too few arguments to function ‘yySet’
syntax.leg:1793: error: too few arguments to function ‘yyPop’
syntax.leg:1798: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_PRINT_AST’:
syntax.leg:1802: error: too few arguments to function ‘yyPush’
syntax.leg:1803: error: too few arguments to function ‘yySet’
syntax.leg:1805: error: too few arguments to function ‘yyPop’
syntax.leg:1810: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_throw’:
syntax.leg:1824: error: too few arguments to function ‘yyPush’
syntax.leg:1825: error: too few arguments to function ‘yySet’
syntax.leg:1827: error: too few arguments to function ‘yyPop’
syntax.leg:1832: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_try_catch’:
syntax.leg:1836: error: too few arguments to function ‘yyPush’
syntax.leg:1837: error: too few arguments to function ‘yySet’
syntax.leg:1837: error: too few arguments to function ‘yySet’
syntax.leg:1851: error: too few arguments to function ‘yySet’
syntax.leg:1859: error: too few arguments to function ‘yySet’
syntax.leg:1863: error: too few arguments to function ‘yyPop’
syntax.leg:1868: error: too few arguments to function ‘yyPop’
[ 86%] Building C object CMakeFiles/ngs.dir/decompile.c.o
syntax.leg: In function ‘yy_guard’:
syntax.leg:1872: error: too few arguments to function ‘yyPush’
/usr/bin/gcc-4.2 -DHAVE_EXECINFO_H -DHAVE_POLL_H -DNGS_STUPID_MALLOC_AFTER_FORK -D_BSD_SOURCE -D_DARWIN_C_SOURCE=1 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16 -I/opt/local/include -I/opt/homebrew/include -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -MD -MT CMakeFiles/ngs.dir/decompile.c.o -MF CMakeFiles/ngs.dir/decompile.c.o.d -o CMakeFiles/ngs.dir/decompile.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/decompile.c
syntax.leg:1873: error: too few arguments to function ‘yySet’
syntax.leg:1875: error: too few arguments to function ‘yyPop’
syntax.leg:1880: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_collector’:
syntax.leg:1884: error: too few arguments to function ‘yyPush’
syntax.leg:1885: error: too few arguments to function ‘yySet’
syntax.leg:1885: error: too few arguments to function ‘yySet’
syntax.leg:1887: error: too few arguments to function ‘yyPop’
syntax.leg:1892: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_return’:
syntax.leg:1916: error: too few arguments to function ‘yyPush’
syntax.leg:1917: error: too few arguments to function ‘yySet’
syntax.leg:1918: error: too few arguments to function ‘yySet’
syntax.leg:1923: error: too few arguments to function ‘yyPop’
syntax.leg:1928: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_var_scope_declaration’:
syntax.leg:1932: error: too few arguments to function ‘yyPush’
syntax.leg:1933: error: too few arguments to function ‘yySet’
syntax.leg:1947: error: too few arguments to function ‘yyPop’
syntax.leg:1952: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_regexp’:
syntax.leg:1956: error: too few arguments to function ‘yyPush’
syntax.leg:1957: error: too few arguments to function ‘yySet’
syntax.leg:1965: error: too few arguments to function ‘yySet’
syntax.leg:1967: error: too few arguments to function ‘yyPop’
syntax.leg:1972: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_cond’:
syntax.leg:1976: error: too few arguments to function ‘yyPush’
syntax.leg:1977: error: too few arguments to function ‘yySet’
syntax.leg:1985: error: too few arguments to function ‘yySet’
syntax.leg:1989: error: too few arguments to function ‘yySet’
syntax.leg:1995: error: too few arguments to function ‘yySet’
syntax.leg:1999: error: too few arguments to function ‘yySet’
syntax.leg:2007: error: too few arguments to function ‘yyPop’
syntax.leg:2012: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_call_arguments’:
syntax.leg:2016: error: too few arguments to function ‘yyPush’
syntax.leg:2021: error: too few arguments to function ‘yySet’
syntax.leg:2027: error: too few arguments to function ‘yySet’
syntax.leg:2031: error: too few arguments to function ‘yyPop’
syntax.leg:2036: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_subshell’:
syntax.leg:2090: error: too few arguments to function ‘yyPush’
syntax.leg:2092: error: too few arguments to function ‘yySet’
syntax.leg:2093: error: too few arguments to function ‘yySet’
syntax.leg:2094: error: too few arguments to function ‘yySet’
syntax.leg:2095: error: too few arguments to function ‘yySet’
syntax.leg:2099: error: too few arguments to function ‘yyPop’
syntax.leg:2104: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_abc_function_literal’:
syntax.leg:2108: error: too few arguments to function ‘yyPush’
syntax.leg:2109: error: too few arguments to function ‘yySet’
syntax.leg:2111: error: too few arguments to function ‘yyPop’
syntax.leg:2116: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_imm_hash_literal’:
syntax.leg:2120: error: too few arguments to function ‘yyPush’
syntax.leg:2127: error: too few arguments to function ‘yySet’
syntax.leg:2135: error: too few arguments to function ‘yyPop’
syntax.leg:2140: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_hash_literal’:
syntax.leg:2144: error: too few arguments to function ‘yyPush’
syntax.leg:2155: error: too few arguments to function ‘yySet’
syntax.leg:2171: error: too few arguments to function ‘yyPop’
syntax.leg:2176: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_parenthesized_expr’:
syntax.leg:2180: error: too few arguments to function ‘yyPush’
syntax.leg:2185: error: too few arguments to function ‘yySet’
syntax.leg:2191: error: too few arguments to function ‘yyPop’
syntax.leg:2196: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_imm_array_literal’:
syntax.leg:2314: error: too few arguments to function ‘yyPush’
syntax.leg:2321: error: too few arguments to function ‘yySet’
syntax.leg:2329: error: too few arguments to function ‘yyPop’
syntax.leg:2334: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_array_literal’:
syntax.leg:2338: error: too few arguments to function ‘yyPush’
syntax.leg:2349: error: too few arguments to function ‘yySet’
syntax.leg:2365: error: too few arguments to function ‘yyPop’
syntax.leg:2370: error: too few arguments to function ‘yyPop’
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c: In function ‘ngs_create_bytecode’:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:4928: warning: integer constant is too large for ‘long’ type
syntax.leg: In function ‘yy_chain_item’:
syntax.leg:2374: error: too few arguments to function ‘yyPush’
syntax.leg:2376: error: too few arguments to function ‘yySet’
syntax.leg:2377: error: too few arguments to function ‘yySet’
syntax.leg:2378: error: too few arguments to function ‘yySet’
syntax.leg:2379: error: too few arguments to function ‘yySet’
syntax.leg:2380: error: too few arguments to function ‘yySet’
syntax.leg:2381: error: too few arguments to function ‘yySet’
syntax.leg:2382: error: too few arguments to function ‘yySet’
syntax.leg:2383: error: too few arguments to function ‘yySet’
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c: In function ‘ngs_start_unserializing_bytecode’:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/vm.c:4966: warning: integer constant is too large for ‘long’ typesyntax.leg:2384: error: too few arguments to function ‘yySet’

syntax.leg:2385: error: too few arguments to function ‘yySet’
syntax.leg:2389: error: too few arguments to function ‘yyPop’
syntax.leg:2394: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_binop2’:
syntax.leg:2536: error: too few arguments to function ‘yyPush’
syntax.leg:2537: error: too few arguments to function ‘yySet’
syntax.leg:2539: error: too few arguments to function ‘yyPop’
syntax.leg:2544: error: too few arguments to function ‘yyPop’
make[2]: *** [CMakeFiles/ngs.dir/vm.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
syntax.leg: In function ‘yy_chain_expression’:
syntax.leg:2894: error: too few arguments to function ‘yyPush’
syntax.leg:2895: error: too few arguments to function ‘yySet’
syntax.leg:2902: error: too few arguments to function ‘yySet’
syntax.leg:2907: error: too few arguments to function ‘yySet’
syntax.leg:2916: error: too few arguments to function ‘yySet’
syntax.leg:2920: error: too few arguments to function ‘yySet’
syntax.leg:2929: error: too few arguments to function ‘yySet’
syntax.leg:2938: error: too few arguments to function ‘yySet’
syntax.leg:2939: error: too few arguments to function ‘yySet’
syntax.leg:2940: error: too few arguments to function ‘yySet’
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/malloc.c: In function ‘ngs_malloc_init’:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/malloc.c:22: error: ‘MAP_ANONYMOUS’ undeclared (first use in this function)
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/malloc.c:22: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/malloc.c:22: error: for each function it appears in.)
syntax.leg:2946: error: too few arguments to function ‘yyPop’
syntax.leg:2951: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_binop_expression_inner’:
syntax.leg:2955: error: too few arguments to function ‘yyPush’
syntax.leg:2956: error: too few arguments to function ‘yySet’
syntax.leg:2959: error: too few arguments to function ‘yySet’
syntax.leg:2959: error: too few arguments to function ‘yySet’
syntax.leg:2961: error: too few arguments to function ‘yySet’
syntax.leg:2967: error: too few arguments to function ‘yySet’
syntax.leg:2973: error: too few arguments to function ‘yyPop’
syntax.leg:2978: error: too few arguments to function ‘yyPop’
make[2]: *** [CMakeFiles/ngs.dir/malloc.c.o] Error 1
syntax.leg: In function ‘yy_binop_expression’:
syntax.leg:2982: error: too few arguments to function ‘yyPush’
syntax.leg:2983: error: too few arguments to function ‘yySet’
syntax.leg:2985: error: too few arguments to function ‘yyPop’
syntax.leg:2990: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_expressions’:
syntax.leg:3048: error: too few arguments to function ‘yyPush’
syntax.leg:3050: error: too few arguments to function ‘yySet’
syntax.leg:3050: error: too few arguments to function ‘yySet’
syntax.leg:3051: error: too few arguments to function ‘yySet’
syntax.leg:3055: error: too few arguments to function ‘yyPop’
syntax.leg:3060: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_commands_pipeline’:
syntax.leg:3064: error: too few arguments to function ‘yyPush’
syntax.leg:3069: error: too few arguments to function ‘yySet’
syntax.leg:3071: error: too few arguments to function ‘yySet’
syntax.leg:3078: error: too few arguments to function ‘yySet’
syntax.leg:3085: error: too few arguments to function ‘yySet’
syntax.leg:3087: error: too few arguments to function ‘yySet’
syntax.leg:3091: error: too few arguments to function ‘yySet’
syntax.leg:3098: error: too few arguments to function ‘yySet’
syntax.leg:3115: error: too few arguments to function ‘yyPop’
syntax.leg:3120: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_expression’:
syntax.leg:3124: error: too few arguments to function ‘yyPush’
syntax.leg:3127: error: too few arguments to function ‘yySet’
syntax.leg:3135: error: too few arguments to function ‘yyPop’
syntax.leg:3140: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_switch’:
syntax.leg:3242: error: too few arguments to function ‘yyPush’
syntax.leg:3243: error: too few arguments to function ‘yySet’
syntax.leg:3250: error: too few arguments to function ‘yySet’
syntax.leg:3258: error: too few arguments to function ‘yySet’
syntax.leg:3262: error: too few arguments to function ‘yySet’
syntax.leg:3268: error: too few arguments to function ‘yySet’
syntax.leg:3272: error: too few arguments to function ‘yySet’
syntax.leg:3280: error: too few arguments to function ‘yyPop’
syntax.leg:3285: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_while’:
syntax.leg:3289: error: too few arguments to function ‘yyPush’
syntax.leg:3297: error: too few arguments to function ‘yySet’
syntax.leg:3301: error: too few arguments to function ‘yySet’
syntax.leg:3303: error: too few arguments to function ‘yyPop’
syntax.leg:3308: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_if’:
syntax.leg:3312: error: too few arguments to function ‘yyPush’
syntax.leg:3320: error: too few arguments to function ‘yySet’
syntax.leg:3328: error: too few arguments to function ‘yySet’
syntax.leg:3328: error: too few arguments to function ‘yySet’
syntax.leg:3330: error: too few arguments to function ‘yyPop’
syntax.leg:3335: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_section’:
syntax.leg:3339: error: too few arguments to function ‘yyPush’
syntax.leg:3340: error: too few arguments to function ‘yySet’
syntax.leg:3340: error: too few arguments to function ‘yySet’
syntax.leg:3342: error: too few arguments to function ‘yyPop’
syntax.leg:3347: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_block’:
syntax.leg:3351: error: too few arguments to function ‘yyPush’
syntax.leg:3352: error: too few arguments to function ‘yySet’
syntax.leg:3352: error: too few arguments to function ‘yySet’
syntax.leg:3354: error: too few arguments to function ‘yyPop’
syntax.leg:3359: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_namespace’:
syntax.leg:3363: error: too few arguments to function ‘yyPush’
syntax.leg:3364: error: too few arguments to function ‘yySet’
syntax.leg:3365: error: too few arguments to function ‘yySet’
syntax.leg:3366: error: too few arguments to function ‘yySet’
syntax.leg:3370: error: too few arguments to function ‘yyPop’
syntax.leg:3375: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_type’:
syntax.leg:3379: error: too few arguments to function ‘yyPush’
syntax.leg:3380: error: too few arguments to function ‘yySet’
syntax.leg:3384: error: too few arguments to function ‘yySet’
syntax.leg:3388: error: too few arguments to function ‘yySet’
syntax.leg:3390: error: too few arguments to function ‘yyPop’
syntax.leg:3395: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_call’:
syntax.leg:3399: error: too few arguments to function ‘yyPush’
syntax.leg:3400: error: too few arguments to function ‘yySet’
syntax.leg:3404: error: too few arguments to function ‘yySet’
syntax.leg:3406: error: too few arguments to function ‘yyPop’
syntax.leg:3411: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_function_definition’:
syntax.leg:3415: error: too few arguments to function ‘yyPush’
syntax.leg:3416: error: too few arguments to function ‘yySet’
syntax.leg:3420: error: too few arguments to function ‘yySet’
syntax.leg:3428: error: too few arguments to function ‘yySet’
syntax.leg:3436: error: too few arguments to function ‘yySet’
syntax.leg:3438: error: too few arguments to function ‘yyPop’
syntax.leg:3443: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_inplace_assignment’:
syntax.leg:3447: error: too few arguments to function ‘yyPush’
syntax.leg:3448: error: too few arguments to function ‘yySet’
syntax.leg:3452: error: too few arguments to function ‘yySet’
syntax.leg:3456: error: too few arguments to function ‘yySet’
syntax.leg:3458: error: too few arguments to function ‘yyPop’
syntax.leg:3463: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_assignment’:
syntax.leg:3467: error: too few arguments to function ‘yyPush’
syntax.leg:3468: error: too few arguments to function ‘yySet’
syntax.leg:3476: error: too few arguments to function ‘yySet’
syntax.leg:3478: error: too few arguments to function ‘yyPop’
syntax.leg:3483: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_curly_code_block’:
syntax.leg:3487: error: too few arguments to function ‘yyPush’
syntax.leg:3496: error: too few arguments to function ‘yySet’
syntax.leg:3510: error: too few arguments to function ‘yyPop’
syntax.leg:3515: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_command’:
syntax.leg:3585: error: too few arguments to function ‘yyPush’
syntax.leg:3608: error: too few arguments to function ‘yySet’
syntax.leg:3612: error: too few arguments to function ‘yyPop’
syntax.leg:3617: error: too few arguments to function ‘yyPop’
syntax.leg: In function ‘yy_commands’:
syntax.leg:3700: error: too few arguments to function ‘yyPush’
syntax.leg:3706: error: too few arguments to function ‘yySet’
syntax.leg:3706: error: too few arguments to function ‘yySet’
syntax.leg:3707: error: too few arguments to function ‘yySet’
syntax.leg:3720: error: too few arguments to function ‘yyPop’
syntax.leg:3725: error: too few arguments to function ‘yyPop’
syntax.leg: At top level:
syntax.leg:1908: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/ngs.c: In function ‘main’:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/ngs.c:141: warning: assignment makes pointer from integer without a cast
make[2]: *** [CMakeFiles/ngs.dir/ngs.c.o] Error 1

Missing MAP_ANONYMOUS and avoiding documentation which requires Pandoc is trivial, but no idea what causes this failure.

Change History (3)

comment:1 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: herbygillot removed
Owner: set to herbygillot
Status: newassigned
Summary: ngs fails to build: syntax.leg: error: too few arguments to function ‘yyPush’ngs @0.2.16: syntax.leg: error: too few arguments to function ‘yyPush’

I see that you've already filed an upstream issue for this; thank you:

https://github.com/ngs-lang/ngs/issues/662

comment:2 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Port: peg added

In that issue we discovered that the problem occurs with peg 0.1.20, to which the peg port was updated six months ago, but not with 0.1.19, and that 0.1.19 is the latest stable version; 0.1.20 is a development version. Propose downgrading peg to 0.1.19: https://github.com/macports/macports-ports/pull/24531

comment:3 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In e6f3f6d8f33fc5b04b3d5fab97334b159165b421/macports-ports (master):

peg: Downgrade to latest stable version 0.1.19

Fix livecheck to only see stable versions.

Closes: #70239

Remove unnecessary patching; use makefile.override, destroot.destdir and
destroot.args instead.

Note: See TracTickets for help on using tickets.