+ 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # 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
   41 | #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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # 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]
  195 | #endif XK_MISCELLANY
      |        ^~~~~~~~~~~~~
../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  394 | #endif XK_LATIN1
      |        ^~~~~~~~~
../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  455 | #endif XK_LATIN2
      |        ^~~~~~~~~
../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  485 | #endif XK_LATIN3
      |        ^~~~~~~~~
../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  529 | #endif XK_LATIN4
      |        ^~~~~~~~~
../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  602 | #endif XK_KATAKANA
      |        ^~~~~~~~~~~
../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  659 | #endif XK_ARABIC
      |        ^~~~~~~~~
../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  759 | #endif XK_CYRILLIC
      |        ^~~~~~~~~~~
../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  839 | #endif XK_GREEK
      |        ^~~~~~~~
../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  896 | #endif XK_TECHNICAL
      |        ^~~~~~~~~~~~
../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  928 | #endif XK_SPECIAL
      |        ^~~~~~~~~~
../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
 1019 | #endif XK_PUBLISHING
      |        ^~~~~~~~~~~~~
../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
 1046 | #endif XK_APL
      |        ^~~~~~
../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
 1082 | #endif XK_HEBREW
      |        ^~~~~~~~~
y.tab.c: In function 'yyparse':
y.tab.c:1153:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
 1153 |       yychar = yylex ();
      |                ^~~~~
