+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/llnlxdir-2.1.2nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/llnlxdir-2.1.2nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for llnlxdir-2.1.2nb4
--- account.o ---
--- aconnect.o ---
--- account.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c account.c
--- aconnect.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c aconnect.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/SelectioB.h:26,
                 from aconnect.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- account.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/SelectioB.h:26,
                 from account.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- aconnect.o ---
aconnect.c: In function 'cb_connect_to_anonymous':
aconnect.c:160:14: warning: implicit declaration of function 'start_op'; did you mean 'strtok'? [-Wimplicit-function-declaration]
  160 |         if (!start_op(False))
      |              ^~~~~~~~
      |              strtok
aconnect.c:164:9: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  164 |         raise_okflag();
      |         ^~~~~~~~~~~~
aconnect.c:171:9: warning: implicit declaration of function 'traverse_to_widget' [-Wimplicit-function-declaration]
  171 |         traverse_to_widget(aconnect.w_hostName);
      |         ^~~~~~~~~~~~~~~~~~
aconnect.c: In function 'create_aconnect_dialog':
aconnect.c:212:9: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
  212 |         add_wm_delete_window_cb(aconnect.w_dialog, cb_aconnect_cancel, NULL, False);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
--- account.o ---
account.c: In function 'create_account_dialog':
account.c:102:5: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
  102 |     add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL, False);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c: In function 'update_aconnect_dialog':
aconnect.c:363:5: warning: implicit declaration of function 'retrieve_hostuser_history' [-Wimplicit-function-declaration]
  363 |     retrieve_hostuser_history(&list, sort_caches);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
aconnect.c:366:5: warning: implicit declaration of function 'reset_list' [-Wimplicit-function-declaration]
  366 |     reset_list(aconnect.w_hostList);
      |     ^~~~~~~~~~
