+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.7.0/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.7.0/work.log ===> Building for spectrwm-3.7.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/local/include -I/opt/local/include/freetype2 -I/usr/include -I. -D_GNU_SOURCE -DSWM_LIB=\"/opt/local/lib/libswmhack.so.0.0\" -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include -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/local/include -I/opt/local/include/freetype2 -I/usr/include -I. -D_GNU_SOURCE -DSWM_LIB=\"/opt/local/lib/libswmhack.so.0.0\" -I/opt/local/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include -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:2175:37: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 2175 | if ((user = strndup(s, p - s)) == NULL) | ^~~~~~~ | strncmp ../spectrwm.c:2175:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2175 | if ((user = strndup(s, p - s)) == NULL) | ^ ../spectrwm.c:2184:29: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 2184 | if (ppwd && asprintf(&result, "%s%s", ppwd->pw_dir, s) == -1) | ^~~~~~~~ | vsprintf ../spectrwm.c:2189:31: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 2189 | if ((result = strdup(str)) == NULL) | ^~~~~~ | strcmp ../spectrwm.c:2189:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2189 | if ((result = strdup(str)) == NULL) | ^ ../spectrwm.c: In function 'get_atom_from_string': ../spectrwm.c:2484:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2484 | if ((name = strdup(str)) == NULL) | ^ ../spectrwm.c: In function 'debug_refresh': ../spectrwm.c:3235:29: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration] 3235 | while ((b = strsep(&sp, "\n"))) { | ^~~~~~ | strstr ../spectrwm.c:3235:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3235 | while ((b = strsep(&sp, "\n"))) { | ^ ../spectrwm.c: In function 'parse_color': ../spectrwm.c:3443:25: warning: implicit declaration of function 'strlcat'; did you mean 'strncat'? [-Wimplicit-function-declaration] 3443 | strlcat(cname, name + 2, sizeof cname - 1); | ^~~~~~~ | strncat ../spectrwm.c: In function 'setscreencolor': ../spectrwm.c:3550:34: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] 3550 | s->c[c].colors = reallocarray(s->c[c].colors, i + 1, | ^~~~~~~~~~~~ ../spectrwm.c:3550:32: warning: assignment to 'struct swm_color **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3550 | s->c[c].colors = reallocarray(s->c[c].colors, i + 1, | ^ ../spectrwm.c: In function 'fancy_stacker': ../spectrwm.c:3697:17: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 3697 | strlcpy(ws->stacker, "[ ~ ]", ws->stacker_len); | ^~~~~~~ | strncpy ../spectrwm.c: In function 'bar_extra_stop': ../spectrwm.c:4064:17: warning: implicit declaration of function 'kill'; did you mean 'wkill'? [-Wimplicit-function-declaration] 4064 | kill(bar_pid, SIGTERM); | ^~~~ | wkill ../spectrwm.c: In function 'bar_replace_seq': ../spectrwm.c:4422:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 4422 | bzero(tmp, sizeof tmp); | ^~~~~ ../spectrwm.c: In function 'bar_fmt_expand': ../spectrwm.c:4959:9: warning: implicit declaration of function 'localtime_r'; did you mean 'localtime'? [-Wimplicit-function-declaration] 4959 | localtime_r(&tmt, &tm); | ^~~~~~~~~~~ | localtime ../spectrwm.c: In function 'isxlfd': ../spectrwm.c:5208:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 5208 | while ((s = index(s, '-'))) { | ^~~~~ ../spectrwm.c:5208:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5208 | while ((s = index(s, '-'))) { | ^ ../spectrwm.c: In function 'setup_fonts': ../spectrwm.c:5377:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5377 | if ((bar_fonts = strdup(SWM_BAR_FONTS)) == NULL) | ^ ../spectrwm.c:5391:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5391 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:5405:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5405 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:5421:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5421 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:5424:49: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5424 | if ((bar_fontnames[i++] = strdup(b)) == NULL) | ^ ../spectrwm.c:5448:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5448 | if ((bar_fonts = strdup(SWM_BAR_FONTS_FALLBACK)) == NULL) | ^ ../spectrwm.c: In function 'prioritize_window': ../spectrwm.c:5904:9: warning: implicit declaration of function 'TAILQ_CONCAT'; did you mean 'STAILQ_CONCAT'? [-Wimplicit-function-declaration] 5904 | TAILQ_CONCAT(&ordered, &win->s->priority, priority_entry); | ^~~~~~~~~~~~ | STAILQ_CONCAT ../spectrwm.c:5904:51: error: 'priority_entry' undeclared (first use in this function) 5904 | TAILQ_CONCAT(&ordered, &win->s->priority, priority_entry); | ^~~~~~~~~~~~~~ ../spectrwm.c:5904:51: note: each undeclared identifier is reported only once for each function it appears in ../spectrwm.c: In function 'restart': ../spectrwm.c:6312:17: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 6312 | unsetenv("SWM_STARTED"); | ^~~~~~~~ | getenv ../spectrwm.c:6313:17: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 6313 | setenv("SWM_RESTART", "YES", 1); | ^~~~~~ | getenv gcc -Wl,--as-needed -fPIC -shared -L/opt/local/lib -Wl,-R/opt/local/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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:9521:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9521 | name = strndup(xcb_get_property_value(r), | ^ ../spectrwm.c:9524:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9524 | name = strdup(""); | ^ ../spectrwm.c: In function 'uniconify': ../spectrwm.c:9628:22: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 9628 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^~~~~~ | fopen ../spectrwm.c:9628:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9628 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'name_workspace': ../spectrwm.c:9693:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9693 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_workspace': ../spectrwm.c:9721:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9721 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_win': ../spectrwm.c:9852:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9852 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_resp_name_workspace': ../spectrwm.c:9958:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9958 | ws->name = strdup(resp); | ^ ../spectrwm.c: In function 'ewmh_get_desktop_names': ../spectrwm.c:10034:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10034 | ws->name = strdup(names + i); | ^ ../spectrwm.c: In function 'search_resp_search_workspace': ../spectrwm.c:10143:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10143 | q = strdup(resp); | ^ ../spectrwm.c: In function 'search_resp_search_window': ../spectrwm.c:10174:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10174 | s = strdup(resp); | ^ ../spectrwm.c: In function 'spawn_expand': ../spectrwm.c:11711:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 11711 | if (strcasecmp(ap, "$bar_border") == 0) { | ^~~~~~~~~~ | strncmp ../spectrwm.c:11720:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11720 | if ((real_args[c] = strdup(bar_fonts)) == NULL) | ^ ../spectrwm.c:11777:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11777 | if ((real_args[c] = strdup("-b")) == NULL) | ^ ../spectrwm.c:11781:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11781 | if ((real_args[c] = strdup(ap)) == NULL) | ^ ../spectrwm.c: In function 'spawn_insert': ../spectrwm.c:11988:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11988 | if ((sp->name = strdup(name)) == NULL) | ^ ../spectrwm.c:11992:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11992 | if ((ptr = cp = strdup(args)) == NULL) | ^ ../spectrwm.c:12003:45: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12003 | if ((sp->argv[sp->argc - 1] = strdup(arg)) == NULL) | ^ ../spectrwm.c: In function 'parse_spawn_flags': ../spectrwm.c:12152:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12152 | if ((cp = tmp = strdup(str)) == NULL) | ^ ../spectrwm.c:12157:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12157 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'setconfspawn': ../spectrwm.c:12284:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12284 | if ((str = strdup(selector)) == NULL) | ^ ../spectrwm.c: In function 'validate_spawns': ../spectrwm.c:12307:39: error: 'PATH_MAX' undeclared (first use in this function) 12307 | char which[PATH_MAX]; | ^~~~~~~~ ../spectrwm.c:12307:33: warning: unused variable 'which' [-Wunused-variable] 12307 | char which[PATH_MAX]; | ^~~~~ ../spectrwm.c: In function 'parsebinding': ../spectrwm.c:12402:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12402 | if ((cp = str = strdup(bindstr)) == NULL) | ^ ../spectrwm.c:12409:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12409 | while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) { | ^ ../spectrwm.c:12413:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 12413 | if (strncasecmp(name, "MOD", SWM_MODNAME_SIZE) == 0) | ^~~~~~~~~~~ | strncmp ../spectrwm.c: In function 'strdupsafe': ../spectrwm.c:12468:25: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 12468 | return (strdup(str)); | ~^~~~~~~~~~~~ ../spectrwm.c: In function 'parse_workspace_indicator': ../spectrwm.c:13271:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13271 | if ((cp = tmp = strdup(str)) == NULL) | ^ ../spectrwm.c:13275:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13275 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'setlayoutorder': ../spectrwm.c:13310:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13310 | if ((cp = s = strdup(str)) == NULL) | ^ ../spectrwm.c:13315:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13315 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'parsequirks': ../spectrwm.c:13386:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13386 | if ((cp = str = strdup(qstr)) == NULL) | ^ ../spectrwm.c:13390:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13390 | while ((name = strsep(&cp, SWM_Q_DELIM)) != NULL) { | ^ ../spectrwm.c: In function 'quirk_insert': ../spectrwm.c:13449:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13449 | if ((qp->class = strdup(class)) == NULL) | ^ ../spectrwm.c:13451:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13451 | if ((qp->instance = strdup(instance)) == NULL) | ^ ../spectrwm.c:13453:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13453 | if ((qp->name = strdup(name)) == NULL) | ^ ../spectrwm.c: In function 'parse_window_type': ../spectrwm.c:13593:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13593 | if ((cp = tmp = strdup(str)) == NULL) | ^ ../spectrwm.c:13597:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13597 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'parse_focus_types': ../spectrwm.c:13647:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13647 | if ((cp = tmp = strdup(str)) == NULL) | ^ ../spectrwm.c:13652:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13652 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'setconfquirk': ../spectrwm.c:13740:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13740 | if ((str = strdup(selector)) == NULL) | ^ ../spectrwm.c: In function 'setconfvalue': ../spectrwm.c:13969:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13969 | if ((bar_fonts = strdup(value)) == NULL) | ^ ../spectrwm.c:13974:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13974 | if ((bar_fontname_pua = strdup(value)) == NULL) | ^ ../spectrwm.c:13979:33: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13979 | if ((bar_format = strdup(value)) == NULL) | ^ ../spectrwm.c:14043:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14043 | if ((clock_format = strdup(value)) == NULL) | ^ ../spectrwm.c:14294:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14294 | if ((ws->name = strdup(value)) == NULL) | ^ ../spectrwm.c: In function 'setconfcancelkey': ../spectrwm.c:14443:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14443 | if ((cp = name = strdup(value)) == NULL) | ^ ../spectrwm.c: In function 'parseconfcolor': ../spectrwm.c:14486:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14486 | if ((sp = str = strdup(value)) == NULL) | ^ ../spectrwm.c:14494:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14494 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'setautorun': ../spectrwm.c:14649:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 14649 | while ((ap = strsep(&sp, " \t")) != NULL) { | ^ ../spectrwm.c: In function '_add_startup_exception': ../spectrwm.c:14942:13: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 14942 | if (vasprintf(&startup_exception, fmt, ap) == -1) | ^~~~~~~~~ | vsprintf ../spectrwm.c: In function 'conf_load': ../spectrwm.c:15002:29: warning: implicit declaration of function 'fparseln' [-Wimplicit-function-declaration] 15002 | if ((line = fparseln(config, &linelen, &lineno, NULL, | ^~~~~~~~ ../spectrwm.c:15003:21: error: 'FPARSELN_UNESCCOMM' undeclared (first use in this function) 15003 | FPARSELN_UNESCCOMM | FPARSELN_UNESCCONT)) == NULL) { | ^~~~~~~~~~~~~~~~~~ ../spectrwm.c:15003:42: error: 'FPARSELN_UNESCCONT' undeclared (first use in this function) 15003 | FPARSELN_UNESCCOMM | FPARSELN_UNESCCONT)) == NULL) { | ^~~~~~~~~~~~~~~~~~ ../spectrwm.c: In function 'strtoint32': ../spectrwm.c:15136:15: warning: implicit declaration of function 'strtonum'; did you mean 'strtoul'? [-Wimplicit-function-declaration] 15136 | ret = strtonum(str, min, max, &errstr); | ^~~~~~~~ | strtoul ../spectrwm.c: In function 'load_defaults': ../spectrwm.c:18367:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18367 | if ((clock_format = strdup("%a %b %d %R %Z %Y")) == NULL) | ^ ../spectrwm.c:18371:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18371 | if ((focus_mark_none = strdup("")) == NULL) | ^ ../spectrwm.c:18375:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18375 | if ((focus_mark_normal = strdup("")) == NULL) | ^ ../spectrwm.c:18379:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18379 | if ((focus_mark_floating = strdup("(f)")) == NULL) | ^ ../spectrwm.c:18383:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18383 | if ((focus_mark_free = strdup("(*)")) == NULL) | ^ ../spectrwm.c:18387:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18387 | if ((focus_mark_maximized = strdup("(m)")) == NULL) | ^ ../spectrwm.c:18391:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18391 | if ((stack_mark_floating = strdup("[~]")) == NULL) | ^ ../spectrwm.c:18395:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18395 | if ((stack_mark_max = strdup("[ ]")) == NULL) | ^ ../spectrwm.c:18399:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18399 | if ((stack_mark_vertical = strdup("[|]")) == NULL) | ^ ../spectrwm.c:18403:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18403 | if ((stack_mark_vertical_flip = strdup("[>]")) == NULL) | ^ ../spectrwm.c:18407:41: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18407 | if ((stack_mark_vertical_center = strdup("(|)")) == NULL) | ^ ../spectrwm.c:18411:46: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18411 | if ((stack_mark_vertical_center_flip = strdup("(>)")) == NULL) | ^ ../spectrwm.c:18415:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18415 | if ((stack_mark_horizontal = strdup("[-]")) == NULL) | ^ ../spectrwm.c:18419:41: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18419 | if ((stack_mark_horizontal_flip = strdup("[v]")) == NULL) | ^ ../spectrwm.c:18423:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18423 | if ((stack_mark_horizontal_center = strdup("(-)")) == NULL) | ^ ../spectrwm.c:18427:48: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18427 | if ((stack_mark_horizontal_center_flip = strdup("(v)")) == NULL) | ^ ../spectrwm.c:18431:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18431 | if ((workspace_mark_current = strdup("*")) == NULL) | ^ ../spectrwm.c:18435:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18435 | if ((workspace_mark_urgent = strdup("!")) == NULL) | ^ ../spectrwm.c:18439:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18439 | if ((workspace_mark_active = strdup("^")) == NULL) | ^ ../spectrwm.c:18443:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18443 | if ((workspace_mark_empty = strdup("-")) == NULL) | ^ ../spectrwm.c: In function 'scan_config': ../spectrwm.c:18476:38: error: 'PATH_MAX' undeclared (first use in this function) 18476 | char conf[PATH_MAX]; | ^~~~~~~~ ../spectrwm.c:18510:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18510 | if ((str = strdup(ret)) == NULL) | ^ ../spectrwm.c:18520:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18520 | while ((s = strsep(&sp, ":")) != NULL) { | ^ ../spectrwm.c:18560:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 18560 | ret = strdup(cfile); | ^ ../spectrwm.c:18476:33: warning: unused variable 'conf' [-Wunused-variable] 18476 | char conf[PATH_MAX]; | ^~~~ ../spectrwm.c: In function 'main': ../spectrwm.c:18795:33: error: storage size of 'sact' isn't known 18795 | struct sigaction sact; | ^~~~ ../spectrwm.c:18802:22: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration] 18802 | while ((ch = getopt(argc, argv, "c:dhv")) != -1) { | ^~~~~~ | gettxt ../spectrwm.c:18805:49: error: 'optarg' undeclared (first use in this function) 18805 | if ((conf_file = strdup(optarg)) == NULL) | ^~~~~~ ../spectrwm.c:18831:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration] 18831 | sigemptyset(&sact.sa_mask); | ^~~~~~~~~~~ | XK_emptyset ../spectrwm.c:18834:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration] 18834 | sigaction(SIGINT, &sact, NULL); | ^~~~~~~~~ ../spectrwm.c:18841:25: error: 'SA_NOCLDSTOP' undeclared (first use in this function) 18841 | sact.sa_flags = SA_NOCLDSTOP; | ^~~~~~~~~~~~ ../spectrwm.c:18795:33: warning: unused variable 'sact' [-Wunused-variable] 18795 | struct sigaction sact; | ^~~~ ../spectrwm.c: At top level: ../spectrwm.c:12821:1: warning: 'button_has_binding' defined but not used [-Wunused-function] 12821 | 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-trunk-x86_64/wm/spectrwm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/spectrwm