+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/uwm-19881027nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/uwm-19881027nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for uwm-19881027nb2 --- gram.o --- --- lex.o --- --- gram.o --- bison -y -d gram.y --- lex.o --- flex -l lex.l cc -O2 -fno-strength-reduce -fno-strict-aliasing -I../.. -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/pkg/include -c -o lex.o lex.yy.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from lex.yy.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ lex.l:41:10: fatal error: y.tab.h: No such file or directory #include "y.tab.h" ^~~~~~~~~ compilation terminated. *** [lex.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/uwm/work/X.V11R3/clients/uwm --- gram.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I../.. -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/pkg/include -c -o gram.o y.tab.c In file included from /usr/include/errno.h:25, from uwm.h:40, from gram.y:42: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../X11/keysym.h:35, from /home/pbulk/build/wm/uwm/work/.buildlink/include/X11/Xutil.h:54, from uwm.h:50, from gram.y:42: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_MISCELLANY ^~~~~~~~~~~~~ ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_LATIN1 ^~~~~~~~~ ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_LATIN2 ^~~~~~~~~ ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_LATIN3 ^~~~~~~~~ ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_LATIN4 ^~~~~~~~~ ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_KATAKANA ^~~~~~~~~~~ ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_ARABIC ^~~~~~~~~ ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_CYRILLIC ^~~~~~~~~~~ ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_GREEK ^~~~~~~~ ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_TECHNICAL ^~~~~~~~~~~~ ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_SPECIAL ^~~~~~~~~~ ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_PUBLISHING ^~~~~~~~~~~~~ ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_APL ^~~~~~ ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif XK_HEBREW ^~~~~~~~~ y.tab.c: In function 'yyparse': y.tab.c:1153:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ gram.y:122:20: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(KeywordTable[$1].sptr, ^~~~~~ gram.y:122:20: warning: incompatible implicit declaration of built-in function 'strcpy' gram.y:122:20: note: include '<string.h>' or provide a declaration of 'strcpy' gram.y:118:1: +#include <string.h> { gram.y:122:20: strcpy(KeywordTable[$1].sptr, ^~~~~~ gram.y:125:20: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror("illegal construct"); ^~~~~~~ yyerrok gram.y:132:39: warning: implicit declaration of function 'y_atoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] y_atoi($<sval>2); ^~~~~~ atoi gram.y:143:20: warning: implicit declaration of function 'bindtofunc' [-Wimplicit-function-declaration] bindtofunc($1, bkmask, cmask, NULL); ^~~~~~~~~~ gram.y:171:32: warning: implicit declaration of function 'stashmenuinfo' [-Wimplicit-function-declaration] menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); ^~~~~~~~~~~~~ gram.y:171:30: warning: assignment to 'MenuInfo *' {aka 'struct _menuinfo *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); ^ gram.y:172:32: warning: implicit declaration of function 'stashmenulink' [-Wimplicit-function-declaration] menu_link = stashmenulink(menu_info); ^~~~~~~~~~~~~ gram.y:172:30: warning: assignment to 'MenuLink *' {aka 'struct _menulink *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] menu_link = stashmenulink(menu_info); ^ gram.y:173:28: warning: implicit declaration of function 'appendmenulink' [-Wimplicit-function-declaration] Menus = appendmenulink(Menus, menu_link); ^~~~~~~~~~~~~~ gram.y:173:26: warning: assignment to 'MenuLink *' {aka 'struct _menulink *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] Menus = appendmenulink(Menus, menu_link); ^ gram.y:208:13: warning: implicit declaration of function 'keywordlookup' [-Wimplicit-function-declaration] ki = keywordlookup($1); ^~~~~~~~~~~~~ gram.y:249:42: warning: implicit declaration of function 'CheckButtonState' [-Wimplicit-function-declaration] { $$ = CheckButtonState($1); } ^ gram.y:252:41: warning: implicit declaration of function 'keyexprlookup' [-Wimplicit-function-declaration] kmask: STRING { $$ = keyexprlookup($1); } ^~ gram.y:254:41: warning: implicit declaration of function 'contexprlookup' [-Wimplicit-function-declaration] contmask: STRING { $$ = contexprlookup($1); } ^~~~~ gram.y:263:42: warning: implicit declaration of function 'buttexprlookup' [-Wimplicit-function-declaration] { $$ = buttexprlookup($1); } ^ gram.y:277:43: warning: implicit declaration of function 'appendmenuline'; did you mean 'XIMUnderline'? [-Wimplicit-function-declaration] { $$ = appendmenuline($1, $2); } ^ XIMUnderline gram.y:277:41: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion] { $$ = appendmenuline($1, $2); } ^ gram.y:320:17: warning: implicit declaration of function 'AllocMenuLine'; did you mean 'AllocNone'? [-Wimplicit-function-declaration] ml_ptr = AllocMenuLine(); ^~~~~~~~~~~~~ AllocNone gram.y:320:15: warning: assignment to 'MenuLine *' {aka 'struct _menuline *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ml_ptr = AllocMenuLine(); ^ gram.y:337:15: warning: assignment to 'MenuLine *' {aka 'struct _menuline *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] ml_ptr = AllocMenuLine(); ^ gram.y:344:24: warning: implicit declaration of function 'StashMenuLine' [-Wimplicit-function-declaration] $$ = StashMenuLine(IsShellCommand, $2); ^~~~~~~~~~~~~ gram.y:344:22: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion] $$ = StashMenuLine(IsShellCommand, $2); ^ gram.y:348:22: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion] $$ = StashMenuLine(IsTextNL, $2); ^ gram.y:352:22: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion] $$ = StashMenuLine(IsText, $2); ^ gram.y:358:42: warning: implicit declaration of function 'strconcat'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] { $$ = strconcat($1, $2); } ^ strcasecmp gram.y:358:40: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] { $$ = strconcat($1, $2); } ^ gram.y: At top level: gram.y:402:1: warning: return type defaults to 'int' [-Wimplicit-int] keywordlookup(string) ^~~~~~~~~~~~~ gram.y: In function 'keywordlookup': gram.y:408:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(KeywordTable[i].name, string)) { ^~~~~~ gram.y: At top level: gram.y:444:1: warning: return type defaults to 'int' [-Wimplicit-int] contexprlookup(string) ^~~~~~~~~~~~~~ gram.y:464:1: warning: return type defaults to 'int' [-Wimplicit-int] buttexprlookup(string) ^~~~~~~~~~~~~~ gram.y:485:1: warning: return type defaults to 'int' [-Wimplicit-int] y_atoi(s) ^~~~~~ gram.y:506:1: error: conflicting types for 'strconcat' strconcat(s1, s2) ^~~~~~~~~ gram.y:358:42: note: previous implicit declaration of 'strconcat' was here { $$ = strconcat($1, $2); } ^ gram.y: In function 'strconcat': gram.y:511:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] p = malloc(strlen(s1) + strlen(s2) + 2); ^~~~~~ gram.y:511:16: warning: incompatible implicit declaration of built-in function 'strlen' gram.y:511:16: note: include '<string.h>' or provide a declaration of 'strlen' gram.y:396:1: +#include <string.h> %% gram.y:511:16: p = malloc(strlen(s1) + strlen(s2) + 2); ^~~~~~ gram.y: At top level: gram.y:565:1: warning: return type defaults to 'int' [-Wimplicit-int] bindtofunc(index, mask, context, name) ^~~~~~~~~~ gram.y: In function 'bindtofunc': gram.y:572:9: warning: implicit declaration of function 'setbinding'; did you mean 'ResetBindings'? [-Wimplicit-function-declaration] setbinding(ROOT, index, mask, name); ^~~~~~~~~~ ResetBindings gram.y: At top level: gram.y:599:1: warning: return type defaults to 'int' [-Wimplicit-int] setbinding(cont, i, m, mname) ^~~~~~~~~~ gram.y: In function 'setbinding': gram.y:625:5: warning: implicit declaration of function 'appendbinding'; did you mean 'setbinding'? [-Wimplicit-function-declaration] appendbinding(ptr); ^~~~~~~~~~~~~ setbinding gram.y: At top level: gram.y:631:1: warning: return type defaults to 'int' [-Wimplicit-int] appendbinding(binding) ^~~~~~~~~~~~~ gram.y:650:1: error: conflicting types for 'AllocMenuLine' AllocMenuLine() ^~~~~~~~~~~~~ gram.y:320:17: note: previous implicit declaration of 'AllocMenuLine' was here ml_ptr = AllocMenuLine(); ^~~~~~~~~~~~~ gram.y:695:1: error: conflicting types for 'StashMenuLine' StashMenuLine(type, string) ^~~~~~~~~~~~~ gram.y:344:24: note: previous implicit declaration of 'StashMenuLine' was here $$ = StashMenuLine(IsShellCommand, $2); ^~~~~~~~~~~~~ gram.y:711:1: error: conflicting types for 'stashmenuinfo' stashmenuinfo(name, line, colors) ^~~~~~~~~~~~~ gram.y:171:32: note: previous implicit declaration of 'stashmenuinfo' was here menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors); ^~~~~~~~~~~~~ gram.y:732:1: error: conflicting types for 'stashmenulink' stashmenulink(menuinfo) ^~~~~~~~~~~~~ gram.y:172:32: note: previous implicit declaration of 'stashmenulink' was here menu_link = stashmenulink(menu_info); ^~~~~~~~~~~~~ gram.y:747:1: error: conflicting types for 'appendmenuline' appendmenuline(list, line) ^~~~~~~~~~~~~~ gram.y:277:43: note: previous implicit declaration of 'appendmenuline' was here { $$ = appendmenuline($1, $2); } ^ gram.y:768:1: error: conflicting types for 'appendmenulink' appendmenulink(list, link) ^~~~~~~~~~~~~~ gram.y:173:28: note: previous implicit declaration of 'appendmenulink' was here Menus = appendmenulink(Menus, menu_link); ^~~~~~~~~~~~~~ gram.y: In function 'ResetVariables': gram.y:843:5: warning: implicit declaration of function 'SetVarDefaults'; did you mean 'LoadXDefaults'? [-Wimplicit-function-declaration] SetVarDefaults(); ^~~~~~~~~~~~~~ LoadXDefaults *** [gram.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/uwm/work/X.V11R3/clients/uwm bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/wm/uwm/work/X.V11R3/clients/uwm *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/wm/uwm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/wm/uwm