--- account.o ---
account.c: In function 'get_account':
account.c:158:5: warning: implicit declaration of function 'use_normal_cursor' [-Wimplicit-function-declaration]
  158 |     use_normal_cursor();
      |     ^~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c:368:21: warning: implicit declaration of function 'parse_hostuser' [-Wimplicit-function-declaration]
  368 |                 if (parse_hostuser(list->entries[i], &host_part, &user_part) == 0) {
      |                     ^~~~~~~~~~~~~~
--- account.o ---
account.c:159:5: warning: implicit declaration of function 'traverse_to_widget' [-Wimplicit-function-declaration]
  159 |     traverse_to_widget(w_account);
      |     ^~~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c:379:5: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
  379 |     release_array_list(list);
      |     ^~~~~~~~~~~~~~~~~~
--- account.o ---
account.c:162:5: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
  162 |     restore_prev_cursor();
      |     ^~~~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c: In function 'cb_aconnect_single_selection':
aconnect.c:439:17: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  439 |                 fatal_error("Trouble in cb_aconnect_single_selection()");
      |                 ^~~~~~~~~~~
aconnect.c: In function 'cb_aconnect_help':
aconnect.c:458:5: warning: implicit declaration of function 'help_dialog'; did you mean 'cb_map_dialog'? [-Wimplicit-function-declaration]
  458 |     help_dialog(widget, True, "Connect to Anonymous", aconnect_help);
      |     ^~~~~~~~~~~
      |     cb_map_dialog
aconnect.c: In function 'cb_aconnect_connect':
aconnect.c:526:9: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration]
  526 |         warn("Unable to log onto FTP server.  No user name.",
      |         ^~~~
aconnect.c:535:13: warning: implicit declaration of function 'parse_hostname' [-Wimplicit-function-declaration]
  535 |     switch (parse_hostname(hostname, &host_part, &port_part)) {
      |             ^~~~~~~~~~~~~~
aconnect.c:565:9: warning: implicit declaration of function 'add_to_history' [-Wimplicit-function-declaration]
  565 |         add_to_history(USER, hostname, username);
      |         ^~~~~~~~~~~~~~
aconnect.c:573:25: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  573 |                         sprintf(msg, "%s is already connected to %s.", username, hostname);
      |                         ^~~~~~~
aconnect.c:63:1: note: include '<stdio.h>' or provide a declaration of 'sprintf'
   62 | #include "history.h"
  +++ |+#include <stdio.h>
   63 | 
aconnect.c:573:25: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  573 |                         sprintf(msg, "%s is already connected to %s.", username, hostname);
      |                         ^~~~~~~
aconnect.c:573:25: note: include '<stdio.h>' or provide a declaration of 'sprintf'
aconnect.c:574:25: warning: implicit declaration of function 'info_dialog' [-Wimplicit-function-declaration]
  574 |                         info_dialog(msg, dirwin->w_shell);
      |                         ^~~~~~~~~~~
--- arconnect.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c arconnect.c
--- aconnect.o ---
aconnect.c:580:25: warning: implicit declaration of function 'end_op' [-Wimplicit-function-declaration]
  580 |                         end_op();
      |                         ^~~~~~
aconnect.c:587:21: warning: implicit declaration of function 'get_host' [-Wimplicit-function-declaration]
  587 |         if ((host = get_host()) == -1) {
      |                     ^~~~~~~~
--- arconnect.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/TextF.h:26,
                 from arconnect.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- aconnect.o ---
aconnect.c:597:9: warning: implicit declaration of function 'show_stop_button' [-Wimplicit-function-declaration]
  597 |         show_stop_button(dirwin);
      |         ^~~~~~~~~~~~~~~~
aconnect.c:613:18: warning: implicit declaration of function 'do_connect' [-Wimplicit-function-declaration]
  613 |         retval = do_connect(host, dirwin);
      |                  ^~~~~~~~~~
aconnect.c:618:17: warning: implicit declaration of function 'record_abort' [-Wimplicit-function-declaration]
  618 |                 record_abort("Anonymously Connect to Remote Host");
      |                 ^~~~~~~~~~~~
aconnect.c:620:17: warning: implicit declaration of function 'release_host' [-Wimplicit-function-declaration]
  620 |                 release_host(host);
      |                 ^~~~~~~~~~~~
aconnect.c:621:17: warning: implicit declaration of function 'hide_stop_button' [-Wimplicit-function-declaration]
  621 |                 hide_stop_button();
      |                 ^~~~~~~~~~~~~~~~
aconnect.c:629:23: warning: implicit declaration of function 'starting_dir' [-Wimplicit-function-declaration]
  629 |         if ((retval = starting_dir(host, &wd)) == -6) {
      |                       ^~~~~~~~~~~~
aconnect.c:637:18: warning: implicit declaration of function 'display_dir' [-Wimplicit-function-declaration]
  637 |         retval = display_dir(host, dirwin, wd, False, False, dirwin->cache_mode,
      |                  ^~~~~~~~~~~
aconnect.c:650:17: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
  650 |                 close(hinfo[host].ctrl_fd);
      |                 ^~~~~
aconnect.c:656:9: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  656 |         sprintf(msg, "Unable to connect to %s.", hinfo[host].hostname);
      |         ^~~~~~~
aconnect.c:656:9: note: include '<stdio.h>' or provide a declaration of 'sprintf'
--- arconnect.o ---
arconnect.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int]
   85 | do_connect(host, dirwin)
      | ^~~~~~~~~~
--- aconnect.o ---
aconnect.c:657:9: warning: implicit declaration of function 'record_and_alert' [-Wimplicit-function-declaration]
  657 |         record_and_alert(msg, dirwin->w_shell);
      |         ^~~~~~~~~~~~~~~~
--- arconnect.o ---
arconnect.c: In function 'do_connect':
arconnect.c:107:9: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  107 |         use_busy_cursor();
      |         ^~~~~~~~~~~~~~~
arconnect.c:122:25: warning: implicit declaration of function 'cvt_to_lower' [-Wimplicit-function-declaration]
  122 |                         cvt_to_lower(temp);
      |                         ^~~~~~~~~~~~
arconnect.c:145:26: warning: implicit declaration of function 'ftp_open' [-Wimplicit-function-declaration]
  145 |                 retval = ftp_open(host, hinfo[host].proxy_host, hinfo[host].proxy_port);
      |                          ^~~~~~~~
arconnect.c:149:21: warning: implicit declaration of function 'parse_hostname' [-Wimplicit-function-declaration]
  149 |                 if (parse_hostname(hinfo[host].hostname, &host_part, &port_part))
      |                     ^~~~~~~~~~~~~~
arconnect.c:150:25: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  150 |                         fatal_error("Bug in do_connect()");
      |                         ^~~~~~~~~~~
arconnect.c:155:17: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
  155 |                 restore_prev_cursor();
      |                 ^~~~~~~~~~~~~~~~~~~
arconnect.c:166:17: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  166 |                 sprintf(uname, "%s@%s", hinfo[host].username, hinfo[host].hostname);
      |                 ^~~~~~~
arconnect.c:62:1: note: include '<stdio.h>' or provide a declaration of 'sprintf'
   61 | #include "str.h"
  +++ |+#include <stdio.h>
   62 | 
arconnect.c:166:17: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  166 |                 sprintf(uname, "%s@%s", hinfo[host].username, hinfo[host].hostname);
      |                 ^~~~~~~
arconnect.c:166:17: note: include '<stdio.h>' or provide a declaration of 'sprintf'
arconnect.c:169:18: warning: implicit declaration of function 'ftp_user' [-Wimplicit-function-declaration]
  169 |         retval = ftp_user(host, uname);
      |                  ^~~~~~~~
arconnect.c:190:17: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
  190 |                 close(hinfo[host].ctrl_fd);
      |                 ^~~~~
arconnect.c:220:25: warning: implicit declaration of function 'hide_stop_button' [-Wimplicit-function-declaration]
  220 |                         hide_stop_button();
      |                         ^~~~~~~~~~~~~~~~
arconnect.c:222:25: warning: implicit declaration of function 'show_stop_button' [-Wimplicit-function-declaration]
  222 |                         show_stop_button(dirwin);
      |                         ^~~~~~~~~~~~~~~~
arconnect.c:229:25: warning: implicit declaration of function 'ftp_password'; did you mean 'get_password'? [-Wimplicit-function-declaration]
  229 |                 switch (ftp_password(host, passwrd)) {
      |                         ^~~~~~~~~~~~
      |                         get_password
arconnect.c:268:23: warning: implicit declaration of function 'ftp_account'; did you mean 'get_account'? [-Wimplicit-function-declaration]
  268 |         if ((retval = ftp_account(host, acct)) < 0) {
      |                       ^~~~~~~~~~~
      |                       get_account
--- buttons.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c buttons.c
--- arconnect.o ---
arconnect.c:283:13: warning: implicit declaration of function 'ftp_system' [-Wimplicit-function-declaration]
  283 |         if (ftp_system(host, False) == -6) {
      |             ^~~~~~~~~~
arconnect.c:290:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
  290 |                 write_log("*** System is ");
      |                 ^~~~~~~~~
--- buttons.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/DrawnB.h:32,
                 from buttons.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- arconnect.o ---
arconnect.c:300:35: warning: implicit declaration of function 'set_hpss_wait' [-Wimplicit-function-declaration]
  300 |                         (retval = set_hpss_wait(host)) < 0) {
      |                                   ^~~~~~~~~~~~~
arconnect.c:307:25: warning: implicit declaration of function 'record_warning' [-Wimplicit-function-declaration]
  307 |                         record_warning("Unable to set HPSS wait mode.");
      |                         ^~~~~~~~~~~~~~
arconnect.c:313:23: warning: implicit declaration of function 'remote_pwd' [-Wimplicit-function-declaration]
  313 |         if ((retval = remote_pwd(host, &homedir)) < 0) {
      |                       ^~~~~~~~~~
arconnect.c: At top level:
arconnect.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int]
  355 | parse_hostname(hostname, host_part, port_part)
      | ^~~~~~~~~~~~~~
arconnect.c:409:1: warning: return type defaults to 'int' [-Wimplicit-int]
  409 | parse_hostuser(hostuser, host_part, user_part)
      | ^~~~~~~~~~~~~~
--- buttons.o ---
buttons.c: In function 'update_layout_mode_buttons':
buttons.c:140:28: warning: implicit declaration of function 'button_index' [-Wimplicit-function-declaration]
  140 |         int tabular_indx = button_index("tabularButton");
      |                            ^~~~~~~~~~~~
buttons.c: In function 'create_button':
buttons.c:263:17: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  263 |                 fatal_error("Programming bug in create_button()");
      |                 ^~~~~~~~~~~
buttons.c:280:17: warning: implicit declaration of function 'create_button_pixmaps' [-Wimplicit-function-declaration]
  280 |                 create_button_pixmaps(
      |                 ^~~~~~~~~~~~~~~~~~~~~
buttons.c:301:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  301 |                 XmNuserData,    (XtPointer)indx,
      |                                 ^
buttons.c: At top level:
buttons.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int]
  342 | button_index(name)
      | ^~~~~~~~~~~~
--- cache.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cache.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from cache.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- cmds.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cmds.c
In file included from /usr/include/sys/types.h:25,
                 from cmds.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- cache.o ---
cache.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int]
  134 | make_room_in_cache(len)
      | ^~~~~~~~~~~~~~~~~~
cache.c: In function 'make_room_in_cache':
cache.c:151:17: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  151 |                 fatal_error("Bug in make_room_in_cache()");
      |                 ^~~~~~~~~~~
cache.c: At top level:
cache.c:459:1: warning: return type defaults to 'int' [-Wimplicit-int]
  459 | fetch_dirlist_from_cache(host, path, layout, dotfiles, dlist)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
cache.c:513:1: warning: return type defaults to 'int' [-Wimplicit-int]
  513 | fetch_truepath_from_cache(host, path, true_path)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
cache.c: In function 'report_cache_addition':
cache.c:573:17: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  573 |                 sprintf(msg, "*** Entry added to cache.  Cache len = %ld\n", cache_len);
      |                 ^~~~~~~
cache.c:57:1: note: include '<stdio.h>' or provide a declaration of 'sprintf'
   56 | #include "list.h"
  +++ |+#include <stdio.h>
   57 | 
cache.c:573:17: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  573 |                 sprintf(msg, "*** Entry added to cache.  Cache len = %ld\n", cache_len);
      |                 ^~~~~~~
cache.c:573:17: note: include '<stdio.h>' or provide a declaration of 'sprintf'
cache.c:574:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
  574 |                 write_log(msg);
      |                 ^~~~~~~~~
cache.c: In function 'report_cache_deletion':
cache.c:590:25: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  590 |                         sprintf(msg,
      |                         ^~~~~~~
cache.c:590:25: note: include '<stdio.h>' or provide a declaration of 'sprintf'
cache.c:611:25: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  611 |                         sprintf(msg,
      |                         ^~~~~~~
cache.c:611:25: note: include '<stdio.h>' or provide a declaration of 'sprintf'
--- cmds.o ---
cmds.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int]
   87 | ftp_open(host, hostname, port)
      | ^~~~~~~~
cmds.c: In function 'ftp_open':
cmds.c:103:16: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
  103 |         temp = inet_addr(hostname);
      |                ^~~~~~~~~
cmds.c:118:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
  118 |                 write_log(msg);
      |                 ^~~~~~~~~
cmds.c:123:17: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
  123 |                 report_perror("Opening socket stream");
      |                 ^~~~~~~~~~~~~
cmds.c:131:17: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  131 |                 close(ctrl_fd);
      |                 ^~~~~
      |                 pclose
cmds.c:139:13: warning: implicit declaration of function 'iconnect'; did you mean 'connect'? [-Wimplicit-function-declaration]
  139 |         if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) {
      |             ^~~~~~~~
      |             connect
cmds.c:145:25: warning: implicit declaration of function 'select_on_write' [-Wimplicit-function-declaration]
  145 |                 switch (select_on_write(ctrl_fd, maxt)) {
      |                         ^~~~~~~~~~~~~~~
cmds.c:162:17: warning: implicit declaration of function 'get_ftp_reply' [-Wimplicit-function-declaration]
  162 |         scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt);
      |                 ^~~~~~~~~~~~~
cmds.c:168:17: warning: implicit declaration of function 'determine_server_from_open' [-Wimplicit-function-declaration]
  168 |                 determine_server_from_open(host, reply);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c:171:17: warning: implicit declaration of function 'report_client_timeout' [-Wimplicit-function-declaration]
  171 |                 report_client_timeout(host);
      |                 ^~~~~~~~~~~~~~~~~~~~~
cmds.c:175:25: warning: implicit declaration of function 'report_ftp_reply' [-Wimplicit-function-declaration]
  175 |                         report_ftp_reply(host, reply);
      |                         ^~~~~~~~~~~~~~~~
cmds.c: At top level:
cmds.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int]
  188 | ftp_user(host, username)
      | ^~~~~~~~
cmds.c: In function 'ftp_user':
cmds.c:199:23: warning: implicit declaration of function 'send_ftp_cmd' [-Wimplicit-function-declaration]
  199 |         if ((retval = send_ftp_cmd(host, cmd)) == -2) {
      |                       ^~~~~~~~~~~~
cmds.c:220:17: warning: implicit declaration of function 'abort_ftp_cmd' [-Wimplicit-function-declaration]
  220 |                 abort_ftp_cmd(host);
      |                 ^~~~~~~~~~~~~
cmds.c: At top level:
cmds.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int]
  236 | ftp_password(host, password)
      | ^~~~~~~~~~~~
cmds.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int]
  283 | ftp_account(host, account)
      | ^~~~~~~~~~~
cmds.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int]
  330 | ftp_passive(host, port)
      | ^~~~~~~~~~~
cmds.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int]
  386 | ftp_type(host, mode)
      | ^~~~~~~~
cmds.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int]
  441 | ftp_port(host, hostport)
      | ^~~~~~~~
cmds.c:489:1: warning: return type defaults to 'int' [-Wimplicit-int]
  489 | ftp_system(host, print_error_msg)
      | ^~~~~~~~~~
cmds.c: In function 'ftp_system':
cmds.c:509:17: warning: implicit declaration of function 'determine_server_from_syst' [-Wimplicit-function-declaration]
  509 |                 determine_server_from_syst(host, reply);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: At top level:
cmds.c:532:1: warning: return type defaults to 'int' [-Wimplicit-int]
  532 | ftp_allocate(host, size)
      | ^~~~~~~~~~~~
--- color.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c color.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from color.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
color.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int]
   64 | color_display()
      | ^~~~~~~~~~~~~
--- controls.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c controls.c
--- ctrlconn.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c ctrlconn.c
--- controls.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from controls.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- ctrlconn.o ---
In file included from /usr/include/sys/types.h:25,
                 from ctrlconn.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
ctrlconn.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int]
   93 | write_tcp(host, fd, buf, n, maxtime)
      | ^~~~~~~~~
