+ 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.5.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.5.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for spectrwm-3.5.1
gcc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I. -D_GNU_SOURCE -DSWM_LIB=\"/opt/pkg/lib/libswmhack.so.0.0\" -I/opt/pkg/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -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:2072:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
 2072 |                 result = strdup(sc);
      |                          ^~~~~~
      |                          strcmp
../spectrwm.c:2072:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2072 |                 result = strdup(sc);
      |                        ^
../spectrwm.c:2093:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2093 |                 result = strdup(sc);
      |                        ^
../spectrwm.c:2095:21: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 2095 |                 if (asprintf(&result, "%s%s", ppwd->pw_dir, s) == -1)
      |                     ^~~~~~~~
      |                     vsprintf
../spectrwm.c: In function 'get_atom_from_string':
../spectrwm.c:2392:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2392 |                 if ((name = strdup(str)) == NULL)
      |                           ^
../spectrwm.c: In function 'debug_refresh':
../spectrwm.c:3156:29: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration]
 3156 |                 while ((b = strsep(&sp, "\n"))) {
      |                             ^~~~~~
      |                             strstr
../spectrwm.c:3156:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3156 |                 while ((b = strsep(&sp, "\n"))) {
      |                           ^
../spectrwm.c: In function 'bar_extra_stop':
../spectrwm.c:3838:17: warning: implicit declaration of function 'kill'; did you mean 'wkill'? [-Wimplicit-function-declaration]
 3838 |                 kill(bar_pid, SIGTERM);
      |                 ^~~~
      |                 wkill
../spectrwm.c: In function 'bar_replace_seq':
../spectrwm.c:4185:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
 4185 |         bzero(tmp, sizeof tmp);
      |         ^~~~~
../spectrwm.c: In function 'isxlfd':
../spectrwm.c:4969:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
 4969 |         while ((s = index(s, '-'))) {
      |                     ^~~~~
../spectrwm.c:4969:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 4969 |         while ((s = index(s, '-'))) {
      |                   ^
../spectrwm.c: In function 'setup_fonts':
../spectrwm.c:5105:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5105 |                 if ((bar_fonts = strdup(SWM_BAR_FONTS)) == NULL)
      |                                ^
../spectrwm.c:5119:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5119 |         while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                   ^
../spectrwm.c:5132:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5132 |                 while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                           ^
../spectrwm.c:5135:58: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5135 |                         if ((bar_fontnames[num_xftfonts] = strdup(b)) == NULL)
      |                                                          ^
../spectrwm.c:5162:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5162 |                 if ((bar_fonts = strdup(SWM_BAR_FONTS_FALLBACK)) == NULL)
      |                                ^
../spectrwm.c: In function 'restart':
../spectrwm.c:5735:17: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 5735 |                 unsetenv("SWM_STARTED");
      |                 ^~~~~~~~
      |                 getenv
../spectrwm.c: In function 'spawn':
../spectrwm.c:5999:17: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 5999 |                 setenv("LD_PRELOAD", ret, 1);
      |                 ^~~~~~
      |                 getenv
../spectrwm.c: In function 'get_win_name':
../spectrwm.c:8736:24: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
 8736 |                 name = strndup(xcb_get_property_value(r),
      |                        ^~~~~~~
      |                        strncmp
../spectrwm.c:8736:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8736 |                 name = strndup(xcb_get_property_value(r),
      |                      ^
../spectrwm.c:8739:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8739 |                 name = strdup("");
      |                      ^
../spectrwm.c: In function 'uniconify':
../spectrwm.c:8794:22: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
 8794 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                      ^~~~~~
      |                      fopen
../spectrwm.c:8794:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8794 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'name_workspace':
../spectrwm.c:8840:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8840 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_workspace':
../spectrwm.c:8868:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8868 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_win':
../spectrwm.c:8999:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8999 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_resp_name_workspace':
../spectrwm.c:9136:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9136 |                 ws->name = strdup(resp);
      |                          ^
../spectrwm.c: In function 'ewmh_get_desktop_names':
../spectrwm.c:9214:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9214 |                                 ws->name = strdup(names + i);
      |                                          ^
../spectrwm.c: In function 'search_resp_search_workspace':
../spectrwm.c:9344:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9344 |         q = strdup(resp);
      |           ^
../spectrwm.c: In function 'search_resp_search_window':
../spectrwm.c:9374:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9374 |         s = strdup(resp);
      |           ^
../spectrwm.c: In function 'spawn_expand':
../spectrwm.c:10924:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
10924 |                 if (strcasecmp(spawn_name, prog->name) == 0)
      |                     ^~~~~~~~~~
      |                     strncmp
../spectrwm.c:10949:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10949 |                         if ((real_args[c] = strdup(bar_fonts)) == NULL)
      |                                           ^
../spectrwm.c:10991:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10991 |                         if ((real_args[c] = strdup("-b")) == NULL)
      |                                           ^
../spectrwm.c:10995:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
10995 |                         if ((real_args[c] = strdup(ap)) == NULL)
      |                                           ^
../spectrwm.c: In function 'spawn_insert':
../spectrwm.c:11173:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11173 |         if ((sp->name = strdup(name)) == NULL)
      |                       ^
../spectrwm.c:11177:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11177 |         if ((ptr = cp = strdup(args)) == NULL)
      |                       ^
../spectrwm.c:11188:45: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11188 |                 if ((sp->argv[sp->argc - 1] = strdup(arg)) == NULL)
      |                                             ^
../spectrwm.c: In function 'validate_spawns':
../spectrwm.c:11294:39: error: 'PATH_MAX' undeclared (first use in this function)
11294 |         char                    which[PATH_MAX];
      |                                       ^~~~~~~~
../spectrwm.c:11294:39: note: each undeclared identifier is reported only once for each function it appears in
../spectrwm.c:11294:33: warning: unused variable 'which' [-Wunused-variable]
11294 |         char                    which[PATH_MAX];
      |                                 ^~~~~
../spectrwm.c: In function 'parsebinding':
../spectrwm.c:11368:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11368 |         if ((cp = str = strdup(bindstr)) == NULL)
      |                       ^
../spectrwm.c:11375:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11375 |         while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) {
      |                      ^
../spectrwm.c:11379:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
11379 |                 if (strncasecmp(name, "MOD", SWM_MODNAME_SIZE) == 0)
      |                     ^~~~~~~~~~~
      |                     strncmp
../spectrwm.c: In function 'strdupsafe':
../spectrwm.c:11434:25: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion]
11434 |                 return (strdup(str));
      |                        ~^~~~~~~~~~~~
../spectrwm.c: In function 'parse_workspace_indicator':
../spectrwm.c:12208:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12208 |         if ((cp = tmp = strdup(str)) == NULL)
      |                       ^
../spectrwm.c:12212:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12212 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'parsequirks':
../spectrwm.c:12265:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12265 |         if ((cp = str = strdup(qstr)) == NULL)
      |                       ^
../spectrwm.c:12269:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12269 |         while ((name = strsep(&cp, SWM_Q_DELIM)) != NULL) {
      |                      ^
../spectrwm.c: In function 'quirk_insert':
../spectrwm.c:12318:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12318 |         if ((qp->class = strdup(class)) == NULL)
      |                        ^
../spectrwm.c:12320:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12320 |         if ((qp->instance = strdup(instance)) == NULL)
      |                           ^
../spectrwm.c:12322:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12322 |         if ((qp->name = strdup(name)) == NULL)
      |                       ^
../spectrwm.c: In function 'setconfquirk':
../spectrwm.c:12475:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12475 |         if ((str = strdup(selector)) == NULL)
      |                  ^
../spectrwm.c: In function 'setconfvalue':
../spectrwm.c:12666:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12666 |                 if ((bar_fonts = strdup(value)) == NULL)
      |                                ^
../spectrwm.c:12671:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12671 |                 if ((bar_fontname_pua = strdup(value)) == NULL)
      |                                       ^
../spectrwm.c:12676:33: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12676 |                 if ((bar_format = strdup(value)) == NULL)
      |                                 ^
../spectrwm.c:12711:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12711 |                 if ((clock_format = strdup(value)) == NULL)
      |                                   ^
../spectrwm.c:12943:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12943 |                                 if ((ws->name = strdup(value)) == NULL)
      |                                               ^
../spectrwm.c: In function 'setconfcancelkey':
../spectrwm.c:13068:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13068 |         if ((cp = name = strdup(value)) == NULL)
      |                        ^
../spectrwm.c: In function 'setconfcolorlist':
../spectrwm.c:13175:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13175 |                 if ((sp = str = strdup(value)) == NULL)
      |                               ^
../spectrwm.c:13179:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13179 |                 while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                           ^
../spectrwm.c:13194:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13194 |                 if ((sp = str = strdup(value)) == NULL)
      |                               ^
../spectrwm.c:13198:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13198 |                 while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                           ^
../spectrwm.c: In function 'setautorun':
../spectrwm.c:13318:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13318 |         while ((ap = strsep(&sp, " \t")) != NULL) {
      |                    ^
../spectrwm.c: In function '_add_startup_exception':
../spectrwm.c:13562:13: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
13562 |         if (vasprintf(&startup_exception, fmt, ap) == -1)
      |             ^~~~~~~~~
      |             vsprintf
../spectrwm.c: In function 'setup_globals':
../spectrwm.c:16667:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16667 |         if ((clock_format = strdup("%a %b %d %R %Z %Y")) == NULL)
      |                           ^
../spectrwm.c:16670:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16670 |         if ((focus_mark_none = strdup("")) == NULL)
      |                              ^
../spectrwm.c:16673:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16673 |         if ((focus_mark_normal = strdup("")) == NULL)
      |                                ^
../spectrwm.c:16676:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16676 |         if ((focus_mark_floating = strdup("(f)")) == NULL)
      |                                  ^
../spectrwm.c:16679:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16679 |         if ((focus_mark_free = strdup("(*)")) == NULL)
      |                              ^
../spectrwm.c:16682:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16682 |         if ((focus_mark_maximized = strdup("(m)")) == NULL)
      |                                   ^
../spectrwm.c:16685:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16685 |         if ((stack_mark_floating = strdup("[~]")) == NULL)
      |                                  ^
../spectrwm.c:16688:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16688 |         if ((stack_mark_max = strdup("[ ]")) == NULL)
      |                             ^
../spectrwm.c:16691:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16691 |         if ((stack_mark_vertical = strdup("[|]")) == NULL)
      |                                  ^
../spectrwm.c:16694:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16694 |         if ((stack_mark_vertical_flip = strdup("[>]")) == NULL)
      |                                       ^
../spectrwm.c:16697:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16697 |         if ((stack_mark_horizontal = strdup("[-]")) == NULL)
      |                                    ^
../spectrwm.c:16700:41: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16700 |         if ((stack_mark_horizontal_flip = strdup("[v]")) == NULL)
      |                                         ^
../spectrwm.c:16706:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16706 |         if ((workspace_mark_current = strdup("*")) == NULL)
      |                                     ^
../spectrwm.c:16709:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16709 |         if ((workspace_mark_urgent = strdup("!")) == NULL)
      |                                    ^
../spectrwm.c:16712:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16712 |         if ((workspace_mark_active = strdup("^")) == NULL)
      |                                    ^
../spectrwm.c:16715:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16715 |         if ((workspace_mark_empty = strdup("-")) == NULL)
      |                                   ^
../spectrwm.c: In function 'scan_config':
../spectrwm.c:16737:38: error: 'PATH_MAX' undeclared (first use in this function)
16737 |         char                    conf[PATH_MAX];
      |                                      ^~~~~~~~
../spectrwm.c:16771:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16771 |                                 if ((str = strdup(ret)) == NULL)
      |                                          ^
../spectrwm.c:16781:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
16781 |                         while ((s = strsep(&sp, ":")) != NULL) {
      |                                   ^
../spectrwm.c:16737:33: warning: unused variable 'conf' [-Wunused-variable]
16737 |         char                    conf[PATH_MAX];
      |                                 ^~~~
../spectrwm.c: In function 'main':
../spectrwm.c:17053:33: error: storage size of 'sact' isn't known
17053 |         struct sigaction        sact;
      |                                 ^~~~
../spectrwm.c:17061:22: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration]
17061 |         while ((ch = getopt(argc, argv, "c:dhv")) != -1) {
      |                      ^~~~~~
      |                      gettxt
../spectrwm.c:17064:33: error: 'optarg' undeclared (first use in this function)
17064 |                         cfile = optarg;
      |                                 ^~~~~~
../spectrwm.c:17088:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration]
17088 |         sigemptyset(&sact.sa_mask);
      |         ^~~~~~~~~~~
      |         XK_emptyset
../spectrwm.c:17091:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
17091 |         sigaction(SIGINT, &sact, NULL);
      |         ^~~~~~~~~
../spectrwm.c:17097:25: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
17097 |         sact.sa_flags = SA_NOCLDSTOP;
      |                         ^~~~~~~~~~~~
../spectrwm.c:17053:33: warning: unused variable 'sact' [-Wunused-variable]
17053 |         struct sigaction        sact;
      |                                 ^~~~
gmake: *** [Makefile:38: spectrwm.o] Error 1
*** Error code 2

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

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