+ 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.5.0/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spectrwm-3.5.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for spectrwm-3.5.0 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/opt/local/include/libpng16 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include -c -o spectrwm.o ../spectrwm.c ../spectrwm.c: In function 'expand_tilde': ../spectrwm.c:2068:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 2068 | result = strdup(sc); | ^~~~~~ | strcmp ../spectrwm.c:2068:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2068 | result = strdup(sc); | ^ ../spectrwm.c:2089:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2089 | result = strdup(sc); | ^ ../spectrwm.c:2091:21: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 2091 | if (asprintf(&result, "%s%s", ppwd->pw_dir, s) == -1) | ^~~~~~~~ | vsprintf ../spectrwm.c: In function 'get_atom_from_string': ../spectrwm.c:2388:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2388 | if ((name = strdup(str)) == NULL) | ^ ../spectrwm.c: In function 'debug_refresh': ../spectrwm.c:3152:29: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration] 3152 | while ((b = strsep(&sp, "\n"))) { | ^~~~~~ | strstr ../spectrwm.c:3152:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3152 | while ((b = strsep(&sp, "\n"))) { | ^ ../spectrwm.c: In function 'bar_extra_stop': ../spectrwm.c:3834:17: warning: implicit declaration of function 'kill'; did you mean 'wkill'? [-Wimplicit-function-declaration] 3834 | kill(bar_pid, SIGTERM); | ^~~~ | wkill ../spectrwm.c: In function 'bar_replace_seq': ../spectrwm.c:4181:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 4181 | bzero(tmp, sizeof tmp); | ^~~~~ ../spectrwm.c: In function 'isxlfd': ../spectrwm.c:4965:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 4965 | while ((s = index(s, '-'))) { | ^~~~~ ../spectrwm.c:4965:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 4965 | while ((s = index(s, '-'))) { | ^ ../spectrwm.c: In function 'setup_fonts': ../spectrwm.c:5101:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5101 | if ((bar_fonts = strdup(SWM_BAR_FONTS)) == NULL) | ^ ../spectrwm.c:5115:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5115 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:5128:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5128 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:5131:58: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5131 | if ((bar_fontnames[num_xftfonts] = strdup(b)) == NULL) | ^ ../spectrwm.c:5158:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5158 | if ((bar_fonts = strdup(SWM_BAR_FONTS_FALLBACK)) == NULL) | ^ ../spectrwm.c: In function 'restart': ../spectrwm.c:5731:17: warning: implicit declaration of function 'unsetenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 5731 | unsetenv("SWM_STARTED"); | ^~~~~~~~ | getenv ../spectrwm.c: In function 'spawn': ../spectrwm.c:5995:17: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 5995 | setenv("LD_PRELOAD", ret, 1); | ^~~~~~ | getenv ../spectrwm.c: In function 'get_win_name': ../spectrwm.c:8727:24: warning: implicit declaration of function 'strndup'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 8727 | name = strndup(xcb_get_property_value(r), | ^~~~~~~ | strncmp ../spectrwm.c:8727:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8727 | name = strndup(xcb_get_property_value(r), | ^ ../spectrwm.c:8730:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8730 | name = strdup(""); | ^ ../spectrwm.c: In function 'uniconify': ../spectrwm.c:8785:22: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 8785 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^~~~~~ | fopen ../spectrwm.c:8785:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8785 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'name_workspace': ../spectrwm.c:8831:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8831 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_workspace': ../spectrwm.c:8859:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8859 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_win': ../spectrwm.c:8990:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 8990 | if ((lfile = fdopen(select_list_pipe[1], "w")) == NULL) | ^ ../spectrwm.c: In function 'search_resp_name_workspace': ../spectrwm.c:9127:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9127 | ws->name = strdup(resp); | ^ ../spectrwm.c: In function 'ewmh_get_desktop_names': ../spectrwm.c:9205:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9205 | ws->name = strdup(names + i); | ^ ../spectrwm.c: In function 'search_resp_search_workspace': ../spectrwm.c:9335:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9335 | q = strdup(resp); | ^ ../spectrwm.c: In function 'search_resp_search_window': ../spectrwm.c:9365:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 9365 | s = strdup(resp); | ^ ../spectrwm.c: In function 'spawn_expand': ../spectrwm.c:10905:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 10905 | if (strcasecmp(spawn_name, prog->name) == 0) | ^~~~~~~~~~ | strncmp ../spectrwm.c:10930:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10930 | if ((real_args[c] = strdup(bar_fonts)) == NULL) | ^ ../spectrwm.c:10972:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10972 | if ((real_args[c] = strdup("-b")) == NULL) | ^ ../spectrwm.c:10976:43: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 10976 | if ((real_args[c] = strdup(ap)) == NULL) | ^ ../spectrwm.c: In function 'spawn_insert': ../spectrwm.c:11154:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11154 | if ((sp->name = strdup(name)) == NULL) | ^ ../spectrwm.c:11158:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11158 | if ((ptr = cp = strdup(args)) == NULL) | ^ ../spectrwm.c:11169:45: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11169 | if ((sp->argv[sp->argc - 1] = strdup(arg)) == NULL) | ^ ../spectrwm.c: In function 'validate_spawns': ../spectrwm.c:11275:39: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'? 11275 | char which[PATH_MAX]; | ^~~~~~~~ | SH_MAX ../spectrwm.c:11275:39: note: each undeclared identifier is reported only once for each function it appears in ../spectrwm.c:11275:33: warning: unused variable 'which' [-Wunused-variable] 11275 | char which[PATH_MAX]; | ^~~~~ ../spectrwm.c: In function 'parsebinding': ../spectrwm.c:11349:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11349 | if ((cp = str = strdup(bindstr)) == NULL) | ^ ../spectrwm.c:11356:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 11356 | while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) { | ^ ../spectrwm.c:11360:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 11360 | if (strncasecmp(name, "MOD", SWM_MODNAME_SIZE) == 0) | ^~~~~~~~~~~ | strncmp ../spectrwm.c: In function 'strdupsafe': ../spectrwm.c:11415:25: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 11415 | return (strdup(str)); | ~^~~~~~~~~~~~ ../spectrwm.c: In function 'parse_workspace_indicator': ../spectrwm.c:12189:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12189 | if ((cp = tmp = strdup(str)) == NULL) | ^ ../spectrwm.c:12193:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12193 | while ((name = strsep(&cp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'parsequirks': ../spectrwm.c:12246:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12246 | if ((cp = str = strdup(qstr)) == NULL) | ^ ../spectrwm.c:12250:22: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12250 | while ((name = strsep(&cp, SWM_Q_DELIM)) != NULL) { | ^ ../spectrwm.c: In function 'quirk_insert': ../spectrwm.c:12299:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12299 | if ((qp->class = strdup(class)) == NULL) | ^ ../spectrwm.c:12301:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12301 | if ((qp->instance = strdup(instance)) == NULL) | ^ ../spectrwm.c:12303:23: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12303 | if ((qp->name = strdup(name)) == NULL) | ^ ../spectrwm.c: In function 'setconfquirk': ../spectrwm.c:12456:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12456 | if ((str = strdup(selector)) == NULL) | ^ ../spectrwm.c: In function 'setconfvalue': ../spectrwm.c:12647:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12647 | if ((bar_fonts = strdup(value)) == NULL) | ^ ../spectrwm.c:12652:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12652 | if ((bar_fontname_pua = strdup(value)) == NULL) | ^ ../spectrwm.c:12657:33: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12657 | if ((bar_format = strdup(value)) == NULL) | ^ ../spectrwm.c:12692:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12692 | if ((clock_format = strdup(value)) == NULL) | ^ ../spectrwm.c:12924:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 12924 | if ((ws->name = strdup(value)) == NULL) | ^ ../spectrwm.c: In function 'setconfcancelkey': ../spectrwm.c:13049:24: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13049 | if ((cp = name = strdup(value)) == NULL) | ^ ../spectrwm.c: In function 'setconfcolorlist': ../spectrwm.c:13155:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13155 | if ((sp = str = strdup(value)) == NULL) | ^ ../spectrwm.c:13159:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13159 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c:13173:31: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13173 | if ((sp = str = strdup(value)) == NULL) | ^ ../spectrwm.c:13177:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13177 | while ((b = strsep(&sp, SWM_CONF_DELIMLIST)) != NULL) { | ^ ../spectrwm.c: In function 'setautorun': ../spectrwm.c:13296:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 13296 | while ((ap = strsep(&sp, " \t")) != NULL) { | ^ ../spectrwm.c: In function '_add_startup_exception': ../spectrwm.c:13540:13: warning: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 13540 | if (vasprintf(&startup_exception, fmt, ap) == -1) | ^~~~~~~~~ | vsprintf ../spectrwm.c: In function 'setup_globals': ../spectrwm.c:16634:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16634 | if ((clock_format = strdup("%a %b %d %R %Z %Y")) == NULL) | ^ ../spectrwm.c:16637:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16637 | if ((focus_mark_none = strdup("")) == NULL) | ^ ../spectrwm.c:16640:32: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16640 | if ((focus_mark_normal = strdup("")) == NULL) | ^ ../spectrwm.c:16643:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16643 | if ((focus_mark_floating = strdup("(f)")) == NULL) | ^ ../spectrwm.c:16646:30: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16646 | if ((focus_mark_free = strdup("(*)")) == NULL) | ^ ../spectrwm.c:16649:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16649 | if ((focus_mark_maximized = strdup("(m)")) == NULL) | ^ ../spectrwm.c:16652:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16652 | if ((stack_mark_floating = strdup("[~]")) == NULL) | ^ ../spectrwm.c:16655:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16655 | if ((stack_mark_max = strdup("[ ]")) == NULL) | ^ ../spectrwm.c:16658:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16658 | if ((stack_mark_vertical = strdup("[|]")) == NULL) | ^ ../spectrwm.c:16661:39: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16661 | if ((stack_mark_vertical_flip = strdup("[>]")) == NULL) | ^ ../spectrwm.c:16664:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16664 | if ((stack_mark_horizontal = strdup("[-]")) == NULL) | ^ ../spectrwm.c:16667:41: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16667 | if ((stack_mark_horizontal_flip = strdup("[v]")) == NULL) | ^ ../spectrwm.c:16673:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16673 | if ((workspace_mark_current = strdup("*")) == NULL) | ^ ../spectrwm.c:16676:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16676 | if ((workspace_mark_urgent = strdup("!")) == NULL) | ^ ../spectrwm.c:16679:36: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16679 | if ((workspace_mark_active = strdup("^")) == NULL) | ^ ../spectrwm.c:16682:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16682 | if ((workspace_mark_empty = strdup("-")) == NULL) | ^ ../spectrwm.c: In function 'scan_config': ../spectrwm.c:16704:38: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'SH_MAX'? 16704 | char conf[PATH_MAX]; | ^~~~~~~~ | SH_MAX ../spectrwm.c:16738:42: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16738 | if ((str = strdup(ret)) == NULL) | ^ ../spectrwm.c:16748:35: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 16748 | while ((s = strsep(&sp, ":")) != NULL) { | ^ ../spectrwm.c:16704:33: warning: unused variable 'conf' [-Wunused-variable] 16704 | char conf[PATH_MAX]; | ^~~~ ../spectrwm.c: In function 'main': ../spectrwm.c:17020:33: error: storage size of 'sact' isn't known 17020 | struct sigaction sact; | ^~~~ ../spectrwm.c:17028:22: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration] 17028 | while ((ch = getopt(argc, argv, "c:dhv")) != -1) { | ^~~~~~ | gettxt ../spectrwm.c:17031:33: error: 'optarg' undeclared (first use in this function) 17031 | cfile = optarg; | ^~~~~~ ../spectrwm.c:17055:9: warning: implicit declaration of function 'sigemptyset'; did you mean 'XK_emptyset'? [-Wimplicit-function-declaration] 17055 | sigemptyset(&sact.sa_mask); | ^~~~~~~~~~~ | XK_emptyset ../spectrwm.c:17058:9: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration] 17058 | sigaction(SIGINT, &sact, NULL); | ^~~~~~~~~ ../spectrwm.c:17064:25: error: 'SA_NOCLDSTOP' undeclared (first use in this function) 17064 | sact.sa_flags = SA_NOCLDSTOP; | ^~~~~~~~~~~~ ../spectrwm.c:17020:33: warning: unused variable 'sact' [-Wunused-variable] 17020 | struct sigaction sact; | ^~~~ gmake: *** [Makefile:38: spectrwm.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/spectrwm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wm/spectrwm