ctrlconn.c: In function 'write_tcp':
ctrlconn.c:106:25: warning: implicit declaration of function 'select_on_write' [-Wimplicit-function-declaration]
  106 |                 switch (select_on_write(fd, maxtime)) {
      |                         ^~~~~~~~~~~~~~~
ctrlconn.c:108:39: warning: implicit declaration of function 'iwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  108 |                         if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
      |                                       ^~~~~~
      |                                       fwrite
ctrlconn.c:110:33: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
  110 |                                 report_perror("Writing connection");
      |                                 ^~~~~~~~~~~~~
ctrlconn.c: At top level:
ctrlconn.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int]
  139 | select_on_write(fd, maxtime)
      | ^~~~~~~~~~~~~~~
ctrlconn.c: In function 'select_on_write':
ctrlconn.c:157:9: warning: implicit declaration of function 'add_timevals' [-Wimplicit-function-declaration]
  157 |         add_timevals(&current_time, &delta, &finish_time);
      |         ^~~~~~~~~~~~
ctrlconn.c:163:21: warning: implicit declaration of function 'stop' [-Wimplicit-function-declaration]
  163 |                 if (stop())
      |                     ^~~~
ctrlconn.c:166:21: warning: implicit declaration of function 'cmp_timevals' [-Wimplicit-function-declaration]
  166 |                 if (cmp_timevals(&current_time, &finish_time) > 0)
      |                     ^~~~~~~~~~~~
