=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/icsi-finger", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for icsi-finger-1.0.29 --- src/./Makefile --- cp ./support/cpp-Makefile src/tmp-Makefile.c (cd src/; tradcpp -DSVR4 -DCPP_CC=cc -DIncludes=../include/ tmp-Makefile.c | sed -e 's@[ ]*$@@' -e 's@^ *@ @' | uniq >./Makefile) rm -f src/tmp-Makefile.c --- all --- (cd src/; /opt/pkg/bin/bmake -f ./Makefile -j 2 all) --- fingerpaths.h --- cat ./../include/fingerpaths.cfg | sed -e 's@/usr/local/etc/fingerdir@/var/spool/fingerdir/@g' > fingerpaths.new if cmp fingerpaths.new fingerpaths.h; then rm -f fingerpaths.new; else cp fingerpaths.new ./../lib/./fingerpaths.h ; mv fingerpaths.new fingerpaths.h; fi cmp: fingerpaths.h: cannot open [No such file or directory] --- finger.o --- --- fingerd.o --- --- finger.o --- cc -O -I. -I. -I./../include/ -c finger.c --- fingerd.o --- cc -O -I. -I. -I./../include/ -c fingerd.c --- finger.o --- finger.c:44:1: error: return type defaults to 'int' [-Wimplicit-int] 44 | main (argc, argv) | ^~~~ finger.c: In function 'main': finger.c:44:1: warning: old-style function definition [-Wold-style-definition] finger.c:53:3: error: too many arguments to function 'default_error_handling'; expected 0, have 2 53 | default_error_handling (argv[0], stderr); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ In file included from finger.c:32: ./../include/error.h:48:6: note: declared here 48 | void default_error_handling (); | ^~~~~~~~~~~~~~~~~~~~~~ finger.c:82:7: error: too many arguments to function 'call_finger'; expected 0, have 3 82 | call_finger (arg, options, widtharg); | ^~~~~~~~~~~ ~~~ In file included from finger.c:33: ./../include/call.h:44:12: note: declared here 44 | extern int call_finger(); | ^~~~~~~~~~~ finger.c:89:5: error: too many arguments to function 'call_finger'; expected 0, have 3 89 | call_finger ("", options, widtharg); | ^~~~~~~~~~~ ~~ ./../include/call.h:44:12: note: declared here 44 | extern int call_finger(); | ^~~~~~~~~~~ finger.c:91:3: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 91 | exit(0); | ^~~~ finger.c:34:1: note: include '' or provide a declaration of 'exit' 33 | #include "call.h" +++ |+#include 34 | finger.c:91:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 91 | exit(0); | ^~~~ finger.c:91:3: note: include '' or provide a declaration of 'exit' *** [finger.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/net/icsi-finger/work/finger/src --- fingerd.o --- In file included from fingerd.c:52: ./../include/flock.h:38:5: error: conflicting types for 'flock'; have 'int(void)' 38 | int flock (); | ^~~~~ In file included from ./../include/flock.h:29: /usr/include/sys/file.h:196:12: note: previous declaration of 'flock' with type 'int(int, int)' 196 | extern int flock(int, int); | ^~~~~ fingerd.c:151:1: error: return type defaults to 'int' [-Wimplicit-int] 151 | main (argc, argv) | ^~~~ fingerd.c: In function 'main': fingerd.c:151:1: warning: old-style function definition [-Wold-style-definition] fingerd.c:180:33: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 180 | connect_timeout = atoi(argv[++arg_index]); | ^~~~ fingerd.c:200:7: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 200 | usage (); | ^~~~~ fingerd.c:205:5: error: too many arguments to function 'default_error_handling'; expected 0, have 2 205 | default_error_handling (argv[0], LOG_SYS); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ In file included from fingerd.c:50: ./../include/error.h:48:6: note: declared here 48 | void default_error_handling (); | ^~~~~~~~~~~~~~~~~~~~~~ fingerd.c:207:16: error: too many arguments to function 'getservhost'; expected 0, have 1 207 | serverhost = getservhost (GETSERV_LOCAL); | ^~~~~~~~~~~ In file included from fingerd.c:46: ./../include/getservhost.h:39:7: note: declared here 39 | char *getservhost (); | ^~~~~~~~~~~ fingerd.c:209:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 209 | exit (1); | ^~~~ fingerd.c:53:1: note: include '' or provide a declaration of 'exit' 52 | #include "flock.h" +++ |+#include 53 | fingerd.c:209:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 209 | exit (1); | ^~~~ fingerd.c:209:5: note: include '' or provide a declaration of 'exit' fingerd.c:211:8: error: too many arguments to function 'same_hostname'; expected 0, have 2 211 | if (!same_hostname (get_full_hostname (), serverhost)) | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from fingerd.c:48: ./../include/os.h:55:5: note: declared here 55 | int same_hostname (); | ^~~~~~~~~~~~~ fingerd.c:212:5: error: too many arguments to function 'handle_error'; expected 0, have 4 212 | handle_error (FATAL, "%s is not the Finger server. %s is.", | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c:219:13: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 219 | pid = fork (); | ^~~~ fingerd.c:222:9: error: too many arguments to function 'handle_error'; expected 0, have 2 222 | handle_error (FATAL, "Can't fork a child!"); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c:226:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 226 | exit (0); | ^~~~ fingerd.c:226:11: note: include '' or provide a declaration of 'exit' fingerd.c:232:9: error: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] 232 | setsid(); | ^~~~~~ fingerd.c:254:3: error: too many arguments to function 'debug'; expected 0, have 4 254 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:257:3: error: too many arguments to function 'debug'; expected 0, have 3 257 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:259:3: error: too many arguments to function 'debug'; expected 0, have 3 259 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:263:3: error: implicit declaration of function 'initialize_server' [-Wimplicit-function-declaration] 263 | initialize_server (); | ^~~~~~~~~~~~~~~~~ fingerd.c:269:11: error: implicit declaration of function 'clean_up_for_exit' [-Wimplicit-function-declaration] 269 | clean_up_for_exit (); | ^~~~~~~~~~~~~~~~~ fingerd.c:270:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 270 | exit (2); | ^~~~ fingerd.c:270:11: note: include '' or provide a declaration of 'exit' fingerd.c:273:7: error: implicit declaration of function 'poll_some_clients' [-Wimplicit-function-declaration] 273 | poll_some_clients (); | ^~~~~~~~~~~~~~~~~ fingerd.c:274:7: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 274 | sleep (time_between_polls); | ^~~~~ fingerd.c: At top level: fingerd.c:279:1: error: return type defaults to 'int' [-Wimplicit-int] 279 | clean_up_for_exit () | ^~~~~~~~~~~~~~~~~ fingerd.c:284:1: error: return type defaults to 'int' [-Wimplicit-int] 284 | usage () | ^~~~~ fingerd.c: In function 'usage': fingerd.c:294:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 294 | exit (1); | ^~~~ fingerd.c:294:3: note: include '' or provide a declaration of 'exit' fingerd.c: In function 'terminate_server': fingerd.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | terminate_server(signo) | ^~~~~~~~~~~~~~~~ fingerd.c:301:3: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 301 | close(user_file); | ^~~~~ | pclose fingerd.c:306:3: error: too many arguments to function 'handle_error'; expected 0, have 3 306 | handle_error (FATAL, "going down on signal %d", signo); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c: In function 'switch_debug': fingerd.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | switch_debug(signo) | ^~~~~~~~~~~~ fingerd.c: In function 'reinit_server': fingerd.c:324:1: warning: old-style function definition [-Wold-style-definition] 324 | reinit_server(signo) | ^~~~~~~~~~~~~ fingerd.c:331:3: error: too many arguments to function 'handle_error'; expected 0, have 3 331 | handle_error (WARNING, "reinitializing on signal %d", signo); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c: At top level: fingerd.c:336:1: error: return type defaults to 'int' [-Wimplicit-int] 336 | initialize_server () | ^~~~~~~~~~~~~~~~~ fingerd.c: In function 'initialize_server': fingerd.c:338:3: error: implicit declaration of function 'initialize_pathnames' [-Wimplicit-function-declaration] 338 | initialize_pathnames (); | ^~~~~~~~~~~~~~~~~~~~ fingerd.c:339:3: error: implicit declaration of function 'initialize_clients' [-Wimplicit-function-declaration] 339 | initialize_clients (); | ^~~~~~~~~~~~~~~~~~ fingerd.c:340:3: error: implicit declaration of function 'initialize_fingerdata' [-Wimplicit-function-declaration] 340 | initialize_fingerdata (); | ^~~~~~~~~~~~~~~~~~~~~ fingerd.c:345:27: error: too many arguments to function 'xmalloc'; expected 0, have 1 345 | (FINGER_PACKET **)xmalloc ((host_packets_size = 40) | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ 346 | * sizeof (FINGER_PACKET *)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/general.h:49, from fingerd.c:43: ./../include/util.h:64:7: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~ fingerd.c: At top level: fingerd.c:361:1: error: return type defaults to 'int' [-Wimplicit-int] 361 | initialize_pathnames () | ^~~~~~~~~~~~~~~~~~~~ fingerd.c:372:1: error: return type defaults to 'int' [-Wimplicit-int] 372 | initialize_clients () | ^~~~~~~~~~~~~~~~~~ fingerd.c: In function 'initialize_clients': fingerd.c:374:3: error: implicit declaration of function 'initialize_clients_internal'; did you mean 'initialize_clients'? [-Wimplicit-function-declaration] 374 | initialize_clients_internal (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | initialize_clients fingerd.c:382:7: error: too many arguments to function 'flock'; expected 0, have 2 382 | flock (clients_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:383:7: error: implicit declaration of function 'write_host_status' [-Wimplicit-function-declaration] 383 | write_host_status (clients, clients_file) < 0) | ^~~~~~~~~~~~~~~~~ fingerd.c:384:7: error: too many arguments to function 'file_error'; expected 0, have 2 384 | file_error (ALERT, hoststat); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:387:7: error: too many arguments to function 'flock'; expected 0, have 2 387 | flock (clients_file, LOCK_UN); | ^~~~~ ~~~~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:392:7: error: too many arguments to function 'remove_packets'; expected 0, have 3 392 | remove_packets (host_packets, true_cmp, NULL); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from fingerd.c:47: ./../include/packet.h:61:5: note: declared here 61 | int remove_packets (), uniq_packets (); | ^~~~~~~~~~~~~~ fingerd.c: At top level: fingerd.c:425:1: error: return type defaults to 'int' [-Wimplicit-int] 425 | initialize_clients_internal () | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fingerd.c: In function 'initialize_clients_internal': fingerd.c:436:7: error: too many arguments to function 'free_array'; expected 0, have 1 436 | free_array(clients); | ^~~~~~~~~~ ~~~~~~~ ./../include/util.h:72:6: note: declared here 72 | void free_array (); | ^~~~~~~~~~ fingerd.c:443:17: error: too many arguments to function 'get_config_entry'; expected 0, have 2 443 | for (; line = get_config_entry("client", NULL); free(line)) | ^~~~~~~~~~~~~~~~ ~~~~~~~~ ./../include/util.h:122:7: note: declared here 122 | char *get_config_entry (); | ^~~~~~~~~~~~~~~~ fingerd.c:443:51: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 443 | for (; line = get_config_entry("client", NULL); free(line)) | ^~~~ fingerd.c:443:51: note: include '' or provide a declaration of 'free' fingerd.c:443:51: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fingerd.c:443:51: note: include '' or provide a declaration of 'free' ./../include/util.h:82:25: error: too many arguments to function 'STRNICMP'; expected 0, have 3 82 | #define strnicmp STRNICMP | ^~~~~~~~ fingerd.c:458:15: note: in expansion of macro 'strnicmp' 458 | if (strnicmp (start, "subnet", end - start) == 0) | ^~~~~~~~ ./../include/util.h:82:25: note: declared here 82 | #define strnicmp STRNICMP | ^~~~~~~~ ./../include/util.h:87:5: note: in expansion of macro 'strnicmp' 87 | int strnicmp (); | ^~~~~~~~ fingerd.c:460:15: error: too many arguments to function 'warning'; expected 0, have 1 460 | warning ("client: can't hack subnets yet"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ ./../include/util.h:82:25: error: too many arguments to function 'STRNICMP'; expected 0, have 3 82 | #define strnicmp STRNICMP | ^~~~~~~~ fingerd.c:463:20: note: in expansion of macro 'strnicmp' 463 | else if (strnicmp (start, "gateway", end - start) == 0) | ^~~~~~~~ ./../include/util.h:82:25: note: declared here 82 | #define strnicmp STRNICMP | ^~~~~~~~ ./../include/util.h:87:5: note: in expansion of macro 'strnicmp' 87 | int strnicmp (); | ^~~~~~~~ fingerd.c:472:19: error: too many arguments to function 'warning'; expected 0, have 1 472 | warning ("client: missing gateway host"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ ./../include/util.h:82:25: error: too many arguments to function 'STRNICMP'; expected 0, have 3 82 | #define strnicmp STRNICMP | ^~~~~~~~ fingerd.c:476:20: note: in expansion of macro 'strnicmp' 476 | else if (strnicmp (start, "local", end - start) == 0) | ^~~~~~~~ ./../include/util.h:82:25: note: declared here 82 | #define strnicmp STRNICMP | ^~~~~~~~ ./../include/util.h:87:5: note: in expansion of macro 'strnicmp' 87 | int strnicmp (); | ^~~~~~~~ fingerd.c:487:19: error: implicit declaration of function 'add_client' [-Wimplicit-function-declaration] 487 | add_client (get_full_hostname (), address, status); | ^~~~~~~~~~ ./../include/util.h:82:25: error: too many arguments to function 'STRNICMP'; expected 0, have 3 82 | #define strnicmp STRNICMP | ^~~~~~~~ fingerd.c:491:20: note: in expansion of macro 'strnicmp' 491 | else if (strnicmp (start, "alias", end - start) == 0) | ^~~~~~~~ ./../include/util.h:82:25: note: declared here 82 | #define strnicmp STRNICMP | ^~~~~~~~ ./../include/util.h:87:5: note: in expansion of macro 'strnicmp' 87 | int strnicmp (); | ^~~~~~~~ fingerd.c:498:19: error: too many arguments to function 'warning'; expected 0, have 1 498 | warning ("client: missing alias name"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:513:19: error: too many arguments to function 'warning'; expected 0, have 1 513 | warning ("client: missing alias host"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:519:15: error: too many arguments to function 'warning'; expected 0, have 2 519 | warning ("client: bad directive: %s", line); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:542:9: error: too many arguments to function 'warning'; expected 0, have 2 542 | warning ("%s: unknown host", start); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:549:5: error: too many arguments to function 'handle_error'; expected 0, have 2 549 | handle_error (FATAL, "no clients found -- exiting"); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c: At top level: fingerd.c:554:1: error: return type defaults to 'int' [-Wimplicit-int] 554 | add_client (name, address, status) | ^~~~~~~~~~ fingerd.c: In function 'add_client': fingerd.c:554:1: warning: old-style function definition [-Wold-style-definition] fingerd.c:565:24: error: too many arguments to function 'xmalloc'; expected 0, have 1 565 | (CLIENT **)xmalloc ((clients_size = 20) * sizeof (CLIENT *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/util.h:64:7: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~ fingerd.c:567:30: error: too many arguments to function 'xrealloc'; expected 0, have 2 567 | clients = (CLIENT **)xrealloc | ^~~~~~~~ 568 | (clients, (clients_size += 20) * sizeof (CLIENT *)); | ~~~~~~~ ./../include/util.h:64:20: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~~ fingerd.c:571:19: error: too many arguments to function 'xmalloc'; expected 0, have 1 571 | new = (CLIENT *)xmalloc (sizeof (CLIENT)); | ^~~~~~~ ~~~~~~~~~~~~~~~ ./../include/util.h:64:7: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~ fingerd.c: At top level: fingerd.c:586:1: error: return type defaults to 'int' [-Wimplicit-int] 586 | initialize_fingerdata () | ^~~~~~~~~~~~~~~~~~~~~ fingerd.c: In function 'initialize_fingerdata': fingerd.c:593:11: error: too many arguments to function 'file_error'; expected 0, have 2 593 | file_error (FATAL, hostdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:602:11: error: too many arguments to function 'file_error'; expected 0, have 2 602 | file_error (FATAL, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:605:11: error: too many arguments to function 'free_array'; expected 0, have 1 605 | free_array(user_packets); | ^~~~~~~~~~ ~~~~~~~~~~~~ ./../include/util.h:72:6: note: declared here 72 | void free_array (); | ^~~~~~~~~~ fingerd.c:607:22: error: too many arguments to function 'read_packets'; expected 0, have 2 607 | user_packets = read_packets(user_file, 0); | ^~~~~~~~~~~~ ~~~~~~~~~ ./../include/packet.h:58:17: note: declared here 58 | FINGER_PACKET **read_packets (), **finger_at_address (); | ^~~~~~~~~~~~ fingerd.c:609:11: error: too many arguments to function 'file_error'; expected 0, have 2 609 | file_error (FATAL, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:611:27: error: too many arguments to function 'array_len'; expected 0, have 1 611 | user_packets_size = array_len(user_packets); | ^~~~~~~~~ ~~~~~~~~~~~~ ./../include/util.h:68:5: note: declared here 68 | int array_len (); | ^~~~~~~~~ fingerd.c:612:7: error: too many arguments to function 'debug'; expected 0, have 4 612 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:616:15: error: too many arguments to function 'remove_packets'; expected 0, have 3 616 | bogus = remove_packets(user_packets, bogus_packet, NULL); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/packet.h:61:5: note: declared here 61 | int remove_packets (), uniq_packets (); | ^~~~~~~~~~~~~~ fingerd.c:618:11: error: too many arguments to function 'handle_error'; expected 0, have 3 618 | handle_error (WARNING, "%d bogus packets in old userdata", bogus); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c:621:7: error: too many arguments to function 'sort_packets'; expected 0, have 1 621 | sort_packets (user_packets); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/packet.h:62:6: note: declared here 62 | void sort_packets (); | ^~~~~~~~~~~~ fingerd.c:622:15: error: too many arguments to function 'uniq_packets'; expected 0, have 1 622 | bogus = uniq_packets (user_packets); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/packet.h:61:24: note: declared here 61 | int remove_packets (), uniq_packets (); | ^~~~~~~~~~~~ fingerd.c:624:11: error: too many arguments to function 'handle_error'; expected 0, have 3 624 | handle_error (WARNING, "%d duplicate users in old userdata", bogus); | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c:629:11: error: too many arguments to function 'file_error'; expected 0, have 2 629 | file_error (FATAL, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:632:11: error: too many arguments to function 'flock'; expected 0, have 2 632 | if (flock (user_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:633:11: error: too many arguments to function 'write_packets'; expected 0, have 2 633 | write_packets (user_packets, user_file) < 0) | ^~~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/packet.h:59:5: note: declared here 59 | int write_packets (); | ^~~~~~~~~~~~~ fingerd.c:634:11: error: too many arguments to function 'file_error'; expected 0, have 2 634 | file_error (ALERT, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:636:7: error: too many arguments to function 'flock'; expected 0, have 2 636 | flock (user_file, LOCK_UN); | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c: At top level: fingerd.c:642:1: error: return type defaults to 'int' [-Wimplicit-int] 642 | poll_some_clients () | ^~~~~~~~~~~~~~~~~ fingerd.c: In function 'poll_some_clients': fingerd.c:679:11: error: implicit declaration of function 'poll_client' [-Wimplicit-function-declaration] 679 | poll_client (client, 1); | ^~~~~~~~~~~ fingerd.c:688:7: error: too many arguments to function 'flock'; expected 0, have 2 688 | if (flock (host_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:689:7: error: too many arguments to function 'write_packets'; expected 0, have 2 689 | write_packets (host_packets, host_file) < 0) | ^~~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/packet.h:59:5: note: declared here 59 | int write_packets (); | ^~~~~~~~~~~~~ fingerd.c:690:7: error: too many arguments to function 'file_error'; expected 0, have 2 690 | file_error (ALERT, hostdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:692:3: error: too many arguments to function 'flock'; expected 0, have 2 692 | flock (host_file, LOCK_UN); | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:696:8: error: too many arguments to function 'flock'; expected 0, have 2 696 | (flock (clients_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:698:7: error: too many arguments to function 'file_error'; expected 0, have 2 698 | file_error (ALERT, hoststat); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:701:7: error: too many arguments to function 'flock'; expected 0, have 2 701 | flock (clients_file, LOCK_UN); | ^~~~~ ~~~~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:705:3: error: implicit declaration of function 'utime'; did you mean 'time'? [-Wimplicit-function-declaration] 705 | utime(USERDATA, NULL); | ^~~~~ | time fingerd.c: At top level: fingerd.c:713:1: error: return type defaults to 'int' [-Wimplicit-int] 713 | poll_client (client, lastlog) | ^~~~~~~~~~~ fingerd.c: In function 'poll_client': fingerd.c:713:1: warning: old-style function definition [-Wold-style-definition] fingerd.c:722:3: error: too many arguments to function 'debug'; expected 0, have 5 722 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:730:19: error: too many arguments to function 'get_lastlog_data'; expected 0, have 1 730 | packets = get_lastlog_data (client->hostname); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./../include/os.h:42:18: note: declared here 42 | FINGER_PACKET ** get_lastlog_data (); | ^~~~~~~~~~~~~~~~ fingerd.c:732:19: error: too many arguments to function 'get_finger_data'; expected 0, have 2 732 | packets = get_finger_data (client->hostname, 0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./../include/os.h:38:17: note: declared here 38 | FINGER_PACKET **get_finger_data (); | ^~~~~~~~~~~~~~~ fingerd.c:742:21: error: too many arguments to function 'finger_at_address'; expected 0, have 2 742 | packets = finger_at_address (&client->address, | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./../include/packet.h:58:36: note: declared here 58 | FINGER_PACKET **read_packets (), **finger_at_address (); | ^~~~~~~~~~~~~~~~~ fingerd.c:747:19: error: too many arguments to function 'finger_at_address'; expected 0, have 2 747 | packets = finger_at_address (&client->address, | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./../include/packet.h:58:36: note: declared here 58 | FINGER_PACKET **read_packets (), **finger_at_address (); | ^~~~~~~~~~~~~~~~~ fingerd.c:758:9: error: too many arguments to function 'warning'; expected 0, have 2 758 | warning ("%s is back up", client->hostname); | ^~~~~~~ ~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:761:15: error: too many arguments to function 'remove_packets'; expected 0, have 3 761 | bogus = remove_packets(packets, bogus_packet, NULL); | ^~~~~~~~~~~~~~ ~~~~~~~ ./../include/packet.h:61:5: note: declared here 61 | int remove_packets (), uniq_packets (); | ^~~~~~~~~~~~~~ fingerd.c:763:11: error: too many arguments to function 'handle_error'; expected 0, have 4 763 | handle_error (WARNING, "got %d bogus packets from %s", | ^~~~~~~~~~~~ ./../include/error.h:49:6: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~~~ fingerd.c:776:35: error: implicit declaration of function 'remove_host_packets'; did you mean 'remove_packets'? [-Wimplicit-function-declaration] 776 | host_packets_len -= remove_host_packets (host_packets, lasthost); | ^~~~~~~~~~~~~~~~~~~ | remove_packets fingerd.c:784:7: error: too many arguments to function 'warning'; expected 0, have 2 784 | warning("No packets from %s -- timeout may be too short", | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:6: note: declared here 50 | void warning (), debug (); | ^~~~~~~ fingerd.c:796:9: error: too many arguments to function 'file_error'; expected 0, have 2 796 | file_error (WARNING, client->hostname); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:819:11: error: implicit declaration of function 'record_user_info' [-Wimplicit-function-declaration] 819 | record_user_info (&dummy, timestamp, lastlog, gateway); | ^~~~~~~~~~~~~~~~ fingerd.c:829:7: error: too many arguments to function 'same_hostname'; expected 0, have 2 829 | same_hostname(packets[0]->host, client->hostname)) | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./../include/os.h:55:5: note: declared here 55 | int same_hostname (); | ^~~~~~~~~~~~~ fingerd.c:856:15: error: too many arguments to function 'print_packet'; expected 0, have 2 856 | print_packet (packets[i], debug_output); | ^~~~~~~~~~~~ ~~~~~~~~~~ ./../include/packet.h:64:6: note: declared here 64 | void print_packet (), ascii_packet (); | ^~~~~~~~~~~~ fingerd.c:873:7: error: too many arguments to function 'debug'; expected 0, have 4 873 | debug (debugging || poll_debugging, | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/error.h:50:18: note: declared here 50 | void warning (), debug (); | ^~~~~ fingerd.c:878:7: error: too many arguments to function 'free_array'; expected 0, have 1 878 | free_array (packets); | ^~~~~~~~~~ ~~~~~~~ ./../include/util.h:72:6: note: declared here 72 | void free_array (); | ^~~~~~~~~~ fingerd.c: At top level: fingerd.c:894:1: error: return type defaults to 'int' [-Wimplicit-int] 894 | record_user_info (packet, timestamp, lastlog, gateway) | ^~~~~~~~~~~~~~~~ fingerd.c: In function 'record_user_info': fingerd.c:894:1: warning: old-style function definition [-Wold-style-definition] fingerd.c:906:29: error: too many arguments to function 'xrealloc'; expected 0, have 2 906 | (FINGER_PACKET **)xrealloc (host_packets, | ^~~~~~~~ ~~~~~~~~~~~~ ./../include/util.h:64:20: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~~ fingerd.c:911:30: error: too many arguments to function 'xmalloc'; expected 0, have 1 911 | (FINGER_PACKET *)xmalloc (sizeof (FINGER_PACKET)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ./../include/util.h:64:7: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~ fingerd.c:945:21: error: too many arguments to function 'flock'; expected 0, have 2 945 | if (flock (user_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:946:21: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 946 | lseek (user_file, offset, 0) != offset) | ^~~~~ | fseek fingerd.c:947:21: error: too many arguments to function 'file_error'; expected 0, have 2 947 | file_error(FATAL, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:948:17: error: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] 948 | write (user_file, packet, sizeof (FINGER_PACKET)); | ^~~~~ | writev fingerd.c:949:17: error: too many arguments to function 'flock'; expected 0, have 2 949 | flock (user_file, LOCK_UN); | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:959:31: error: too many arguments to function 'xrealloc'; expected 0, have 2 959 | (FINGER_PACKET **)xrealloc (user_packets, | ^~~~~~~~ ~~~~~~~~~~~~ ./../include/util.h:64:20: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~~ fingerd.c:963:44: error: too many arguments to function 'xmalloc'; expected 0, have 1 963 | user_packets[i] = (FINGER_PACKET *)xmalloc (sizeof (FINGER_PACKET)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ ./../include/util.h:64:7: note: declared here 64 | void *xmalloc (), *xrealloc (); | ^~~~~~~ fingerd.c:968:13: error: too many arguments to function 'flock'; expected 0, have 2 968 | if (flock (user_file, LOCK_EX) < 0 || | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c:970:13: error: too many arguments to function 'file_error'; expected 0, have 2 970 | file_error(FATAL, userdata); | ^~~~~~~~~~ ./../include/error.h:49:23: note: declared here 49 | void handle_error (), file_error (); | ^~~~~~~~~~ fingerd.c:972:9: error: too many arguments to function 'flock'; expected 0, have 2 972 | flock (user_file, LOCK_UN); | ^~~~~ ~~~~~~~~~ ./../include/flock.h:38:5: note: declared here 38 | int flock (); | ^~~~~ fingerd.c: In function 'host_cmp': fingerd.c:979:1: warning: old-style function definition [-Wold-style-definition] 979 | host_cmp (packet, host) | ^~~~~~~~ fingerd.c:982:1: error: number of arguments doesn't match prototype 982 | { | ^ fingerd.c:142:17: error: prototype declaration 142 | int true_cmp(), host_cmp(), bogus_packet(); | ^~~~~~~~ fingerd.c:983:11: error: too many arguments to function 'same_hostname'; expected 0, have 2 983 | return (same_hostname (packet->host, host)); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~ ./../include/os.h:55:5: note: declared here 55 | int same_hostname (); | ^~~~~~~~~~~~~ fingerd.c: In function 'true_cmp': fingerd.c:988:1: warning: old-style function definition [-Wold-style-definition] 988 | true_cmp (packet, host) | ^~~~~~~~ fingerd.c:991:1: error: number of arguments doesn't match prototype 991 | { | ^ fingerd.c:142:5: error: prototype declaration 142 | int true_cmp(), host_cmp(), bogus_packet(); | ^~~~~~~~ fingerd.c: In function 'bogus_packet': fingerd.c:997:1: warning: old-style function definition [-Wold-style-definition] 997 | bogus_packet (packet) | ^~~~~~~~~~~~ fingerd.c:999:1: error: number of arguments doesn't match prototype 999 | { | ^ fingerd.c:142:29: error: prototype declaration 142 | int true_cmp(), host_cmp(), bogus_packet(); | ^~~~~~~~~~~~ fingerd.c: In function 'remove_host_packets': fingerd.c:1036:1: warning: old-style function definition [-Wold-style-definition] 1036 | remove_host_packets (list, host) | ^~~~~~~~~~~~~~~~~~~ fingerd.c:1040:10: error: too many arguments to function 'remove_packets'; expected 0, have 3 1040 | return remove_packets (list, host_cmp, host); | ^~~~~~~~~~~~~~ ~~~~ ./../include/packet.h:61:5: note: declared here 61 | int remove_packets (), uniq_packets (); | ^~~~~~~~~~~~~~ fingerd.c: In function 'write_host_status': fingerd.c:1047:1: warning: old-style function definition [-Wold-style-definition] 1047 | write_host_status (clients, filedes) | ^~~~~~~~~~~~~~~~~ fingerd.c:1065:7: error: implicit declaration of function 'ftruncate'; did you mean 'strncat'? [-Wimplicit-function-declaration] 1065 | if (ftruncate(filedes, (long)(i * sizeof (CLIENT))) < 0) | ^~~~~~~~~ | strncat *** [fingerd.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/net/icsi-finger/work/finger/src bmake[1]: 2 errors bmake[1]: stopped making "all" in /tmp/work/net/icsi-finger/work/finger/src *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/net/icsi-finger/work/finger bmake: 1 error bmake: stopped making "all" in /tmp/work/net/icsi-finger/work/finger *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icsi-finger *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icsi-finger