gram.y:122:41: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  122 |                                         strcpy(KeywordTable[$1].sptr,
      |                                         ^~~~~~
gram.y:43:1: note: include '<string.h>' or provide a declaration of 'strcpy'
   42 | #include "uwm.h"
  +++ |+#include <string.h>
   43 | 
gram.y:122:41: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  122 |                                         strcpy(KeywordTable[$1].sptr,
      |                                         ^~~~~~
gram.y:122:41: note: include '<string.h>' or provide a declaration of 'strcpy'
gram.y:125:41: warning: implicit declaration of function 'yyerror'; did you mean 'YYerror'? [-Wimplicit-function-declaration]
  125 |                                         yyerror("illegal construct");
      |                                         ^~~~~~~
      |                                         YYerror
gram.y:132:60: warning: implicit declaration of function 'y_atoi'; did you mean 'atoi'? [-Wimplicit-function-declaration]
  132 |                                                            y_atoi($<sval>2);
      |                                                            ^~~~~~
      |                                                            atoi
gram.y:143:41: warning: implicit declaration of function 'bindtofunc' [-Wimplicit-function-declaration]
  143 |                                         bindtofunc($1, bkmask, cmask, NULL);
      |                                         ^~~~~~~~~~
gram.y:171:53: warning: implicit declaration of function 'stashmenuinfo' [-Wimplicit-function-declaration]
  171 |                                         menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors);
      |                                                     ^~~~~~~~~~~~~
gram.y:171:51: warning: assignment to 'MenuInfo *' {aka 'struct _menuinfo *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  171 |                                         menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors);
      |                                                   ^
gram.y:172:53: warning: implicit declaration of function 'stashmenulink' [-Wimplicit-function-declaration]
  172 |                                         menu_link = stashmenulink(menu_info);
      |                                                     ^~~~~~~~~~~~~
gram.y:172:51: warning: assignment to 'MenuLink *' {aka 'struct _menulink *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  172 |                                         menu_link = stashmenulink(menu_info);
      |                                                   ^
gram.y:173:49: warning: implicit declaration of function 'appendmenulink' [-Wimplicit-function-declaration]
  173 |                                         Menus = appendmenulink(Menus, menu_link);
      |                                                 ^~~~~~~~~~~~~~
gram.y:173:47: warning: assignment to 'MenuLink *' {aka 'struct _menulink *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  173 |                                         Menus = appendmenulink(Menus, menu_link);
      |                                               ^
gram.y:208:34: warning: implicit declaration of function 'keywordlookup' [-Wimplicit-function-declaration]
  208 |                             ki = keywordlookup($1);
      |                                  ^~~~~~~~~~~~~
gram.y:249:63: warning: implicit declaration of function 'CheckButtonState' [-Wimplicit-function-declaration]
  249 |                         { $$ = CheckButtonState($1); }
      |                                                               ^               
gram.y:252:49: warning: implicit declaration of function 'keyexprlookup' [-Wimplicit-function-declaration]
  252 | kmask:          STRING { $$ = keyexprlookup($1); }
      |                                                 ^~           
gram.y:254:47: warning: implicit declaration of function 'contexprlookup' [-Wimplicit-function-declaration]
  254 | contmask:       STRING { $$ = contexprlookup($1); }
      |                                               ^~~~~         
gram.y:263:63: warning: implicit declaration of function 'buttexprlookup' [-Wimplicit-function-declaration]
  263 |                         { $$ = buttexprlookup($1); }
      |                                                               ^             
gram.y:277:64: warning: implicit declaration of function 'appendmenuline' [-Wimplicit-function-declaration]
  277 |                         { $$ = appendmenuline($1, $2); }
      |                                                                ^             
gram.y:277:62: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  277 |                         { $$ = appendmenuline($1, $2); }
      |                                                              ^
gram.y:320:38: warning: implicit declaration of function 'AllocMenuLine' [-Wimplicit-function-declaration]
  320 |                             ml_ptr = AllocMenuLine();
      |                                      ^~~~~~~~~~~~~
gram.y:320:36: warning: assignment to 'MenuLine *' {aka 'struct _menuline *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  320 |                             ml_ptr = AllocMenuLine();
      |                                    ^
gram.y:337:36: warning: assignment to 'MenuLine *' {aka 'struct _menuline *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  337 |                             ml_ptr = AllocMenuLine();
      |                                    ^
gram.y:344:45: warning: implicit declaration of function 'StashMenuLine' [-Wimplicit-function-declaration]
  344 |                             $$ = StashMenuLine(IsShellCommand, $2);
      |                                             ^~~~~~~~~~~~~
gram.y:344:43: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  344 |                             $$ = StashMenuLine(IsShellCommand, $2);
      |                                           ^
gram.y:348:43: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  348 |                             $$ = StashMenuLine(IsTextNL, $2);
      |                                           ^
gram.y:352:43: warning: assignment to 'struct _menuline *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  352 |                             $$ = StashMenuLine(IsText, $2);
      |                                           ^
gram.y:358:63: warning: implicit declaration of function 'strconcat' [-Wimplicit-function-declaration]
  358 |                         { $$ = strconcat($1, $2); }
      |                                                               ^        
gram.y:358:61: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  358 |                         { $$ = strconcat($1, $2); }
      |                                                             ^
gram.y: At top level:
gram.y:402:1: warning: return type defaults to 'int' [-Wimplicit-int]
  402 | keywordlookup(string)
      | ^~~~~~~~~~~~~
gram.y: In function 'keywordlookup':
gram.y:408:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  408 |         if (!strcmp(KeywordTable[i].name, string)) {
      |              ^~~~~~
gram.y:43:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   42 | #include "uwm.h"
  +++ |+#include <string.h>
   43 | 
gram.y: At top level:
gram.y:444:1: warning: return type defaults to 'int' [-Wimplicit-int]
  444 | contexprlookup(string)
      | ^~~~~~~~~~~~~~
gram.y:464:1: warning: return type defaults to 'int' [-Wimplicit-int]
  464 | buttexprlookup(string)
      | ^~~~~~~~~~~~~~
gram.y:485:1: warning: return type defaults to 'int' [-Wimplicit-int]
  485 | y_atoi(s)
      | ^~~~~~
gram.y:506:1: error: conflicting types for 'strconcat'; have 'char *()'
  506 | strconcat(s1, s2)
      | ^~~~~~~~~
gram.y:358:63: note: previous implicit declaration of 'strconcat' with type 'int()'
  358 |                         { $$ = strconcat($1, $2); }
      |                                                               ^        
gram.y: In function 'strconcat':
gram.y:511:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  511 |     p = malloc(strlen(s1) + strlen(s2) + 2);
      |                ^~~~~~
gram.y:511:16: note: include '<string.h>' or provide a declaration of 'strlen'
gram.y:511:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
gram.y:511:16: note: include '<string.h>' or provide a declaration of 'strlen'
gram.y: At top level:
gram.y:565:1: warning: return type defaults to 'int' [-Wimplicit-int]
  565 | 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]
  572 |         setbinding(ROOT, index, mask, name);
      |         ^~~~~~~~~~
      |         ResetBindings
gram.y: At top level:
gram.y:599:1: warning: return type defaults to 'int' [-Wimplicit-int]
  599 | 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]
  625 |     appendbinding(ptr);
      |     ^~~~~~~~~~~~~
      |     setbinding
gram.y: At top level:
gram.y:631:1: warning: return type defaults to 'int' [-Wimplicit-int]
  631 | appendbinding(binding)
      | ^~~~~~~~~~~~~
gram.y:650:1: error: conflicting types for 'AllocMenuLine'; have 'MenuLine *()' {aka 'struct _menuline *()'}
  650 | AllocMenuLine()
      | ^~~~~~~~~~~~~
gram.y:320:38: note: previous implicit declaration of 'AllocMenuLine' with type 'int()'
  320 |                             ml_ptr = AllocMenuLine();
      |                                      ^~~~~~~~~~~~~
gram.y:695:1: error: conflicting types for 'StashMenuLine'; have 'MenuLine *()' {aka 'struct _menuline *()'}
  695 | StashMenuLine(type, string)
      | ^~~~~~~~~~~~~
gram.y:344:45: note: previous implicit declaration of 'StashMenuLine' with type 'int()'
  344 |                             $$ = StashMenuLine(IsShellCommand, $2);
      |                                             ^~~~~~~~~~~~~
gram.y:711:1: error: conflicting types for 'stashmenuinfo'; have 'MenuInfo *()' {aka 'struct _menuinfo *()'}
  711 | stashmenuinfo(name, line, colors)
      | ^~~~~~~~~~~~~
gram.y:171:53: note: previous implicit declaration of 'stashmenuinfo' with type 'int()'
  171 |                                         menu_info = stashmenuinfo(menu_name, ml_ptr, hcolors);
      |                                                     ^~~~~~~~~~~~~
gram.y:732:1: error: conflicting types for 'stashmenulink'; have 'MenuLink *()' {aka 'struct _menulink *()'}
  732 | stashmenulink(menuinfo)
      | ^~~~~~~~~~~~~
gram.y:172:53: note: previous implicit declaration of 'stashmenulink' with type 'int()'
  172 |                                         menu_link = stashmenulink(menu_info);
      |                                                     ^~~~~~~~~~~~~
gram.y:747:1: error: conflicting types for 'appendmenuline'; have 'MenuLine *()' {aka 'struct _menuline *()'}
  747 | appendmenuline(list, line)
      | ^~~~~~~~~~~~~~
gram.y:277:64: note: previous implicit declaration of 'appendmenuline' with type 'int()'
  277 |                         { $$ = appendmenuline($1, $2); }
      |                                                                ^             
gram.y:768:1: error: conflicting types for 'appendmenulink'; have 'MenuLink *()' {aka 'struct _menulink *()'}
  768 | appendmenulink(list, link)
      | ^~~~~~~~~~~~~~
gram.y:173:49: note: previous implicit declaration of 'appendmenulink' with type 'int()'
  173 |                                         Menus = appendmenulink(Menus, menu_link);
      |                                                 ^~~~~~~~~~~~~~
gram.y: In function 'ResetVariables':
gram.y:843:5: warning: implicit declaration of function 'SetVarDefaults' [-Wimplicit-function-declaration]
  843 |     SetVarDefaults();
      |     ^~~~~~~~~~~~~~
*** [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-el9-trunk-x86_64/wm/uwm
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/wm/uwm