--- controls.o ---
controls.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int]
   75 | start_op(grey)
      | ^~~~~~~~
controls.c: In function 'start_op':
controls.c:80:17: warning: implicit declaration of function 'beep' [-Wimplicit-function-declaration]
   80 |                 beep();
      |                 ^~~~
--- ctrlconn.o ---
ctrlconn.c:177:24: warning: implicit declaration of function 'iselect'; did you mean 'pselect'? [-Wimplicit-function-declaration]
  177 |                 nfds = iselect(max_fds(), &readfds, &writefds, &exceptfds, &timeout);
      |                        ^~~~~~~
      |                        pselect
ctrlconn.c:177:32: warning: implicit declaration of function 'max_fds' [-Wimplicit-function-declaration]
  177 |                 nfds = iselect(max_fds(), &readfds, &writefds, &exceptfds, &timeout);
      |                                ^~~~~~~
ctrlconn.c: At top level:
ctrlconn.c:197:1: warning: return type defaults to 'int' [-Wimplicit-int]
  197 | read_tcp(host, fd, buf, n, maxtime)
      | ^~~~~~~~
ctrlconn.c: In function 'read_tcp':
ctrlconn.c:209:25: warning: implicit declaration of function 'select_on_read'; did you mean 'select_on_write'? [-Wimplicit-function-declaration]
  209 |                 switch (select_on_read(fd, maxtime)) {
      |                         ^~~~~~~~~~~~~~
      |                         select_on_write
ctrlconn.c:211:35: warning: implicit declaration of function 'iread'; did you mean 'fread'? [-Wimplicit-function-declaration]
  211 |                     if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
      |                                   ^~~~~
      |                                   fread
ctrlconn.c: At top level:
ctrlconn.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int]
  242 | select_on_read(fd, maxtime)
      | ^~~~~~~~~~~~~~
