+ 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.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.4.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for spectrwm-3.4.1nb2
gcc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g -fPIE -pipe -O2 -msave-args -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 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o spectrwm.o ../spectrwm.c
../spectrwm.c: In function 'expand_tilde':
../spectrwm.c:1440:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
 1440 |                 result = strdup(sc);
      |                          ^~~~~~
      |                          strcmp
../spectrwm.c:1440:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1440 |                 result = strdup(sc);
      |                        ^
../spectrwm.c:1461:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1461 |                 result = strdup(sc);
      |                        ^
../spectrwm.c:1463:21: 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:35: 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:17: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
 2605 |                 bzero(bar_pipe, sizeof bar_pipe);
      |                 ^~~~~
../spectrwm.c:2608:17: 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:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
 3638 |         while ((s = index(s, '-'))) {
      |                     ^~~~~
../spectrwm.c:3638:19: 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:17: 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:17: 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:24: 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:22: 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:22: 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:22: 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:20: 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:20: 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:20: 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:20: 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:26: 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:55: 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:11: 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:11: 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:21: 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:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8567 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8572:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8572 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8577:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8577 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8582:43: 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:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8586 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8591:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8591 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8596:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8596 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8601:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8601 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8606:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8606 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8611:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8611 |                         if ((real_args[c] =
      |                                           ^
../spectrwm.c:8625:43: 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:43: 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:23: 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:23: 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:45: 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:39: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'?
 8888 |         char                    which[PATH_MAX];
      |                                       ^~~~~~~~
      |                                       SH_MAX
../spectrwm.c:8888:39: note: each undeclared identifier is reported only once for each function it appears in
../spectrwm.c:8888:33: warning: unused variable 'which' [-Wunused-variable]
 8888 |         char                    which[PATH_MAX];
      |                                 ^~~~~
../spectrwm.c: In function 'parsebinding':
../spectrwm.c:8962:23: 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:24: 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:22: 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:21: 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:25: 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:23: 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:22: 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:23: 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:22: 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:24: 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:27: 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:23: 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:18: 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:31: 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:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10049 |                 while ((b = strsep(&sp, ",")) != NULL) {
      |                           ^
../spectrwm.c:10062:31: 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:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10066 |                 while ((b = strsep(&sp, ",")) != NULL) {
      |                           ^
../spectrwm.c:10070:58: 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:39: 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:33: 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:35: 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:45: 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:31: 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:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10393 |                 while ((b = strsep(&sp, ",")) != NULL) {
      |                           ^
../spectrwm.c:10407:31: 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:27: 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:20: 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:13: 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:24: 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:27: 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:38: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'?
13309 |         char                    conf[PATH_MAX];
      |                                      ^~~~~~~~
      |                                      SH_MAX
../spectrwm.c:13343:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13343 |                                 if ((str = strdup(ret)) == NULL)
      |                                          ^
../spectrwm.c:13352:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13352 |                         while ((s = strsep(&str, ":")) != NULL) {
      |                                   ^
../spectrwm.c:13309:33: warning: unused variable 'conf' [-Wunused-variable]
13309 |         char                    conf[PATH_MAX];
      |                                 ^~~~
../spectrwm.c: In function 'main':
../spectrwm.c:13576:33: error: storage size of 'sact' isn't known
13576 |         struct sigaction        sact;
      |                                 ^~~~
../spectrwm.c:13584:22: 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:33: error: 'optarg' undeclared (first use in this function)
13587 |                         cfile = optarg;
      |                                 ^~~~~~
../spectrwm.c:13613:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration]
13613 |         sigemptyset(&sact.sa_mask);
      |         ^~~~~~~~~~~
      |         XK_emptyset
../spectrwm.c:13616:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
13616 |         sigaction(SIGINT, &sact, NULL);
      |         ^~~~~~~~~
../spectrwm.c:13622:25: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
13622 |         sact.sa_flags = SA_NOCLDSTOP;
      |                         ^~~~~~~~~~~~
../spectrwm.c:13576:33: 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