+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.4.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.4.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for spectrwm-3.4.1nb1
gcc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g -fPIE -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/freetype2 -I. -D_GNU_SOURCE -DSWM_LIB=\"/opt/pkg/lib/libswmhack.so.0.0\" -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16  -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o spectrwm.o ../spectrwm.c
../spectrwm.c: In function 'expand_tilde':
../spectrwm.c:1440:12: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
 1440 |   result = strdup(sc);
      |            ^~~~~~
      |            strcmp
../spectrwm.c:1440:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1440 |   result = strdup(sc);
      |          ^
../spectrwm.c:1461:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1461 |   result = strdup(sc);
      |          ^
../spectrwm.c:1463:7: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 1463 |   if (asprintf(&result, "%s%s", ppwd->pw_dir, s) == -1)
      |       ^~~~~~~~
      |       vsprintf
../spectrwm.c: In function 'setscreencolor':
../spectrwm.c:2300:28: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2300 |  if ((screens[i].c[c].name = strdup(val)) == NULL)
      |                            ^
../spectrwm.c: In function 'bar_extra_stop':
../spectrwm.c:2605:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
 2605 |   bzero(bar_pipe, sizeof bar_pipe);
      |   ^~~~~
../spectrwm.c:2608:3: warning: implicit declaration of function 'kill'; did you mean 'wkill'? [-Wimplicit-function-declaration]
 2608 |   kill(bar_pid, SIGTERM);
      |   ^~~~
      |   wkill