ctrlconn.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int]
  302 | get_ftp_reply(host, reply, maxreply, code, maxtime)
      | ^~~~~~~~~~~~~
--- controls.o ---
controls.c: In function 'end_op':
controls.c:107:17: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  107 |                 fatal_error("Bug in end_op()");
      |                 ^~~~~~~~~~~
--- ctrlconn.o ---
ctrlconn.c: In function 'get_ftp_reply':
ctrlconn.c:324:34: warning: implicit declaration of function 'get_ftp_line' [-Wimplicit-function-declaration]
  324 |                 if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime)) < 0)
      |                                  ^~~~~~~~~~~~
ctrlconn.c:343:17: warning: implicit declaration of function 'report_ftp_reply'; did you mean 'get_ftp_reply'? [-Wimplicit-function-declaration]
  343 |                 report_ftp_reply(host, reply);
      |                 ^~~~~~~~~~~~~~~~
      |                 get_ftp_reply
ctrlconn.c:349:25: warning: implicit declaration of function 'write_log'; did you mean 'write_tcp'? [-Wimplicit-function-declaration]
  349 |                         write_log("*** FTP server on remote host timed out.\n");
      |                         ^~~~~~~~~
      |                         write_tcp
ctrlconn.c: At top level:
ctrlconn.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int]
  381 | get_ftp_line(host, fd, line, maxline, maxtime)
      | ^~~~~~~~~~~~
ctrlconn.c:454:1: warning: return type defaults to 'int' [-Wimplicit-int]
  454 | send_ftp_cmd(host, cmd)
      | ^~~~~~~~~~~~
--- controls.o ---
controls.c: In function 'update_dir_controls':
controls.c:130:42: warning: implicit declaration of function 'has_selected_entries' [-Wimplicit-function-declaration]
  130 |             if (dirwin->has_selection && has_selected_entries(dirwin)) {
      |                                          ^~~~~~~~~~~~~~~~~~~~
--- ctrlconn.o ---
ctrlconn.c: In function 'send_ftp_cmd':
ctrlconn.c:464:17: warning: implicit declaration of function 'report_ftp_cmd'; did you mean 'send_ftp_cmd'? [-Wimplicit-function-declaration]
  464 |                 report_ftp_cmd(host,cmd);
      |                 ^~~~~~~~~~~~~~
      |                 send_ftp_cmd
ctrlconn.c: At top level:
ctrlconn.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int]
  499 | urgent_abort(host)
      | ^~~~~~~~~~~~
