+ 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.6.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.6.0/work.log
===> Building for spectrwm-3.6.0
Package libbsd-overlay was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbsd-overlay.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbsd-overlay' not found
Package libbsd-overlay was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbsd-overlay.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbsd-overlay' not found
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 -I/opt/pkg/include/freetype2 -c -o spectrwm.o ../spectrwm.c
gcc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIC -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_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o swm_hack.so ../lib/swm_hack.c
../lib/swm_hack.c: In function 'prepare_window_xcb':
../lib/swm_hack.c:339:17: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
  339 |                 unsetenv("_SWM_XTERM_FONTADJ");
      |                 ^~~~~~~~
      |                 getenv
../spectrwm.c: In function 'expand_tilde':
../spectrwm.c:2138:37: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
 2138 |                         if ((user = strndup(s, p - s)) == NULL)
      |                                     ^~~~~~~
      |                                     strncmp
../spectrwm.c:2138:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2138 |                         if ((user = strndup(s, p - s)) == NULL)
      |                                   ^
../spectrwm.c:2147:29: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
 2147 |                 if (ppwd && asprintf(&result, "%s%s", ppwd->pw_dir, s) == -1)
      |                             ^~~~~~~~
      |                             vsprintf
../spectrwm.c:2152:31: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
 2152 |                 if ((result = strdup(str)) == NULL)
      |                               ^~~~~~
      |                               strcmp
../spectrwm.c:2152:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2152 |                 if ((result = strdup(str)) == NULL)
      |                             ^
../spectrwm.c: In function 'get_atom_from_string':
../spectrwm.c:2447:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2447 |                 if ((name = strdup(str)) == NULL)
      |                           ^
