=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for IglooFTP-0.6.1nb7 --- main.o --- --- GTKmisc.o --- --- menu.o --- --- toolbar.o --- --- GTKmisc.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" GTKmisc.c `gtk-config --cflags` --- toolbar.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" toolbar.c `gtk-config --cflags` --- menu.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" menu.c `gtk-config --cflags` --- main.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" main.c `gtk-config --cflags` --- connectbar.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" connectbar.c `gtk-config --cflags` --- statusbar.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" statusbar.c `gtk-config --cflags` --- dirlist.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dirlist.c `gtk-config --cflags` --- statusbar.o --- statusbar.c: In function 'default_status_message': statusbar.c:63:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (buf, "Not connected"); ^~~~~~ statusbar.c:63:5: warning: incompatible implicit declaration of built-in function 'strcpy' statusbar.c:63:5: note: include '' or provide a declaration of 'strcpy' In file included from /usr/include/stdio.h:597:0, from statusbar.c:20: statusbar.c:61:19: warning: '%s' directive writing up to 254 bytes into a region of size 243 [-Wformat-overflow=] sprintf (buf, "Connected to %s on port %hi.", this_connexion.hostname, this_connexion.port); ^ ~ statusbar.c:61:19: note: using the range [-32768, 32767] for directive argument statusbar.c:61:5: note: '__builtin___sprintf_chk' output between 25 and 284 bytes into a destination of size 256 sprintf (buf, "Connected to %s on port %hi.", this_connexion.hostname, this_connexion.port); ^ --- dirlist.o --- dirlist.c: In function 'update_dirlist': dirlist.c:418:21: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] sort_function = alphasort; ^ dirlist.c:423:41: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] files = scandir (pathname, &filelist, local_scandir_select, sort_function); ^~~~~~~~~~~~~~~~~~~~ In file included from dirlist.c:27:0: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ dirlist.c:423:63: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] files = scandir (pathname, &filelist, local_scandir_select, sort_function); ^~~~~~~~~~~~~ In file included from dirlist.c:27:0: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ --- ftplist.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" ftplist.c `gtk-config --cflags` --- dirlist.o --- dirlist.c: In function 'local_selected_is_executable': dirlist.c:833:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_row = (int) selection->data; ^ dirlist.c: In function 'local_file_view_or_edit': dirlist.c:1130:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_row = (int) selection->data; ^ dirlist.c: In function 'local_exec': dirlist.c:1169:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_row = (int) selection->data; ^ dirlist.c: In function 'local_chmod': dirlist.c:1239:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ dirlist.c: In function 'local_rename': dirlist.c:1310:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &oldfilename); ^ dirlist.c: In function 'local_rename_dialog': dirlist.c:1341:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &filename); ^ dirlist.c: In function 'local_move': dirlist.c:1381:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ dirlist.c: In function 'local_delete': dirlist.c:1471:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ dirlist.c: In function 'local_delete_dialog': dirlist.c:1528:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &filename); ^ --- queue.o --- --- dirlist.o --- dirlist.c: In function 'upload_selection_recursive': dirlist.c:1646:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ --- queue.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" queue.c `gtk-config --cflags` --- log.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" log.c `gtk-config --cflags` --- ftplist.o --- ftplist.c: In function 'remote_selection_size': ftplist.c:886:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ ftplist.c: In function 'remote_file_view_or_edit': ftplist.c:1167:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_row = (int) selection->data; ^ ftplist.c: In function 'perfom_recursive_command_on_selection': ftplist.c:1274:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ ftplist.c: In function 'remote_chmod_dialog': ftplist.c:1442:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 4, &filemode); ^ ftplist.c: In function 'remote_delete_dialog': ftplist.c:1491:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &filename); ^ ftplist.c: In function 'remote_rename': ftplist.c:1516:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &oldfilename); ^ ftplist.c: In function 'remote_rename_dialog': ftplist.c:1553:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (clist), (int) selection->data, 1, &filename); ^ ftplist.c: In function 'remote_move': ftplist.c:1589:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ ftplist.c: In function 'download_selection_recursive': ftplist.c:1739:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] index = (int) selection->data; ^ --- console.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" console.c `gtk-config --cflags` --- dialog.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dialog.c `gtk-config --cflags` --- chmod.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" chmod.c `gtk-config --cflags` --- dialog.o --- dialog.c: In function 'create_about_window': dialog.c:151:8: warning: unused variable 'author_buf' [-Wunused-variable] char author_buf[128]; ^~~~~~~~~~ --- chmod.o --- chmod.c: In function 'new_mode_entered': chmod.c:47:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (mode_buf, gtk_entry_get_text (GTK_ENTRY (alert_entry))); ^~~~~~ chmod.c:47:3: warning: incompatible implicit declaration of built-in function 'strcpy' chmod.c:47:3: note: include '' or provide a declaration of 'strcpy' chmod.c:48:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] switch (strlen (mode_buf)) ^~~~~~ chmod.c:48:11: warning: incompatible implicit declaration of built-in function 'strlen' chmod.c:48:11: note: include '' or provide a declaration of 'strlen' --- version.h --- --- custom.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" custom.c `gtk-config --cflags` --- string.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" string.c `gtk-config --cflags` --- custom.o --- In file included from custom.c:33:0: custom_profiles.h: In function 'edit_prof': custom_profiles.h:125:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_prof.index = (int) selection->data; ^ custom_profiles.h:127:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] this_prof.index = (int) selection->data; ^ custom_profiles.h: In function 'delete_prof': custom_profiles.h:141:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] read_prof ((int) selection->data, &this_prof); ^ custom_profiles.h: In function 'delete_user_prof_from_file': custom_profiles.h:172:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const int remove_this_one = (int) GTK_CLIST (clist)->selection->data; ^ In file included from custom.c:34:0: files_assoc.h: In function 'file_assoc_update_col': files_assoc.h:120:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_pixtext (GTK_CLIST (file_assoc_clist), (int) selection->data, 0, &nowhere, &spacing, &pixmap, &mask); ^ files_assoc.h:121:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_set_pixtext (GTK_CLIST (file_assoc_clist), (int) selection->data, 0, buf, spacing, pixmap, mask); ^ files_assoc.h:124:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_set_text (GTK_CLIST (file_assoc_clist), (int) selection->data, file_assoc_selected_col, buf); ^ files_assoc.h: In function 'file_assoc_button_clicked': files_assoc.h:142:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_text (GTK_CLIST (file_assoc_clist), (int) selection->data, column, &buf); ^ files_assoc.h:144:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_get_pixtext (GTK_CLIST (file_assoc_clist), (int) selection->data, 0, &buf, &spacing, &pixmap, &mask); ^ custom.c: In function 'custom_notebook': custom.c:331:19: warning: variable 'node' set but not used [-Wunused-but-set-variable] GtkCTreeNode *node = NULL; ^~~~ --- string.o --- In file included from /usr/include/string.h:127:0, from string.c:19: string.c: In function 'parse_ftp_url': string.c:254:24: warning: operation on 'pass_start_ptr' may be undefined [-Wsequence-point] strncpy (this_pass, ++pass_start_ptr, (size_t) ((char *) usr_end_ptr - (char *) pass_start_ptr - 1)); ^~~ string.c:284:24: warning: operation on 'port_start_ptr' may be undefined [-Wsequence-point] strncpy (this_port, ++port_start_ptr, (size_t) ((char *) dir_start_ptr - (char *) port_start_ptr - 1)); ^~~ --- pixmaps.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" pixmaps.c `gtk-config --cflags` --- color.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" color.c `gtk-config --cflags` --- cursor.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" cursor.c `gtk-config --cflags` --- FTP.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall FTP.c `gtk-config --cflags` --- FTPmisc.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall FTPmisc.c `gtk-config --cflags` --- FTP.o --- FTP.c:48:8: warning: type defaults to 'int' in declaration of 'nop' [-Wimplicit-int] extern nop (void); ^~~ In file included from /usr/include/stdio.h:597:0, from /usr/include/resolv.h:65, from FTP.c:25: FTP.c: In function 'FTP_SOCKSV5_connect': FTP.c:493:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf (msg_buf, "%c%c%c%c", 5, 1 + HAVE_FIREWALL_USERNAME, 0, 2); ^ FTP.c:493:12: note: expected 'char *' but argument is of type 'unsigned char *' FTP.c:517:11: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf (msg_buf, "%c%c%s%c%s", 1, username_len, username, userpass_len, userpass); ^ FTP.c:517:11: note: expected 'char *' but argument is of type 'unsigned char *' FTP.c:544:14: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-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])); ^ FTP.c:544:14: note: expected 'char *' but argument is of type 'unsigned char *' FTP.c:544:23: warning: format '%c' expects argument of type 'int', but argument 9 has type 'size_t {aka long unsigned int}' [-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])); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ FTP.c: In function 'FTP_open_data_connection': FTP.c:664:30: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] if (bind (data_socket, &data_sock_in, sizeof (data_sock_in)) == -1) ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:622:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' int bind(int, const struct sockaddr *, socklen_t); ^~~~ FTP.c:667:37: warning: passing argument 2 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] if (getsockname (data_socket, &data_sock_in, &length) == -1) ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:625:5: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ FTP.c:667:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname (data_socket, &data_sock_in, &length) == -1) ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ FTP.c: In function 'FTP_download': FTP.c:754:46: warning: passing argument 2 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] download_socket = accept (data_socket, &serv_sock_in, &length); ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:620:5: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ FTP.c:754:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] download_socket = accept (data_socket, &serv_sock_in, &length); ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ FTP.c: In function 'FTP_upload': FTP.c:845:44: warning: passing argument 2 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] upload_socket = accept (data_socket, &serv_sock_in, &length); ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:620:5: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ FTP.c:845:59: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] upload_socket = accept (data_socket, &serv_sock_in, &length); ^ In file included from FTP.c:19:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ --- IGLOOftp.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" IGLOOftp.c `gtk-config --cflags` --- dir_tree.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dir_tree.c `gtk-config --cflags` --- IGLOOftp.o --- In file included from /usr/include/stdio.h:597:0, from IGLOOftp.c:19: IGLOOftp.c: In function 'IGLOO_connect': IGLOOftp.c:364:25: warning: '%s' directive writing up to 254 bytes into a region of size 242 [-Wformat-overflow=] sprintf (msg_buf, "Can't resolve %s.", this_connexion.hostname); ^ ~ IGLOOftp.c:364:7: note: '__builtin___sprintf_chk' output between 16 and 270 bytes into a destination of size 256 sprintf (msg_buf, "Can't resolve %s.", this_connexion.hostname); ^ --- FTP.o --- In file included from /usr/include/stdio.h:597:0, from /usr/include/resolv.h:65, from FTP.c:25: FTP.c: In function 'FTP_resolve': FTP.c:401:25: warning: '%s' directive writing up to 254 bytes into a region of size 246 [-Wformat-overflow=] sprintf (msg_buf, "Resolving %s ...\n", FTPctrl->hostname); ^ FTP.c:401:7: note: '__builtin___sprintf_chk' output between 16 and 270 bytes into a destination of size 256 sprintf (msg_buf, "Resolving %s ...\n", FTPctrl->hostname); ^ FTP.c:419:25: warning: '%s' directive writing up to 254 bytes into a region of size 247 [-Wformat-overflow=] sprintf (msg_buf, "Resolved %s as (%s) \n", FTPctrl->hostname, FTPctrl->connect_address); ^ FTP.c:419:7: note: '__builtin___sprintf_chk' output between 18 and 291 bytes into a destination of size 256 sprintf (msg_buf, "Resolved %s as (%s) \n", FTPctrl->hostname, FTPctrl->connect_address); ^ FTP.c: In function 'FTP_connect': FTP.c:448:21: warning: '%s' directive writing up to 254 bytes into a region of size 242 [-Wformat-overflow=] sprintf (msg_buf, "Connecting to %s (%s) on Port %i. Try #%i ...\n", ^ FTP.c:448:3: note: '__builtin___sprintf_chk' output between 41 and 334 bytes into a destination of size 256 sprintf (msg_buf, "Connecting to %s (%s) on Port %i. Try #%i ...\n", ^ FTP.c: In function 'FTP_SOCKSV5_connect': FTP.c:538:22: warning: '%s' directive writing up to 254 bytes into a region of size 103 [-Wformat-overflow=] sprintf (info_msg, "Requesting to connect to %s on Port %i ...", FTPctrl->hostname, FTPctrl->port); ^ FTP.c:538:3: note: '__builtin___sprintf_chk' output between 40 and 304 bytes into a destination of size 128 sprintf (info_msg, "Requesting to connect to %s on Port %i ...", FTPctrl->hostname, FTPctrl->port); ^ FTP.c:544:23: warning: '%s' directive writing up to 254 bytes into a region of size 123 [-Wformat-overflow=] 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])); ^ FTP.c:544:5: note: '__builtin___sprintf_chk' output between 8 and 262 bytes into a destination of size 128 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])); ^ --- site_manager.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" site_manager.c `gtk-config --cflags` --- text.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" text.c `gtk-config --cflags` --- docs.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" docs.c `gtk-config --cflags` --- site_manager.o --- site_manager.c: In function 'SMAN_bookmark_site': site_manager.c:177:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] row = (selection == NULL) ? 0 : (int) selection->data; ^ --- netscape_remote.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall ../lib/netscape_remote.c `gtk-config --cflags` --- docs.o --- In file included from /usr/include/string.h:127:0, from docs.c:21: docs.c: In function 'doc_show_text_file': defines.h:198:37: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define MEM0(x) memset(x, 0, sizeof(x)); ^ docs.c:59:3: note: in expansion of macro 'MEM0' MEM0 (doc_buf); ^~~~ --- netscape_remote.o --- ../lib/netscape_remote.c: In function 'mozilla_remote_obtain_lock': ../lib/netscape_remote.c:276:8: warning: variable 'waited' set but not used [-Wunused-but-set-variable] Bool waited = False; ^~~~~~ --- execute.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" execute.c `gtk-config --cflags` --- path_functions.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" path_functions.c `gtk-config --cflags` --- RDC.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" RDC.c `gtk-config --cflags` --- execute.o --- In file included from /usr/include/string.h:127:0, from execute.c:24: execute.c: In function 'TXT_show': defines.h:198:37: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define MEM0(x) memset(x, 0, sizeof(x)); ^ execute.c:278:7: note: in expansion of macro 'MEM0' MEM0 (doc_buf); ^~~~ --- messages.o --- --- dir.o --- --- messages.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" messages.c `gtk-config --cflags` --- dir.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dir.c `gtk-config --cflags` --- layout.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" layout.c `gtk-config --cflags` --- site_manager.o --- In file included from /usr/include/stdio.h:597:0, from site_manager.c:19: site_manager.c: In function 'SMAN_group_delete_dialog': site_manager.c:937:21: warning: '%s' directive writing up to 254 bytes into a region of size 248 [-Wformat-overflow=] sprintf (msg_buf, " Delete %s\nand all its content ?", this_group->name); ^ site_manager.c:937:3: note: '__builtin___sprintf_chk' output between 31 and 285 bytes into a destination of size 256 sprintf (msg_buf, " Delete %s\nand all its content ?", this_group->name); ^ site_manager.c: In function 'SMAN_site_delete_dialog': site_manager.c:1020:21: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] sprintf (msg_buf, " Delete %s ?", this_site->name); ^ site_manager.c:1020:3: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 sprintf (msg_buf, " Delete %s ?", this_site->name); ^ --- messages.o --- In file included from /usr/include/string.h:127:0, from messages.c:19: messages.c: In function 'show_popup_window_message': messages.c:191:34: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset (message_buf, 0, sizeof (message_buf)); ^ --- IglooEdit.o --- --- list_share.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" list_share.c `gtk-config --cflags` --- IglooEdit.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" IglooEdit.c `gtk-config --cflags` --- list_filter.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" list_filter.c `gtk-config --cflags` --- IglooEdit.o --- IglooEdit.c: In function 'IGLOO_EDIT_show_pos': IglooEdit.c:73:94: warning: operation on 'this_pos' may be undefined [-Wsequence-point] c = gtk_editable_get_chars (GTK_EDITABLE (text_info->edit_text), this_pos - 1, this_pos--); ~~~~~~~~^~ In file included from /usr/include/string.h:127:0, from IglooEdit.c:19: IglooEdit.c: In function 'IGLOO_EDIT_load_file': defines.h:198:37: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define MEM0(x) memset(x, 0, sizeof(x)); ^ IglooEdit.c:117:3: note: in expansion of macro 'MEM0' MEM0 (text_buf); ^~~~ --- text_ext.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" text_ext.c `gtk-config --cflags` --- IglooEdit.o --- In file included from /usr/include/stdio.h:597:0, from protos.h:21, from IglooEdit.c:21: IglooEdit.c: In function 'IGLOO_EDIT_show_size': IglooEdit.c:52:23: warning: '%s' directive writing up to 1023 bytes into a region of size 251 [-Wformat-overflow=] sprintf (label_buf, " FILE: %s (%u Byte%c)", text_info->name, this_size, this_size > 1 ? 's' : 32); ^ IglooEdit.c:52:3: note: '__builtin___sprintf_chk' output between 18 and 1050 bytes into a destination of size 258 sprintf (label_buf, " FILE: %s (%u Byte%c)", text_info->name, this_size, this_size > 1 ? 's' : 32); ^ --- session.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" session.c `gtk-config --cflags` --- version.o --- gcc -c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" version.c `gtk-config --cflags` --- IglooEdit.o --- IglooEdit.c: In function 'IGLOO_EDIT_load_file': IglooEdit.c:109:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] sprintf (msg_buf, "Can't open %s for reading.", text_info->name); ^ IglooEdit.c:109:7: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024 sprintf (msg_buf, "Can't open %s for reading.", text_info->name); ^ IglooEdit.c: In function 'IGLOO_EDIT_key_press': IglooEdit.c:81:23: warning: '%03i' directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf (label_buf, " COL: %03i", col); ^ IglooEdit.c:81:23: note: directive argument in the range [0, 2147483647] IglooEdit.c:81:3: note: '__builtin___sprintf_chk' output between 12 and 19 bytes into a destination of size 15 sprintf (label_buf, " COL: %03i", col); ^ --- version.o --- version.c: In function 'version': version.c:35:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (buf, PROG_VERSION); ^~~~~~ version.c:35:3: warning: incompatible implicit declaration of built-in function 'strcpy' version.c:35:3: note: include '' or provide a declaration of 'strcpy' version.c: In function 'is_it_a_new_prog_version': version.c:42:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] return strcmp (buf, PROG_VERSION); ^~~~~~ version.c: In function 'compile_host': version.c:93:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy (buf, COMPILE_HOST); ^~~~~~ version.c:93:3: note: include '' or provide a declaration of 'strcpy' --- IglooFTP --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -Wall -v *.o -o IglooFTP `gtk-config --cflags` `gtk-config --libs` -lresolv -lXmu -lXt -lSM -lICE Using built-in specs. COLLECT_GCC=/tmp/net/IglooFTP/work/.gcc/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper Target: x86_64--netbsd Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb3 20190319' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-tune=nocona --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --enable-tls --disable-multilib --disable-libstdcxx-pch --build=x86_64--netbsd --host=x86_64--netbsd --with-sysroot=/var/obj/mknative/amd64-x86_64/usr/src/destdir.amd64 Thread model: posix gcc version 7.4.0 (nb3 20190319) COMPILER_PATH=/usr/libexec/ LIBRARY_PATH=/usr/lib/ COLLECT_GCC_OPTIONS='-fcommon' '-O2' '-D' '_FORTIFY_SOURCE=2' '-I' '/tmp/net/IglooFTP/work/.buildlink/include' '-I' '/tmp/net/IglooFTP/work/.x11-buildlink/include' '-Wall' '-v' '-o' 'IglooFTP' '-I' '/tmp/net/IglooFTP/work/.buildlink/include/gtk-1.2' '-I' '/tmp/net/IglooFTP/work/.buildlink/include/glib/glib-1.2' '-I' '/tmp/net/IglooFTP/work/.buildlink/lib/glib/include' '-L/tmp/net/IglooFTP/work/.buildlink/lib' '-L/tmp/net/IglooFTP/work/.x11-buildlink/lib' '-fPIC' '-D' '_FORTIFY_SOURCE=2' '-fstack-protector-strong' '-pie' '-mtune=nocona' '-march=x86-64' ld -plugin /usr/libexec/liblto_plugin.so -plugin-opt=/usr/libexec/lto-wrapper -plugin-opt=-fresolution=/var/tmp//cc4fu5FQ.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -dc -dp -e _start -dynamic-linker /usr/libexec/ld.elf_so -pie -o IglooFTP /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbeginS.o -L/tmp/net/IglooFTP/work/.buildlink/lib -L/tmp/net/IglooFTP/work/.x11-buildlink/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/X11R7/lib -rpath /usr/X11R7/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm -lresolv -lXmu -lXt -lSM -lICE --as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o ld: FTP.o: in function `FTP_LIST': FTP.c:(.text+0x1934): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() COLLECT_GCC_OPTIONS='-fcommon' '-O2' '-D' '_FORTIFY_SOURCE=2' '-I' '/tmp/net/IglooFTP/work/.buildlink/include' '-I' '/tmp/net/IglooFTP/work/.x11-buildlink/include' '-Wall' '-v' '-o' 'IglooFTP' '-I' '/tmp/net/IglooFTP/work/.buildlink/include/gtk-1.2' '-I' '/tmp/net/IglooFTP/work/.buildlink/include/glib/glib-1.2' '-I' '/tmp/net/IglooFTP/work/.buildlink/lib/glib/include' '-L/tmp/net/IglooFTP/work/.buildlink/lib' '-L/tmp/net/IglooFTP/work/.x11-buildlink/lib' '-fPIC' '-D' '_FORTIFY_SOURCE=2' '-fstack-protector-strong' '-pie' '-mtune=nocona' '-march=x86-64' --- 19121 Lines of code ...