ctrlconn.c: In function 'urgent_abort':
ctrlconn.c:527:13: warning: implicit declaration of function 'isend'; did you mean 'send'? [-Wimplicit-function-declaration]
  527 |         if (isend(fd, buf, 1, MSG_OOB) != 1)
      |             ^~~~~
      |             send
ctrlconn.c: In function 'abort_ftp_cmd':
ctrlconn.c:575:9: warning: implicit declaration of function 'show_abort_dialog' [-Wimplicit-function-declaration]
  575 |         show_abort_dialog();
      |         ^~~~~~~~~~~~~~~~~
--- controls.o ---
controls.c: In function 'enable_controls':
controls.c:176:17: warning: implicit declaration of function 'update_layout_mode_buttons' [-Wimplicit-function-declaration]
  176 |                 update_layout_mode_buttons(dirwin);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
controls.c: At top level:
controls.c:186:1: warning: return type defaults to 'int' [-Wimplicit-int]
  186 | op_in_progress()
      | ^~~~~~~~~~~~~~
--- ctrlconn.o ---
ctrlconn.c:597:9: warning: implicit declaration of function 'hide_abort_dialog' [-Wimplicit-function-declaration]
  597 |         hide_abort_dialog();
      |         ^~~~~~~~~~~~~~~~~
ctrlconn.c: At top level:
ctrlconn.c:608:1: warning: return type defaults to 'int' [-Wimplicit-int]
  608 | rest_stop(seconds)
      | ^~~~~~~~~
--- cursor.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cursor.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from cursor.c:55:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
cursor.c: In function 'remove_dialog_from_list':
cursor.c:253:9: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  253 |         fatal_error("Bug in remove_dialog_from_list()");
      |         ^~~~~~~~~~~
--- dataconn.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dataconn.c
In file included from /usr/include/sys/types.h:25,
                 from dataconn.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- delete.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c delete.c
--- dataconn.o ---
dataconn.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int]
   74 | init_data_conn(host)
      | ^~~~~~~~~~~~~~
--- delete.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxdir/work/.buildlink/include/Xm/SelectioB.h:26,
                 from delete.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- dataconn.o ---
dataconn.c: In function 'init_data_conn':
dataconn.c:88:9: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
   88 |         report_perror("Opening stream socket");
      |         ^~~~~~~~~~~~~
dataconn.c:102:17: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  102 |                 close(sock);
      |                 ^~~~~
      |                 pclose
dataconn.c:135:23: warning: implicit declaration of function 'ftp_port' [-Wimplicit-function-declaration]
  135 |         if ((retval = ftp_port(host, buf)) < 0) {
      |                       ^~~~~~~~
dataconn.c: At top level:
dataconn.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int]
  149 | accept_data_conn(data_fd)
      | ^~~~~~~~~~~~~~~~
dataconn.c: In function 'accept_data_conn':
dataconn.c:158:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
  158 |                 write_log("*** Will try to accept connection\n");
      |                 ^~~~~~~~~
dataconn.c:160:23: warning: implicit declaration of function 'iaccept'; did you mean 'accept'? [-Wimplicit-function-declaration]
  160 |         new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen);
      |                       ^~~~~~~
      |                       accept
dataconn.c: At top level:
dataconn.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int]
  183 | passive_data_conn(host)
      | ^~~~~~~~~~~~~~~~~
dataconn.c: In function 'passive_data_conn':
dataconn.c:196:22: warning: implicit declaration of function 'ftp_passive' [-Wimplicit-function-declaration]
  196 |         if((retval = ftp_passive(host, &hostport)) < 0)
      |                      ^~~~~~~~~~~
dataconn.c:206:34: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
  206 |         remote.sin_addr.s_addr = inet_addr(host_addr);
      |                                  ^~~~~~~~~
