=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for IglooFTP-0.6.1nb6 --- main.o --- --- GTKmisc.o --- --- menu.o --- --- main.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" main.c `gtk-config --cflags` --- GTKmisc.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" GTKmisc.c `gtk-config --cflags` --- menu.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" menu.c `gtk-config --cflags` --- toolbar.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" toolbar.c `gtk-config --cflags` --- connectbar.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" connectbar.c `gtk-config --cflags` --- statusbar.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" statusbar.c `gtk-config --cflags` --- dirlist.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dirlist.c `gtk-config --cflags` --- ftplist.o --- --- statusbar.o --- statusbar.c:61:76: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] sprintf (buf, "Connected to %s on port %hi.", this_connexion.hostname, this_connexion.port); ~~~ ^~~~~~~~~~~~~~~~~~~ %i statusbar.c:63:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (buf, "Not connected"); ^ statusbar.c:63:5: note: include the header or explicitly provide a declaration for 'strcpy' --- ftplist.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" ftplist.c `gtk-config --cflags` --- statusbar.o --- 2 warnings generated. --- queue.o --- --- dirlist.o --- dirlist.c:418:21: warning: incompatible pointer types assigning to 'int (*)(const void *, const void *)' from 'int (const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types] sort_function = alphasort; ^ ~~~~~~~~~ dirlist.c:423:41: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types] files = scandir (pathname, &filelist, local_scandir_select, sort_function); ^~~~~~~~~~~~~~~~~~~~ /usr/include/dirent.h:105:12: note: passing argument to parameter here int (*)(const struct dirent *), int (*)(const struct dirent **, ^ dirlist.c:423:63: warning: incompatible function pointer types passing 'int (*)(const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-function-pointer-types] files = scandir (pathname, &filelist, local_scandir_select, sort_function); ^~~~~~~~~~~~~ /usr/include/dirent.h:105:44: note: passing argument to parameter here int (*)(const struct dirent *), int (*)(const struct dirent **, ^ --- queue.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" queue.c `gtk-config --cflags` --- ftplist.o --- ftplist.c:1172:66: warning: variable 'filename' is uninitialized when used here [-Wuninitialized] WANT_EDIT ? remote_rename_dialog (NULL, NULL) : IGLOO_cwd (filename); ^~~~~~~~ --- log.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" log.c `gtk-config --cflags` --- dirlist.o --- 3 warnings generated. --- console.o --- --- ftplist.o --- ftplist.c:1161:18: note: initialize the variable 'filename' to silence this warning gchar *filename; ^ = NULL --- console.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" console.c `gtk-config --cflags` --- dialog.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dialog.c `gtk-config --cflags` --- console.o --- console.c:182:14: warning: array subscript is of type 'char' [-Wchar-subscripts] this_message[f] = 'x'; --- dialog.o --- dialog.c:151:8: warning: unused variable 'author_buf' [-Wunused-variable] --- console.o --- ^~ --- dialog.o --- char author_buf[128]; ^ --- console.o --- 1 warning generated. --- chmod.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" chmod.c `gtk-config --cflags` chmod.c:47:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (mode_buf, gtk_entry_get_text (GTK_ENTRY (alert_entry))); ^ chmod.c:47:3: note: include the header or explicitly provide a declaration for 'strcpy' chmod.c:48:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] switch (strlen (mode_buf)) ^ chmod.c:48:11: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. --- version.h --- --- dialog.o --- 1 warning generated. --- custom.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" custom.c `gtk-config --cflags` --- ftplist.o --- 1 warning generated. --- string.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" string.c `gtk-config --cflags` --- pixmaps.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" pixmaps.c `gtk-config --cflags` --- string.o --- string.c:254:24: warning: unsequenced modification and access to 'pass_start_ptr' [-Wunsequenced] strncpy (this_pass, ++pass_start_ptr, (size_t) ((char *) usr_end_ptr - (char *) pass_start_ptr - 1)); ^ ~~~~~~~~~~~~~~ --- color.o --- --- string.o --- string.c:284:24: warning: unsequenced modification and access to 'port_start_ptr' [-Wunsequenced] strncpy (this_port, ++port_start_ptr, (size_t) ((char *) dir_start_ptr - (char *) port_start_ptr - 1)); ^ ~~~~~~~~~~~~~~ --- color.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" color.c `gtk-config --cflags` --- cursor.o --- --- string.o --- 2 warnings generated. --- FTP.o --- --- cursor.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" cursor.c `gtk-config --cflags` --- FTP.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall FTP.c `gtk-config --cflags` --- FTPmisc.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall FTPmisc.c `gtk-config --cflags` --- IGLOOftp.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" IGLOOftp.c `gtk-config --cflags` --- FTP.o --- FTP.c:48:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern nop (void); ~~~~~~ ^ --- dir_tree.o --- --- FTP.o --- FTP.c:493:12: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (msg_buf, "%c%c%c%c", 5, 1 + HAVE_FIREWALL_USERNAME, 0, 2); ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ FTP.c:517:11: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (msg_buf, "%c%c%s%c%s", 1, username_len, username, userpass_len, userpass); ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ FTP.c:544:14: warning: passing 'unsigned char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (msg_buf, "%c%c%c%c%c%s%c%c", 5, 1, 0, 3, strlen (FTPctrl->hostname), FTPctrl->hostname, UC (ptr[0]), UC (ptr[1])); ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ FTP.c:544:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf (msg_buf, "%c%c%c%c%c%s%c%c", 5, 1, 0, 3, strlen (FTPctrl->hostname), FTPctrl->hostname, UC (ptr[0]), UC (ptr[1])); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %lu FTP.c:664:30: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types] --- dir_tree.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dir_tree.c `gtk-config --cflags` --- FTP.o --- if (bind (data_socket, &data_sock_in, sizeof (data_sock_in)) == -1) ^~~~~~~~~~~~~ --- site_manager.o --- --- FTP.o --- /usr/include/sys/socket.h:616:38: note: passing argument to parameter here int bind(int, const struct sockaddr *, socklen_t); ^ FTP.c:667:37: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] if (getsockname (data_socket, &data_sock_in, &length) == -1) ^~~~~~~~~~~~~ /usr/include/sys/socket.h:624:50: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:667:52: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (data_socket, &data_sock_in, &length) == -1) ^~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:754:46: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] download_socket = accept (data_socket, &serv_sock_in, &length); ^~~~~~~~~~~~~ /usr/include/sys/socket.h:615:45: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:754:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] download_socket = accept (data_socket, &serv_sock_in, &length); ^~~~~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:845:44: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] upload_socket = accept (data_socket, &serv_sock_in, &length); ^~~~~~~~~~~~~ /usr/include/sys/socket.h:615:45: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:845:59: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] upload_socket = accept (data_socket, &serv_sock_in, &length); ^~~~~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ FTP.c:865:29: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((xfer_buf[compt] == '\n')) ~~~~~~~~~~~~~~~~^~~~~~~ FTP.c:865:29: note: remove extraneous parentheses around the comparison to silence this warning if ((xfer_buf[compt] == '\n')) ~ ^ ~ FTP.c:865:29: note: use '=' to turn this equality comparison into an assignment if ((xfer_buf[compt] == '\n')) ^~ = FTP.c:928:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] char msg = IAC; ~~~ ^~~ /usr/include/arpa/telnet.h:39:13: note: expanded from macro 'IAC' #define IAC 255 /* interpret as command: */ ^~~ --- site_manager.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" site_manager.c `gtk-config --cflags` --- text.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" text.c `gtk-config --cflags` --- FTP.o --- 14 warnings generated. --- docs.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" docs.c `gtk-config --cflags` --- netscape_remote.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall ../lib/netscape_remote.c `gtk-config --cflags` --- docs.o --- docs.c:59:9: warning: 'MEM0' call operates on objects of type 'gchar' (aka 'char') while the size is based on a different type 'gchar *' (aka 'char *') [-Wsizeof-pointer-memaccess] MEM0 (doc_buf); ^~~~~~~ docs.c:59:9: note: did you mean to provide an explicit length? MEM0 (doc_buf); ^~~~~~~ --- execute.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" execute.c `gtk-config --cflags` --- docs.o --- 1 warning generated. --- path_functions.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" path_functions.c `gtk-config --cflags` --- RDC.o --- --- execute.o --- execute.c:278:13: warning: 'MEM0' call operates on objects of type 'gchar' (aka 'char') while the size is based on a different type 'gchar *' (aka 'char *') [-Wsizeof-pointer-memaccess] MEM0 (doc_buf); ^~~~~~~ execute.c:278:13: note: did you mean to provide an explicit length? MEM0 (doc_buf); ^~~~~~~ --- RDC.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" RDC.c `gtk-config --cflags` --- messages.o --- --- execute.o --- 1 warning generated. --- dir.o --- --- messages.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" messages.c `gtk-config --cflags` --- dir.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dir.c `gtk-config --cflags` --- layout.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" layout.c `gtk-config --cflags` --- messages.o --- messages.c:191:35: warning: 'memset' call operates on objects of type 'gchar' (aka 'char') while the size is based on a different type 'gchar *' (aka 'char *') [-Wsizeof-pointer-memaccess] memset (message_buf, 0, sizeof (message_buf)); ~~~~~~~~~~~ ^~~~~~~~~~~ messages.c:191:35: note: did you mean to provide an explicit length? memset (message_buf, 0, sizeof (message_buf)); ^~~~~~~~~~~ --- IglooEdit.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" IglooEdit.c `gtk-config --cflags` --- messages.o --- 1 warning generated. --- list_share.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" list_share.c `gtk-config --cflags` --- list_filter.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" list_filter.c `gtk-config --cflags` --- IglooEdit.o --- IglooEdit.c:73:94: warning: unsequenced modification and access to 'this_pos' [-Wunsequenced] --- text_ext.o --- --- IglooEdit.o --- c = gtk_editable_get_chars (GTK_EDITABLE (text_info->edit_text), this_pos - 1, this_pos--); --- text_ext.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" text_ext.c `gtk-config --cflags` --- IglooEdit.o --- ~~~~~~~~ ^ --- session.o --- --- IglooEdit.o --- IglooEdit.c:117:9: warning: 'MEM0' call operates on objects of type 'gchar' (aka 'char') while the size is based on a different type 'gchar *' (aka 'char *') [-Wsizeof-pointer-memaccess] MEM0 (text_buf); ^~~~~~~~ IglooEdit.c:117:9: note: did you mean to provide an explicit length? MEM0 (text_buf); ^~~~~~~~ --- session.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" session.c `gtk-config --cflags` --- IglooEdit.o --- 2 warnings generated. --- version.o --- clang -c -O2 -I/usr/pkg/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" version.c `gtk-config --cflags` version.c:35:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy (buf, PROG_VERSION); ^ version.c:35:3: note: include the header or explicitly provide a declaration for 'strcpy' version.c:42:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] return strcmp (buf, PROG_VERSION); ^ version.c:42:10: note: include the header or explicitly provide a declaration for 'strcmp' 2 warnings generated. --- session.o --- session.c:52:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (out, tmp_filename); ^~~~~~~~~~~~ session.c:52:21: note: treat the string as an argument to avoid this fprintf (out, tmp_filename); ^ "%s", 1 warning generated. --- IglooFTP --- clang -O2 -I/usr/pkg/include -I/usr/include -Wall -v *.o -o IglooFTP `gtk-config --cflags` `gtk-config --libs` -lresolv -lXmu -lXt -lSM -lICE FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o IglooFTP /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/var/pkgsrc/work/net/IglooFTP/work/.buildlink/lib -L/usr/lib FTP.o FTPmisc.o GTKmisc.o IGLOOftp.o IglooEdit.o RDC.o chmod.o color.o connectbar.o console.o cursor.o custom.o dialog.o dir.o dir_tree.o dirlist.o docs.o execute.o ftplist.o layout.o list_filter.o list_share.o log.o main.o menu.o messages.o netscape_remote.o path_functions.o pixmaps.o queue.o session.o site_manager.o statusbar.o string.o text.o text_ext.o toolbar.o version.o -rpath /usr/pkg/lib -rpath /usr/pkg/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm -lresolv -lXmu -lXt -lSM -lICE -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /usr/bin/ld: cannot find -lresolv clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [IglooFTP] Error code 1 bmake: stopped in /var/pkgsrc/work/net/IglooFTP/work/IglooFTP-0.6.1/src 1 error bmake: stopped in /var/pkgsrc/work/net/IglooFTP/work/IglooFTP-0.6.1/src *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/IglooFTP *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/IglooFTP