=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for vifm-0.1nb4 cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status creating config.h config.h is unchanged /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/usr/pkgsrc/work/sysutils/vifm/work/vifm-0.1' Making all in src gmake[2]: Entering directory '/usr/pkgsrc/work/sysutils/vifm/work/vifm-0.1/src' cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c vifm.c vifm.c:169:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(rwin.curr_dir, sizeof(rwin.curr_dir), dir); ^~~ vifm.c:170:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(lwin.curr_dir, sizeof(lwin.curr_dir), dir); ^~~ vifm.c:207:54: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(rwin.curr_dir, sizeof(rwin.curr_dir), argv[x]); ^~~~~~~ vifm.c:210:54: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(lwin.curr_dir, sizeof(lwin.curr_dir), argv[x]); ^~~~~~~ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c bookmarks.c bookmarks.c:84:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(!isalnum(mark)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ bookmarks.c:134:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if(!isalnum(mark)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c commands.c commands.c:416:5: warning: array subscript is of type 'char' [-Wchar-subscripts] if(isdigit(*name)) ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:445:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*command)) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:456:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*ptr)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:583:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*command)) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:585:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(command[strlen(command) -1])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:628:10: warning: array subscript is of type 'char' [-Wchar-subscripts] else if(isdigit(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:632:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isdigit(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:648:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:680:11: warning: array subscript is of type 'char' [-Wchar-subscripts] else if(isdigit(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:684:10: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isdigit(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:704:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(command[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:715:55: warning: array subscript is of type 'char' [-Wchar-subscripts] while(com_name[a] != ' ' && a < strlen(com_name) && !isdigit(com_name[a]) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ commands.c:720:8: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(command[i + strlen(com_name)])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:754:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(com[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:810:14: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(args[x])) ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:1123:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(expanded_com[strlen(expanded_com) -1])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:1156:10: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*tmp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ commands.c:1225:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(buf, sizeof(buf), string +1); ^~~~~~~~~ 18 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c config.c config.c:74:53: warning: 'strncpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] strncpy(lwin.filename_filter, "\\.o$", sizeof(lwin.filename_filter)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~^~~~~~~~~~~~~~~ config.c:74:53: note: did you mean to provide an explicit length? strncpy(lwin.filename_filter, "\\.o$", sizeof(lwin.filename_filter)); ~~~~~^~~~~~~~~~~~~~~ config.c:77:49: warning: 'strncpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] strncpy(lwin.prev_filter, "\\.o$", sizeof(lwin.prev_filter)); ~~~~~~~~~~~~~~~~ ~~~~~^~~~~~~~~~~ config.c:77:49: note: did you mean to provide an explicit length? strncpy(lwin.prev_filter, "\\.o$", sizeof(lwin.prev_filter)); ~~~~~^~~~~~~~~~~ config.c:82:53: warning: 'strncpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] strncpy(rwin.filename_filter, "\\.o$", sizeof(rwin.filename_filter)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~^~~~~~~~~~~~~~~ config.c:82:53: note: did you mean to provide an explicit length? strncpy(rwin.filename_filter, "\\.o$", sizeof(rwin.filename_filter)); ~~~~~^~~~~~~~~~~~~~~ config.c:85:49: warning: 'strncpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] strncpy(rwin.prev_filter, "\\.o$", sizeof(rwin.prev_filter)); ~~~~~~~~~~~~~~~~ ~~~~~^~~~~~~~~~~ config.c:85:49: note: did you mean to provide an explicit length? strncpy(rwin.prev_filter, "\\.o$", sizeof(rwin.prev_filter)); ~~~~~^~~~~~~~~~~ config.c:277:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if(isalnum(*s1)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c file_info.c file_info.c:114:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(name_buf, sizeof(name_buf), view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c filelist.c filelist.c:227:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(view->title, view->curr_dir); ^~~~~~~~~~~~~~ filelist.c:290:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(view->win, file_name); ^~~~~~~~~ filelist.c:299:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(view->win, file_name); ^~~~~~~~~ filelist.c:323:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(view->win, file_name); ^~~~~~~~~ filelist.c:445:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filelist.c:455:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->history[y +1].file); ^~~~~~~~~~~~~~~~~~~~~~~~ filelist.c:457:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->history[y +1].dir); ^~~~~~~~~~~~~~~~~~~~~~~ filelist.c:461:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filelist.c:464:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->curr_dir); ^~~~~~~~~~~~~~ filelist.c:469:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->curr_dir); ^~~~~~~~~~~~~~ filelist.c:471:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filelist.c:601:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(view->last_dir, sizeof(view->last_dir), view->curr_dir); ^~~~~~~~~~~~~~ 12 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c fileops.c fileops.c:203:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(fp, filename); ^~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c filetype.c filetype.c:39:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(ext, sizeof(ext), ptr); ^~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c keys.c keys.c:55:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:59:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sizeof(view->prev_filter), view->filename_filter); ^~~~~~~~~~~~~~~~~~~~~ keys.c:81:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:86:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sizeof(view->filename_filter), view->prev_filter); ^~~~~~~~~~~~~~~~~ keys.c:218:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:235:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:252:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keys.c:276:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(other_view->title, other_view->curr_dir); ^~~~~~~~~~~~~~~~~~~~ keys.c:281:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(curr_view->title, curr_view->curr_dir); ^~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c menus.c menus.c:409:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(buf, sizeof(buf), bookmarks[x].directory); ^~~~~~~~~~~~~~~~~~~~~~ menus.c:454:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c search.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c signals.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c sort.c sort.c:137:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(filename, sizeof(filename), view->dir_entry[view->list_pos].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c ui.c ui.c:46:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(message); ^~~~~~~ ui.c:59:29: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' mvwaddstr(pos_win, 0, 13 - strlen(buf), buf); ^ ui.c:59:29: note: please include the header or explicitly provide a declaration for 'strlen' ui.c:67:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(stat_win, message); ^~~~~~~ ui.c:82:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(name_buf, sizeof(name_buf), get_current_file_name(view)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:117:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(status_bar, message); ^~~~~~~ ui.c:151:18: warning: if statement has empty body [-Wempty-body] if(need_colors); ^ ui.c:151:18: note: put the semicolon on a separate line to silence this warning 6 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c utils.c utils.c:78:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(buf); ^~~ utils.c:94:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(buf); ^~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -Wall -c visual.c cc -O2 -march=i586 -I/usr/pkg/include -Wall -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o vifm vifm.o bookmarks.o commands.o config.o file_info.o filelist.o fileops.o filetype.o keys.o menus.o search.o signals.o sort.o ui.o utils.o visual.o -lncurses fileops.o: In function `my_system': fileops.c:(.text+0x1b): undefined reference to `__pthread_fork' fileops.c:(.text+0x47): undefined reference to `__pthread_waitpid' fileops.o: In function `file_exec': fileops.c:(.text+0x1d2): undefined reference to `__pthread_fork' fileops.o: In function `pipe_and_capture_errors': fileops.c:(.text+0x7b2): undefined reference to `__pthread_fork' fileops.c:(.text+0x800): undefined reference to `__pthread_read' fileops.c:(.text+0x835): undefined reference to `__pthread_read' fileops.o: In function `run_background_process': fileops.c:(.text+0x988): undefined reference to `__pthread_fork' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:165: recipe for target 'vifm' failed gmake[2]: *** [vifm] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/work/sysutils/vifm/work/vifm-0.1/src' Makefile:137: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/sysutils/vifm/work/vifm-0.1' Makefile:286: recipe for target 'all-recursive-am' failed gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/sysutils/vifm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/vifm