dataconn.c:237:13: warning: implicit declaration of function 'iconnect'; did you mean 'connect'? [-Wimplicit-function-declaration]
  237 |         if (iconnect(sock, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) {
      |             ^~~~~~~~
      |             connect
dataconn.c:243:25: warning: implicit declaration of function 'select_on_write' [-Wimplicit-function-declaration]
  243 |                 switch (select_on_write(sock, maxt)) {
      |                         ^~~~~~~~~~~~~~~
--- delete.o ---
delete.c: In function 'cb_delete':
delete.c:106:14: warning: implicit declaration of function 'start_op'; did you mean 'strtok'? [-Wimplicit-function-declaration]
  106 |         if (!start_op(True))
      |              ^~~~~~~~
      |              strtok
delete.c:110:5: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  110 |     raise_okflag();
      |     ^~~~~~~~~~~~
delete.c:114:22: warning: implicit declaration of function 'verify_selection' [-Wimplicit-function-declaration]
  114 |                 if (!verify_selection(dirwin, dirwin,
      |                      ^~~~~~~~~~~~~~~~
delete.c:116:25: warning: implicit declaration of function 'end_op' [-Wimplicit-function-declaration]
  116 |                         end_op();
      |                         ^~~~~~
delete.c:122:9: warning: implicit declaration of function 'show_stop_button' [-Wimplicit-function-declaration]
  122 |         show_stop_button(dirwin);
      |         ^~~~~~~~~~~~~~~~
delete.c:125:5: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  125 |     use_busy_cursor();
      |     ^~~~~~~~~~~~~~~
--- diag.o ---
--- delete.o ---
delete.c:129:26: warning: implicit declaration of function 'check_connection'; did you mean 'XtCConnection'? [-Wimplicit-function-declaration]
  129 |                 retval = check_connection(dirwin->host, dirwin);
      |                          ^~~~~~~~~~~~~~~~
      |                          XtCConnection
--- diag.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c diag.c
--- delete.o ---
delete.c:131:25: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
  131 |                         restore_prev_cursor();
      |                         ^~~~~~~~~~~~~~~~~~~
--- diag.o ---
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from diag.c:54:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
--- delete.o ---
delete.c:134:33: warning: implicit declaration of function 'record_abort' [-Wimplicit-function-declaration]
  134 |                                 record_abort("Delete Entries");
      |                                 ^~~~~~~~~~~~
delete.c:137:33: warning: implicit declaration of function 'record_and_alert' [-Wimplicit-function-declaration]
  137 |                                 record_and_alert("Unable to delete entries.", dirwin->w_shell);
      |                                 ^~~~~~~~~~~~~~~~
delete.c:139:25: warning: implicit declaration of function 'hide_stop_button' [-Wimplicit-function-declaration]
  139 |                         hide_stop_button();
      |                         ^~~~~~~~~~~~~~~~
delete.c:150:13: warning: implicit declaration of function 'postorder_selected_items' [-Wimplicit-function-declaration]
  150 |             postorder_selected_items(&dirwin->entries[i], &head, &tail);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
delete.c:161:9: warning: implicit declaration of function 'show_mp_monitor' [-Wimplicit-function-declaration]
  161 |         show_mp_monitor(dirwin, "Now Deleting:");
      |         ^~~~~~~~~~~~~~~
delete.c: At top level:
delete.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int]
  171 | cb_delete_entries()
      | ^~~~~~~~~~~~~~~~~
delete.c: In function 'cb_delete_entries':
delete.c:195:13: warning: implicit declaration of function 'stop' [-Wimplicit-function-declaration]
  195 |         if (stop())
      |             ^~~~
--- diag.o ---
diag.c: In function 'create_diagnostics_window':
diag.c:162:9: warning: implicit declaration of function 'attach_wm_icon' [-Wimplicit-function-declaration]
  162 |         attach_wm_icon(diag.w_shell);
      |         ^~~~~~~~~~~~~~
--- delete.o ---
delete.c:226:9: warning: implicit declaration of function 'release_path_links' [-Wimplicit-function-declaration]
  226 |         release_path_links(first_path_links);
      |         ^~~~~~~~~~~~~~~~~~
delete.c:244:37: warning: implicit declaration of function 'local_cd' [-Wimplicit-function-declaration]
  244 |                                 if (local_cd(dc.full_path, False) == 0)
      |                                     ^~~~~~~~
delete.c:247:41: warning: implicit declaration of function 'remote_cd' [-Wimplicit-function-declaration]
  247 |                                 switch (remote_cd(dc.dirwin->host, dc.full_path, False)) {
      |                                         ^~~~~~~~~
--- diag.o ---
diag.c:169:9: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
  169 |         add_wm_delete_window_cb(diag.w_shell, cb_diag_close, NULL, True);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:257:41: warning: implicit declaration of function 'beep' [-Wimplicit-function-declaration]
  257 |                                         beep();
      |                                         ^~~~
delete.c:258:45: warning: implicit declaration of function 'question_dialog' [-Wimplicit-function-declaration]
  258 |                                         if (question_dialog(del_question, dc.dirwin->w_shell))
      |                                             ^~~~~~~~~~~~~~~
--- diag.o ---
diag.c:454:9: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  454 |         add_dialog_to_list(diag.w_shell);
      |         ^~~~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:264:49: warning: implicit declaration of function 'get_dirlist' [-Wimplicit-function-declaration]
  264 |                                         switch (get_dirlist(dc.dirwin->host, dc.full_path, TABULAR,
      |                                                 ^~~~~~~~~~~
--- diag.o ---
diag.c: In function 'cb_diag_help':
diag.c:478:9: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
  478 |         help_dialog(widget, False, "Diagnostics", diagnostics_help);
      |         ^~~~~~~~~~~
--- delete.o ---
delete.c:289:41: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
  289 |                                         release_array_list(list);
      |                                         ^~~~~~~~~~~~~~~~~~
--- diag.o ---
diag.c: In function 'cb_popup_diagnostics':
diag.c:492:9: warning: implicit declaration of function 'traverse_to_widget' [-Wimplicit-function-declaration]
  492 |         traverse_to_widget(diag.w_closeButton);
      |         ^~~~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:299:9: warning: implicit declaration of function 'update_mp_monitor' [-Wimplicit-function-declaration]
  299 |         update_mp_monitor(dc.rel_path);
      |         ^~~~~~~~~~~~~~~~~
--- diag.o ---
diag.c: In function 'report_perror':
diag.c:544:27: error: 'sys_errlist' undeclared (first use in this function)
  544 |                 write_log(sys_errlist[saved_errno]);
      |                           ^~~~~~~~~~~
diag.c:544:27: note: each undeclared identifier is reported only once for each function it appears in
diag.c: In function 'cb_diag_save_log':
diag.c:619:17: warning: implicit declaration of function 'record_and_alert' [-Wimplicit-function-declaration]
  619 |                 record_and_alert(msg, diag.w_shell);
      |                 ^~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:301:26: warning: implicit declaration of function 'local_delete'; did you mean 'cb_delete'? [-Wimplicit-function-declaration]
  301 |                 retval = local_delete(dc.full_path);
      |                          ^~~~~~~~~~~~
      |                          cb_delete
delete.c:303:17: warning: implicit declaration of function 'flush_cache_directory' [-Wimplicit-function-declaration]
  303 |                 flush_cache_directory(dc.dirwin->host, dc.full_path);
      |                 ^~~~~~~~~~~~~~~~~~~~~
delete.c:304:17: warning: implicit declaration of function 'parse_path' [-Wimplicit-function-declaration]
  304 |                 parse_path(hinfo[dc.dirwin->host].system, dc.full_path, &dir, NULL);
      |                 ^~~~~~~~~~
--- diag.o ---
diag.c: In function 'cb_change_diagnostics_level':
diag.c:785:17: warning: implicit declaration of function 'fatal_error' [-Wimplicit-function-declaration]
  785 |                 fatal_error("Bug in cb_change_diagnostics_level()");
      |                 ^~~~~~~~~~~
--- delete.o ---
delete.c:310:34: warning: implicit declaration of function 'remote_rmdir' [-Wimplicit-function-declaration]
  310 |                         retval = remote_rmdir(dc.dirwin->host, dc.full_path);
      |                                  ^~~~~~~~~~~~
--- diag.o ---
*** [diag.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/llnlxdir/work/llnlxdir2_1_2/sources
--- delete.o ---
delete.c:323:42: warning: implicit declaration of function 'remote_delete' [-Wimplicit-function-declaration]
  323 |                                 retval = remote_delete(dc.dirwin->host, dc.full_path);
      |                                          ^~~~~~~~~~~~~
delete.c:334:9: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  334 |         sprintf(msg, "Unable to delete %s.", dc.rel_path);
      |         ^~~~~~~
delete.c:60:1: note: include '<stdio.h>' or provide a declaration of 'sprintf'
   59 | #include "str.h"
  +++ |+#include <stdio.h>
   60 | 
delete.c:334:9: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch]
  334 |         sprintf(msg, "Unable to delete %s.", dc.rel_path);
      |         ^~~~~~~
delete.c:334:9: note: include '<stdio.h>' or provide a declaration of 'sprintf'
delete.c:335:9: warning: implicit declaration of function 'record_warning' [-Wimplicit-function-declaration]
  335 |         record_warning(msg);
      |         ^~~~~~~~~~~~~~
delete.c:341:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
  341 |                 write_log(msg);
      |                 ^~~~~~~~~
delete.c:354:9: warning: implicit declaration of function 'hide_mp_monitor' [-Wimplicit-function-declaration]
  354 |         hide_mp_monitor();
      |         ^~~~~~~~~~~~~~~
delete.c:357:9: warning: implicit declaration of function 'dirwin_out_of_date_alert' [-Wimplicit-function-declaration]
  357 |         dirwin_out_of_date_alert(dc.dirwin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
delete.c:363:18: warning: implicit declaration of function 'display_dir' [-Wimplicit-function-declaration]
  363 |         retval = display_dir(dc.dirwin->host, dc.dirwin, dc.dirwin->dirname, True,
      |                  ^~~~~~~~~~~
delete.c:372:17: warning: implicit declaration of function 'restore_lost_connection' [-Wimplicit-function-declaration]
  372 |                 restore_lost_connection(dc.dirwin->host, dc.dirwin);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
delete.c:394:17: warning: implicit declaration of function 'release_linked_list' [-Wimplicit-function-declaration]
  394 |                 release_linked_list(&dc.head[i]);
      |                 ^~~~~~~~~~~~~~~~~~~
delete.c:397:9: warning: implicit declaration of function 'clear_selected_entries'; did you mean 'cb_delete_entries'? [-Wimplicit-function-declaration]
  397 |         clear_selected_entries();
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         cb_delete_entries
delete.c:398:9: warning: implicit declaration of function 'update_dir_controls' [-Wimplicit-function-declaration]
  398 |         update_dir_controls();
      |         ^~~~~~~~~~~~~~~~~~~
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/llnlxdir/work/llnlxdir2_1_2/sources
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/llnlxdir
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/llnlxdir