=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/uwm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for uwm-19881027nb2 --- gram.o --- --- lex.o --- --- gram.o --- yacc -d gram.y --- lex.o --- flex -l lex.l clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../.. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSYSFILE=\"/opt/pkg/lib/X11/uwm/system.uwmrc\" -I/opt/pkg/include -c -o lex.o lex.yy.c --- gram.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../.. -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSYSFILE=\"/opt/pkg/lib/X11/uwm/system.uwmrc\" -I/opt/pkg/include -c -o gram.o y.tab.c --- lex.o --- lex.l:57:20: warning: passing arguments to 'stash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | { yylval.sval=stash(yytext);return(STRING); } | ^ lex.l:58:28: warning: passing arguments to 'dequote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | { yylval.sval=stash(dequote(yytext)); | ^ lex.l:58:20: warning: passing arguments to 'stash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | { yylval.sval=stash(dequote(yytext)); | ^ --- gram.o --- y.tab.c:1341:16: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1341 | yychar = YYLEX; | ^ y.tab.c:697:16: note: expanded from macro 'YYLEX' 697 | # define YYLEX yylex () | ^ gram.y:125:20: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | yyerror("illegal construct"); | ^ gram.y:132:39: warning: call to undeclared function 'y_atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lex.o --- lex.l:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | dequote(s) | ^ lex.l:44:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | char *dequote(); | ^ --- gram.o --- 132 | y_atoi((yyvsp[(2) - (3)].sval)); | ^ gram.y:133:23: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | } else yyerror("illegal construct"); | ^ --- lex.o --- lex.l:91:9: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | Error("out of space"); | ^ --- gram.o --- gram.y:143:20: warning: call to undeclared function 'bindtofunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lex.o --- lex.l:84:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | char *stash(s) | ^ lex.l:45:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | char *stash(); | ^ --- gram.o --- 143 | bindtofunc((yyvsp[(1) - (3)].ival), bkmask, cmask, NULL); | ^ --- lex.o --- lex.l:38:14: warning: unused variable 'sccsid' [-Wunused-variable] 38 | static char *sccsid = "@(#)lex.l 3.8 1/24/86"; | ^~~~~~ lex.yy.c:1197:17: warning: unused function 'yyunput' [-Wunused-function] --- gram.o --- gram.y:154:20: warning: call to undeclared function 'bindtofunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lex.o --- 1197 | static void yyunput (int c, char * yy_bp ) | ^~~~~~~ lex.yy.c:1244:16: warning: function 'input' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1244 | static int input (void) | ^~~~~ --- gram.o --- 154 | bindtofunc((yyvsp[(1) - (3)].ival), bkmask, cmask, NULL); | ^ gram.y:165:20: warning: call to undeclared function 'bindtofunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | bindtofunc | ^ gram.y:171:32: warning: call to undeclared function 'stashmenuinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); | ^ gram.y:171:30: warning: incompatible integer to pointer conversion assigning to 'MenuInfo *' (aka 'struct _menuinfo *') from 'int' [-Wint-conversion] 171 | menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:172:32: warning: call to undeclared function 'stashmenulink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | menu_link = stashmenulink(menu_info); | ^ gram.y:172:30: warning: incompatible integer to pointer conversion assigning to 'MenuLink *' (aka 'struct _menulink *') from 'int' [-Wint-conversion] 172 | menu_link = stashmenulink(menu_info); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:173:28: warning: call to undeclared function 'appendmenulink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | Menus = appendmenulink(Menus, menu_link); | ^ gram.y:173:26: warning: incompatible integer to pointer conversion assigning to 'MenuLink *' (aka 'struct _menulink *') from 'int' [-Wint-conversion] 173 | Menus = appendmenulink(Menus, menu_link); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:208:13: warning: call to undeclared function 'keywordlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | ki = keywordlookup((yyvsp[(1) - (1)].sval)); | ^ gram.y:220:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | yyerror("keyword error"); | ^ gram.y:226:23: warning: call to undeclared function 'keywordlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | (yyval.ival) = keywordlookup((yyvsp[(1) - (1)].sval)); | ^ gram.y:249:22: warning: call to undeclared function 'CheckButtonState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | { (yyval.ival) = CheckButtonState((yyvsp[(1) - (1)].ival)); } | ^ gram.y:252:22: warning: call to undeclared function 'keyexprlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | { (yyval.ival) = keyexprlookup((yyvsp[(1) - (1)].sval)); } | ^ gram.y:254:22: warning: call to undeclared function 'contexprlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | { (yyval.ival) = contexprlookup((yyvsp[(1) - (1)].sval)); } | ^ gram.y:263:22: warning: call to undeclared function 'buttexprlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | { (yyval.ival) = buttexprlookup((yyvsp[(1) - (1)].sval)); } | ^ gram.y:277:23: warning: call to undeclared function 'appendmenuline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | { (yyval.mlval) = appendmenuline((yyvsp[(1) - (2)].mlval), (yyvsp[(2) - (2)].mlval)); } | ^ gram.y:277:21: warning: incompatible integer to pointer conversion assigning to 'struct _menuline *' from 'int' [-Wint-conversion] 277 | { (yyval.mlval) = appendmenuline((yyvsp[(1) - (2)].mlval), (yyvsp[(2) - (2)].mlval)); } | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:310:13: warning: call to undeclared function 'keywordlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | ki = keywordlookup((yyvsp[(1) - (1)].sval)); | ^ gram.y:318:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | yyerror(msg); | ^ gram.y:320:17: warning: call to undeclared function 'AllocMenuLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | ml_ptr = AllocMenuLine(); | ^ gram.y:320:15: warning: incompatible integer to pointer conversion assigning to 'MenuLine *' (aka 'struct _menuline *') from 'int' [-Wint-conversion] 320 | ml_ptr = AllocMenuLine(); | ^ ~~~~~~~~~~~~~~~ gram.y:329:13: warning: call to undeclared function 'keywordlookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | ki = keywordlookup((yyvsp[(1) - (3)].sval)); | ^ gram.y:335:12: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | yyerror(msg); | ^ gram.y:337:17: warning: call to undeclared function 'AllocMenuLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | ml_ptr = AllocMenuLine(); | ^ gram.y:337:15: warning: incompatible integer to pointer conversion assigning to 'MenuLine *' (aka 'struct _menuline *') from 'int' [-Wint-conversion] 337 | ml_ptr = AllocMenuLine(); | ^ ~~~~~~~~~~~~~~~ gram.y:344:24: warning: call to undeclared function 'StashMenuLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | (yyval.mlval) = StashMenuLine(IsShellCommand, (yyvsp[(2) - (2)].sval)); | ^ gram.y:344:22: warning: incompatible integer to pointer conversion assigning to 'struct _menuline *' from 'int' [-Wint-conversion] 344 | (yyval.mlval) = StashMenuLine(IsShellCommand, (yyvsp[(2) - (2)].sval)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:348:24: warning: call to undeclared function 'StashMenuLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | (yyval.mlval) = StashMenuLine(IsTextNL, (yyvsp[(2) - (2)].sval)); | ^ gram.y:348:22: warning: incompatible integer to pointer conversion assigning to 'struct _menuline *' from 'int' [-Wint-conversion] 348 | (yyval.mlval) = StashMenuLine(IsTextNL, (yyvsp[(2) - (2)].sval)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:352:24: warning: call to undeclared function 'StashMenuLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | (yyval.mlval) = StashMenuLine(IsText, (yyvsp[(2) - (2)].sval)); | ^ gram.y:352:22: warning: incompatible integer to pointer conversion assigning to 'struct _menuline *' from 'int' [-Wint-conversion] 352 | (yyval.mlval) = StashMenuLine(IsText, (yyvsp[(2) - (2)].sval)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gram.y:358:22: warning: call to undeclared function 'strconcat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | { (yyval.sval) = strconcat((yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].sval)); } | ^ gram.y:358:20: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 358 | { (yyval.sval) = strconcat((yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].sval)); } | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y.tab.c:1851:7: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1851 | yyerror (YY_("syntax error")); | ^ y.tab.c:1997:3: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1997 | yyerror (YY_("memory exhausted")); | ^ gram.y:402:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 402 | keywordlookup(string) | ^ | int gram.y:414:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | yyerror(msg); | ^ gram.y:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | keywordlookup(string) | ^ gram.y:435:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | yyerror(msg); | ^ gram.y:423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | int keyexprlookup(string) | ^ gram.y:444:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 444 | contexprlookup(string) | ^ | int gram.y:456:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 456 | yyerror(msg); | ^ gram.y:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | contexprlookup(string) | ^ gram.y:464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | buttexprlookup(string) | ^ | int gram.y:476:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 476 | yyerror(msg); | ^ gram.y:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | buttexprlookup(string) | ^ gram.y:485:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 485 | y_atoi(s) | ^ | int gram.y:494:13: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 494 | yyerror("non-numeric argument"); | ^ gram.y:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | y_atoi(s) | ^ gram.y:506:1: error: conflicting types for 'strconcat' 506 | strconcat(s1, s2) | ^ gram.y:358:22: note: previous implicit declaration is here 358 | { (yyval.sval) = strconcat((yyvsp[(1) - (2)].sval), (yyvsp[(2) - (2)].sval)); } | ^ gram.y:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | strconcat(s1, s2) | ^ gram.y:531:9: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | yyerror("no button specified"); | ^ gram.y:548:9: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | yyerror("no button action specified"); | ^ gram.y:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | CheckButtonState(expr) | ^ gram.y:565:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 565 | bindtofunc(index, mask, context, name) | ^ | int gram.y:572:9: warning: call to undeclared function 'setbinding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | setbinding(ROOT, index, mask, name); | ^ gram.y:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | bindtofunc(index, mask, context, name) | ^ gram.y:599:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | setbinding(cont, i, m, mname) | ^ | int gram.y:612:34: warning: passing arguments to 'stash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | ptr->menuname = mname ? stash(mname) : NULL; | ^ gram.y:625:5: warning: call to undeclared function 'appendbinding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | appendbinding(ptr); | ^ gram.y:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | setbinding(cont, i, m, mname) | ^ gram.y:631:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 631 | appendbinding(binding) | ^ | int gram.y:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gram.y:650:1: error: conflicting types for 'AllocMenuLine' 650 | AllocMenuLine() | ^ gram.y:320:17: note: previous implicit declaration is here 320 | ml_ptr = AllocMenuLine(); | ^ gram.y:695:1: error: conflicting types for 'StashMenuLine' 695 | StashMenuLine(type, string) | ^ gram.y:344:24: note: previous implicit declaration is here 344 | (yyval.mlval) = StashMenuLine(IsShellCommand, (yyvsp[(2) - (2)].sval)); | ^ gram.y:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | StashMenuLine(type, string) | ^ gram.y:711:1: error: conflicting types for 'stashmenuinfo' 711 | stashmenuinfo(name, line, colors) | ^ gram.y:171:32: note: previous implicit declaration is here 171 | menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); | ^ gram.y:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | stashmenuinfo(name, line, colors) | ^ gram.y:732:1: error: conflicting types for 'stashmenulink' 732 | stashmenulink(menuinfo) | ^ gram.y:172:32: note: previous implicit declaration is here 172 | menu_link = stashmenulink(menu_info); | ^ gram.y:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | stashmenulink(menuinfo) | ^ gram.y:747:1: error: conflicting types for 'appendmenuline' 747 | appendmenuline(list, line) | ^ gram.y:277:23: note: previous implicit declaration is here 277 | { (yyval.mlval) = appendmenuline((yyvsp[(1) - (2)].mlval), (yyvsp[(2) - (2)].mlval)); } | ^ gram.y:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | appendmenuline(list, line) | ^ gram.y:768:1: error: conflicting types for 'appendmenulink' 768 | appendmenulink(list, link) | ^ gram.y:173:28: note: previous implicit declaration is here 173 | Menus = appendmenulink(Menus, menu_link); | ^ gram.y:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | appendmenulink(list, link) | ^ gram.y:843:5: warning: call to undeclared function 'SetVarDefaults'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 843 | SetVarDefaults(); | ^ 73 warnings and 7 errors generated. *** [gram.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/wm/uwm/work/X.V11R3/clients/uwm --- lex.o --- 11 warnings generated. rm -f lex.yy.c bmake: 1 error bmake: stopped making "all" in /var/tmp/work/wm/uwm/work/X.V11R3/clients/uwm *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/uwm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/wm/uwm