../spectrwm.c: In function 'isxlfd':
../spectrwm.c:3638:14: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
 3638 |  while ((s = index(s, '-'))) {
      |              ^~~~~
../spectrwm.c:3638:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3638 |  while ((s = index(s, '-'))) {
      |            ^
../spectrwm.c: In function 'restart':
../spectrwm.c:4292:3: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 4292 |   unsetenv("SWM_STARTED");
      |   ^~~~~~~~
      |   getenv
../spectrwm.c: In function 'spawn':
../spectrwm.c:4534:3: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 4534 |   setenv("LD_PRELOAD", ret, 1);
      |   ^~~~~~
      |   getenv
../spectrwm.c: In function 'get_win_name':
../spectrwm.c:6890:10: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
 6890 |   name = strndup(xcb_get_property_value(r),
      |          ^~~~~~~
      |          strncmp
../spectrwm.c:6890:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 6890 |   name = strndup(xcb_get_property_value(r),
      |        ^
../spectrwm.c:6893:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 6893 |   name = strdup("");
      |        ^
../spectrwm.c: In function 'uniconify':
../spectrwm.c:6937:15: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
 6937 |  if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |               ^~~~~~
      |               fopen
../spectrwm.c:6937:13: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 6937 |  if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |             ^
../spectrwm.c: In function 'name_workspace':
../spectrwm.c:6971:13: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 6971 |  if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |             ^
../spectrwm.c: In function 'search_workspace':
../spectrwm.c:6997:13: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 6997 |  if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |             ^
../spectrwm.c: In function 'search_win':
../spectrwm.c:7050:13: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 7050 |  if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |             ^
../spectrwm.c: In function 'search_resp_name_workspace':
../spectrwm.c:7179:12: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 7179 |   ws->name = strdup(resp);
      |            ^
../spectrwm.c: In function 'ewmh_get_desktop_names':
../spectrwm.c:7259:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 7259 |     screens[i].ws[k].name = strdup(names + j);
      |                           ^
../spectrwm.c: In function 'search_resp_search_workspace':
../spectrwm.c:7365:4: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 7365 |  q = strdup(resp);
      |    ^
../spectrwm.c: In function 'search_resp_search_window':
../spectrwm.c:7394:4: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 7394 |  s = strdup(resp);
      |    ^
../spectrwm.c: In function 'spawn_expand':
../spectrwm.c:8550:7: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
 8550 |   if (strcasecmp(spawn_name, prog->name) == 0)
      |       ^~~~~~~~~~
      |       strncmp
../spectrwm.c:8567:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8567 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8572:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8572 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8577:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8577 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8582:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8582 |    if ((real_args[c] = strdup(bar_fonts))
      |                      ^
../spectrwm.c:8586:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8586 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8591:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8591 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8596:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8596 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8601:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8601 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8606:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8606 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8611:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8611 |    if ((real_args[c] =
      |                      ^
../spectrwm.c:8625:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8625 |    if ((real_args[c] = strdup("-b")) == NULL)
      |                      ^
../spectrwm.c:8629:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8629 |    if ((real_args[c] = strdup(ap)) == NULL)
      |                      ^
../spectrwm.c: In function 'spawn_insert':
../spectrwm.c:8766:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8766 |  if ((sp->name = strdup(name)) == NULL)
      |                ^
../spectrwm.c:8770:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8770 |  if ((ptr = cp = strdup(args)) == NULL)
      |                ^
../spectrwm.c:8781:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8781 |   if ((sp->argv[sp->argc - 1] = strdup(arg)) == NULL)
      |                               ^
../spectrwm.c: In function 'validate_spawns':
../spectrwm.c:8888:15: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'?
 8888 |  char   which[PATH_MAX];
      |               ^~~~~~~~
      |               SH_MAX
../spectrwm.c:8888:15: note: each undeclared identifier is reported only once for each function it appears in
../spectrwm.c:8888:9: warning: unused variable 'which' [-Wunused-variable]
 8888 |  char   which[PATH_MAX];
      |         ^~~~~
../spectrwm.c: In function 'parsebinding':
../spectrwm.c:8962:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8962 |  if ((cp = str = strdup(bindstr)) == NULL)
      |                ^
../spectrwm.c:8969:17: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration]
 8969 |  while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) {
      |                 ^~~~~~
      |                 strstr
../spectrwm.c:8969:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8969 |  while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) {
      |               ^
../spectrwm.c:8973:7: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
 8973 |   if (strncasecmp(name, "MOD", SWM_MODNAME_SIZE) == 0)
      |       ^~~~~~~~~~~
      |       strncmp
../spectrwm.c: In function 'strdupsafe':
../spectrwm.c:9032:11: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion]
 9032 |   return (strdup(str));
      |          ~^~~~~~~~~~~~
../spectrwm.c: In function 'parse_workspace_indicator':
../spectrwm.c:9609:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9609 |  if ((cp = tmp = strdup(str)) == NULL)
      |                ^
../spectrwm.c:9613:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9613 |  while ((name = strsep(&cp, SWM_FLAGS_DELIM)) != NULL) {
      |               ^
../spectrwm.c: In function 'parsequirks':
../spectrwm.c:9666:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9666 |  if ((cp = str = strdup(qstr)) == NULL)
      |                ^
../spectrwm.c:9670:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9670 |  while ((name = strsep(&cp, SWM_Q_DELIM)) != NULL) {
      |               ^
../spectrwm.c: In function 'quirk_insert':
../spectrwm.c:9719:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9719 |  if ((qp->class = strdup(class)) == NULL)
      |                 ^
../spectrwm.c:9721:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9721 |  if ((qp->instance = strdup(instance)) == NULL)
      |                    ^
../spectrwm.c:9723:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9723 |  if ((qp->name = strdup(name)) == NULL)
      |                ^
../spectrwm.c: In function 'setconfquirk':
../spectrwm.c:9876:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9876 |  if ((str = strdup(selector)) == NULL)
      |           ^
../spectrwm.c: In function 'setconfvalue':
../spectrwm.c:10045:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10045 |   if ((sp = str = strdup(value)) == NULL)
      |                 ^
../spectrwm.c:10049:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10049 |   while ((b = strsep(&sp, ",")) != NULL) {
      |             ^
../spectrwm.c:10062:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10062 |   if ((sp = str = strdup(value)) == NULL)
      |                 ^
../spectrwm.c:10066:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10066 |   while ((b = strsep(&sp, ",")) != NULL) {
      |             ^
../spectrwm.c:10070:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10070 |    if ((bar_fontnames[num_xftfonts] = strdup(b))
      |                                     ^
../spectrwm.c:10081:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10081 |   if ((bar_fontname_pua = strdup(value)) == NULL)
      |                         ^
../spectrwm.c:10086:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10086 |   if ((bar_format = strdup(value)) == NULL)
      |                   ^
../spectrwm.c:10118:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10118 |   if ((clock_format = strdup(value)) == NULL)
      |                     ^
../spectrwm.c:10286:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10286 |    if ((ws[ws_id].name = strdup(value)) == NULL)
      |                        ^
../spectrwm.c: In function 'setconfcolorlist':
../spectrwm.c:10389:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10389 |   if ((sp = str = strdup(value)) == NULL)
      |                 ^
../spectrwm.c:10393:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10393 |   while ((b = strsep(&sp, ",")) != NULL) {
      |             ^
../spectrwm.c:10407:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10407 |   if ((sp = str = strdup(value)) == NULL)
      |                 ^
../spectrwm.c:10411:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10411 |   while ((b = strsep(&sp, ",")) != NULL) {
      |             ^
../spectrwm.c: In function 'setautorun':
../spectrwm.c:10514:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10514 |  while ((ap = strsep(&sp, " \t")) != NULL) {
      |             ^
../spectrwm.c: In function '_add_startup_exception':
../spectrwm.c:10714:6: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
10714 |  if (vasprintf(&startup_exception, fmt, ap) == -1)
      |      ^~~~~~~~~
      |      vsprintf
../spectrwm.c: In function 'setup_globals':
../spectrwm.c:13284:17: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13284 |  if ((bar_fonts = strdup(SWM_BAR_FONTS)) == NULL)
      |                 ^
../spectrwm.c:13287:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13287 |  if ((clock_format = strdup("%a %b %d %R %Z %Y")) == NULL)
      |                    ^
../spectrwm.c: In function 'scan_config':
../spectrwm.c:13309:14: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'?
13309 |  char   conf[PATH_MAX];
      |              ^~~~~~~~
      |              SH_MAX
../spectrwm.c:13343:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13343 |     if ((str = strdup(ret)) == NULL)
      |              ^
../spectrwm.c:13352:14: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13352 |    while ((s = strsep(&str, ":")) != NULL) {
      |              ^
../spectrwm.c:13309:9: warning: unused variable 'conf' [-Wunused-variable]
13309 |  char   conf[PATH_MAX];
      |         ^~~~
../spectrwm.c: In function 'main':
../spectrwm.c:13576:19: error: storage size of 'sact' isn't known
13576 |  struct sigaction sact;
      |                   ^~~~
../spectrwm.c:13584:15: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration]
13584 |  while ((ch = getopt(argc, argv, "c:hv")) != -1) {
      |               ^~~~~~
      |               gettxt
../spectrwm.c:13587:12: error: 'optarg' undeclared (first use in this function)
13587 |    cfile = optarg;
      |            ^~~~~~
../spectrwm.c:13613:2: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration]
13613 |  sigemptyset(&sact.sa_mask);
      |  ^~~~~~~~~~~
      |  XK_emptyset
../spectrwm.c:13616:2: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
13616 |  sigaction(SIGINT, &sact, NULL);
      |  ^~~~~~~~~
../spectrwm.c:13622:18: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
13622 |  sact.sa_flags = SA_NOCLDSTOP;
      |                  ^~~~~~~~~~~~
../spectrwm.c:13576:19: warning: unused variable 'sact' [-Wunused-variable]
13576 |  struct sigaction sact;
      |                   ^~~~
gmake: *** [Makefile:38: spectrwm.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/spectrwm
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/spectrwm