../spectrwm.c: In function 'debug_refresh':
../spectrwm.c:3181:29: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration]
 3181 |                 while ((b = strsep(&sp, "\n"))) {
      |                             ^~~~~~
      |                             strstr
../spectrwm.c:3181:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3181 |                 while ((b = strsep(&sp, "\n"))) {
      |                           ^
../spectrwm.c: In function 'parse_color':
../spectrwm.c:3386:25: warning: implicit declaration of function 'strlcat'; did you mean 'strncat'? [-Wimplicit-function-declaration]
 3386 |                         strlcat(cname, name + 2, sizeof cname - 1);
      |                         ^~~~~~~
      |                         strncat
../spectrwm.c: In function 'setscreencolor':
../spectrwm.c:3493:34: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration]
 3493 |                 s->c[c].colors = reallocarray(s->c[c].colors, i + 1,
      |                                  ^~~~~~~~~~~~
../spectrwm.c:3493:32: warning: assignment to 'struct swm_color **' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3493 |                 s->c[c].colors = reallocarray(s->c[c].colors, i + 1,
      |                                ^
../spectrwm.c: In function 'fancy_stacker':
../spectrwm.c:3636:17: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
 3636 |                 strlcpy(ws->stacker, "[ ~ ]", ws->stacker_len);
      |                 ^~~~~~~
      |                 strncpy
../spectrwm.c: In function 'bar_extra_stop':
../spectrwm.c:3996:17: warning: implicit declaration of function 'kill'; did you mean 'wkill'? [-Wimplicit-function-declaration]
 3996 |                 kill(bar_pid, SIGTERM);
      |                 ^~~~
      |                 wkill
../spectrwm.c: In function 'bar_replace_seq':
../spectrwm.c:4353:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
 4353 |         bzero(tmp, sizeof tmp);
      |         ^~~~~
../spectrwm.c: In function 'bar_fmt_expand':
../spectrwm.c:4890:9: warning: implicit declaration of function 'localtime_r'; did you mean 'localtime'? [-Wimplicit-function-declaration]
 4890 |         localtime_r(&tmt, &tm);
      |         ^~~~~~~~~~~
      |         localtime
../spectrwm.c: In function 'isxlfd':
../spectrwm.c:5140:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
 5140 |         while ((s = index(s, '-'))) {
      |                     ^~~~~
../spectrwm.c:5140:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5140 |         while ((s = index(s, '-'))) {
      |                   ^
../spectrwm.c: In function 'setup_fonts':
../spectrwm.c:5289:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5289 |                 if ((bar_fonts = strdup(SWM_BAR_FONTS)) == NULL)
      |                                ^
../spectrwm.c:5303:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5303 |         while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                   ^
../spectrwm.c:5317:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5317 |                 while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                           ^
../spectrwm.c:5333:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5333 |                 while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                           ^
../spectrwm.c:5336:49: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5336 |                         if ((bar_fontnames[i++] = strdup(b)) == NULL)
      |                                                 ^
../spectrwm.c:5360:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 5360 |                 if ((bar_fonts = strdup(SWM_BAR_FONTS_FALLBACK)) == NULL)
      |                                ^
../spectrwm.c: In function 'restart':
../spectrwm.c:5951:17: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 5951 |                 unsetenv("SWM_STARTED");
      |                 ^~~~~~~~
      |                 getenv
../spectrwm.c: In function 'spawn':
../spectrwm.c:6218:25: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 6218 |                         setenv("LD_PRELOAD", ret, 1);
      |                         ^~~~~~
      |                         getenv
gcc -Wl,--as-needed -fPIC -shared -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -Wl,-soname,libswmhack.so.0.0 -o libswmhack.so.0.0 swm_hack.so -ldl 
ld: fatal: unrecognized option '--as-needed'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:41: libswmhack.so.0.0] Error 1
gmake: *** Waiting for unfinished jobs....
../spectrwm.c: In function 'get_win_name':
../spectrwm.c:8987:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8987 |                 name = strndup(xcb_get_property_value(r),
      |                      ^
../spectrwm.c:8990:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 8990 |                 name = strdup("");
      |                      ^
../spectrwm.c: In function 'uniconify':
../spectrwm.c:9045:22: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration]
 9045 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                      ^~~~~~
      |                      fopen
../spectrwm.c:9045:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9045 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'name_workspace':
../spectrwm.c:9091:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9091 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_workspace':
../spectrwm.c:9119:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9119 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_win':
../spectrwm.c:9250:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9250 |         if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL)
      |                    ^
../spectrwm.c: In function 'search_resp_name_workspace':
../spectrwm.c:9390:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9390 |                 ws->name = strdup(resp);
      |                          ^
../spectrwm.c: In function 'ewmh_get_desktop_names':
../spectrwm.c:9466:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9466 |                                 ws->name = strdup(names + i);
      |                                          ^
../spectrwm.c: In function 'search_resp_search_workspace':
../spectrwm.c:9575:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9575 |         q = strdup(resp);
      |           ^
../spectrwm.c: In function 'search_resp_search_window':
../spectrwm.c:9606:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 9606 |         s = strdup(resp);
      |           ^
../spectrwm.c: In function 'spawn_expand':
../spectrwm.c:11174:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
11174 |                 if (strcasecmp(ap, "$bar_border") == 0) {
      |                     ^~~~~~~~~~
      |                     strncmp
../spectrwm.c:11183:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11183 |                         if ((real_args[c] = strdup(bar_fonts)) == NULL)
      |                                           ^
../spectrwm.c:11240:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11240 |                         if ((real_args[c] = strdup("-b")) == NULL)
      |                                           ^
../spectrwm.c:11244:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11244 |                         if ((real_args[c] = strdup(ap)) == NULL)
      |                                           ^
../spectrwm.c: In function 'spawn_insert':
../spectrwm.c:11451:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11451 |         if ((sp->name = strdup(name)) == NULL)
      |                       ^
../spectrwm.c:11455:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11455 |         if ((ptr = cp = strdup(args)) == NULL)
      |                       ^
../spectrwm.c:11466:45: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11466 |                 if ((sp->argv[sp->argc - 1] = strdup(arg)) == NULL)
      |                                             ^
../spectrwm.c: In function 'parse_spawn_flags':
../spectrwm.c:11615:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11615 |         if ((cp = tmp = strdup(str)) == NULL)
      |                       ^
../spectrwm.c:11620:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11620 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'setconfspawn':
../spectrwm.c:11747:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11747 |         if ((str = strdup(selector)) == NULL)
      |                  ^
../spectrwm.c: In function 'validate_spawns':
../spectrwm.c:11770:39: error: 'PATH_MAX' undeclared (first use in this function)
11770 |         char                    which[PATH_MAX];
      |                                       ^~~~~~~~
../spectrwm.c:11770:39: note: each undeclared identifier is reported only once for each function it appears in
../spectrwm.c:11770:33: warning: unused variable 'which' [-Wunused-variable]
11770 |         char                    which[PATH_MAX];
      |                                 ^~~~~
../spectrwm.c: In function 'parsebinding':
../spectrwm.c:11865:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11865 |         if ((cp = str = strdup(bindstr)) == NULL)
      |                       ^
../spectrwm.c:11872:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
11872 |         while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) {
      |                      ^
../spectrwm.c:11876:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
11876 |                 if (strncasecmp(name, "MOD", SWM_MODNAME_SIZE) == 0)
      |                     ^~~~~~~~~~~
      |                     strncmp
../spectrwm.c: In function 'strdupsafe':
../spectrwm.c:11931:25: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion]
11931 |                 return (strdup(str));
      |                        ~^~~~~~~~~~~~
../spectrwm.c: In function 'parse_workspace_indicator':
../spectrwm.c:12712:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12712 |         if ((cp = tmp = strdup(str)) == NULL)
      |                       ^
../spectrwm.c:12716:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12716 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'setlayoutorder':
../spectrwm.c:12751:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12751 |         if ((cp = s = strdup(str)) == NULL)
      |                     ^
../spectrwm.c:12756:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12756 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'parsequirks':
../spectrwm.c:12824:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12824 |         if ((cp = str = strdup(qstr)) == NULL)
      |                       ^
../spectrwm.c:12828:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12828 |         while ((name = strsep(&cp, SWM_Q_DELIM)) != NULL) {
      |                      ^
../spectrwm.c: In function 'quirk_insert':
../spectrwm.c:12887:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12887 |         if ((qp->class = strdup(class)) == NULL)
      |                        ^
../spectrwm.c:12889:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12889 |         if ((qp->instance = strdup(instance)) == NULL)
      |                           ^
../spectrwm.c:12891:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
12891 |         if ((qp->name = strdup(name)) == NULL)
      |                       ^
../spectrwm.c: In function 'parse_window_type':
../spectrwm.c:13031:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13031 |         if ((cp = tmp = strdup(str)) == NULL)
      |                       ^
../spectrwm.c:13035:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13035 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'parse_focus_types':
../spectrwm.c:13085:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13085 |         if ((cp = tmp = strdup(str)) == NULL)
      |                       ^
../spectrwm.c:13090:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13090 |         while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) {
      |                      ^
../spectrwm.c: In function 'setconfquirk':
../spectrwm.c:13178:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13178 |         if ((str = strdup(selector)) == NULL)
      |                  ^
../spectrwm.c: In function 'setconfvalue':
../spectrwm.c:13393:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13393 |                 if ((bar_fonts = strdup(value)) == NULL)
      |                                ^
../spectrwm.c:13398:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13398 |                 if ((bar_fontname_pua = strdup(value)) == NULL)
      |                                       ^
../spectrwm.c:13403:33: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13403 |                 if ((bar_format = strdup(value)) == NULL)
      |                                 ^
../spectrwm.c:13445:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13445 |                 if ((clock_format = strdup(value)) == NULL)
      |                                   ^
../spectrwm.c:13670:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13670 |                                 if ((ws->name = strdup(value)) == NULL)
      |                                               ^
../spectrwm.c: In function 'setconfcancelkey':
../spectrwm.c:13803:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13803 |         if ((cp = name = strdup(value)) == NULL)
      |                        ^
../spectrwm.c: In function 'parseconfcolor':
../spectrwm.c:13846:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13846 |         if ((sp = str = strdup(value)) == NULL)
      |                       ^
../spectrwm.c:13854:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
13854 |         while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) {
      |                   ^
../spectrwm.c: In function 'setautorun':
../spectrwm.c:14009:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
14009 |         while ((ap = strsep(&sp, " \t")) != NULL) {
      |                    ^
../spectrwm.c: In function '_add_startup_exception':
../spectrwm.c:14271:13: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
14271 |         if (vasprintf(&startup_exception, fmt, ap) == -1)
      |             ^~~~~~~~~
      |             vsprintf
../spectrwm.c: In function 'conf_load':
../spectrwm.c:14323:29: warning: implicit declaration of function 'fparseln' [-Wimplicit-function-declaration]
14323 |                 if ((line = fparseln(config, &linelen, &lineno, NULL,
      |                             ^~~~~~~~
../spectrwm.c:14324:21: error: 'FPARSELN_UNESCCOMM' undeclared (first use in this function)
14324 |                     FPARSELN_UNESCCOMM | FPARSELN_UNESCCONT)) == NULL) {
      |                     ^~~~~~~~~~~~~~~~~~
../spectrwm.c:14324:42: error: 'FPARSELN_UNESCCONT' undeclared (first use in this function)
14324 |                     FPARSELN_UNESCCOMM | FPARSELN_UNESCCONT)) == NULL) {
      |                                          ^~~~~~~~~~~~~~~~~~
../spectrwm.c: In function 'strtoint32':
../spectrwm.c:14457:15: warning: implicit declaration of function 'strtonum'; did you mean 'strtoul'? [-Wimplicit-function-declaration]
14457 |         ret = strtonum(str, min, max, &errstr);
      |               ^~~~~~~~
      |               strtoul
../spectrwm.c: In function 'setup_globals':
../spectrwm.c:17512:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17512 |         if ((clock_format = strdup("%a %b %d %R %Z %Y")) == NULL)
      |                           ^
../spectrwm.c:17515:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17515 |         if ((focus_mark_none = strdup("")) == NULL)
      |                              ^
../spectrwm.c:17518:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17518 |         if ((focus_mark_normal = strdup("")) == NULL)
      |                                ^
../spectrwm.c:17521:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17521 |         if ((focus_mark_floating = strdup("(f)")) == NULL)
      |                                  ^
../spectrwm.c:17524:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17524 |         if ((focus_mark_free = strdup("(*)")) == NULL)
      |                              ^
../spectrwm.c:17527:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17527 |         if ((focus_mark_maximized = strdup("(m)")) == NULL)
      |                                   ^
../spectrwm.c:17530:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17530 |         if ((stack_mark_floating = strdup("[~]")) == NULL)
      |                                  ^
../spectrwm.c:17533:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17533 |         if ((stack_mark_max = strdup("[ ]")) == NULL)
      |                             ^
../spectrwm.c:17536:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17536 |         if ((stack_mark_vertical = strdup("[|]")) == NULL)
      |                                  ^
../spectrwm.c:17539:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17539 |         if ((stack_mark_vertical_flip = strdup("[>]")) == NULL)
      |                                       ^
../spectrwm.c:17542:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17542 |         if ((stack_mark_horizontal = strdup("[-]")) == NULL)
      |                                    ^
../spectrwm.c:17545:41: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17545 |         if ((stack_mark_horizontal_flip = strdup("[v]")) == NULL)
      |                                         ^
../spectrwm.c:17551:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17551 |         if ((workspace_mark_current = strdup("*")) == NULL)
      |                                     ^
../spectrwm.c:17554:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17554 |         if ((workspace_mark_urgent = strdup("!")) == NULL)
      |                                    ^
../spectrwm.c:17557:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17557 |         if ((workspace_mark_active = strdup("^")) == NULL)
      |                                    ^
../spectrwm.c:17560:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17560 |         if ((workspace_mark_empty = strdup("-")) == NULL)
      |                                   ^
../spectrwm.c: In function 'scan_config':
../spectrwm.c:17584:38: error: 'PATH_MAX' undeclared (first use in this function)
17584 |         char                    conf[PATH_MAX];
      |                                      ^~~~~~~~
../spectrwm.c:17618:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17618 |                                 if ((str = strdup(ret)) == NULL)
      |                                          ^
../spectrwm.c:17628:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
17628 |                         while ((s = strsep(&sp, ":")) != NULL) {
      |                                   ^
../spectrwm.c:17584:33: warning: unused variable 'conf' [-Wunused-variable]
17584 |         char                    conf[PATH_MAX];
      |                                 ^~~~
../spectrwm.c: In function 'main':
../spectrwm.c:17911:33: error: storage size of 'sact' isn't known
17911 |         struct sigaction        sact;
      |                                 ^~~~
../spectrwm.c:17919:22: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration]
17919 |         while ((ch = getopt(argc, argv, "c:dhv")) != -1) {
      |                      ^~~~~~
      |                      gettxt
../spectrwm.c:17922:33: error: 'optarg' undeclared (first use in this function)
17922 |                         cfile = optarg;
      |                                 ^~~~~~
../spectrwm.c:17946:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration]
17946 |         sigemptyset(&sact.sa_mask);
      |         ^~~~~~~~~~~
      |         XK_emptyset
../spectrwm.c:17949:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration]
17949 |         sigaction(SIGINT, &sact, NULL);
      |         ^~~~~~~~~
../spectrwm.c:17955:25: error: 'SA_NOCLDSTOP' undeclared (first use in this function)
17955 |         sact.sa_flags = SA_NOCLDSTOP;
      |                         ^~~~~~~~~~~~
../spectrwm.c:17911:33: warning: unused variable 'sact' [-Wunused-variable]
17911 |         struct sigaction        sact;
      |                                 ^~~~
../spectrwm.c: At top level:
../spectrwm.c:12257:1: warning: 'button_has_binding' defined but not used [-Wunused-function]
12257 | button_has_binding(uint32_t button)
      | ^~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:38: spectrwm.o] Error 1
*** Error code 2

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

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