>>> Building on exopi-2 under sysutils/idled DIST = [sysutils/idled:idled-1.16.tar.gz] FULLPKGNAME = idled-1.16p2 distfiles size=70864 >>> Running build in sysutils/idled at 1764528118.65 ===> sysutils/idled ===> Building from scratch idled-1.16p2 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for idled-1.16p2 `/exopi-cvs/ports/distfiles/idled-1.16.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for idled-1.16p2 rm -f a.out insque.o list.o parse.o scan.o idled.o warn.o xlock_check.o zap.o linetimelist.o core errs lint.errs Makefile.bak *.s tags parse.c scan.c idled y.tab.* lex.yy.c ===> Patching for idled-1.16p2 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Fri May 17 00:05:28 1996 |+++ Makefile Wed Apr 20 11:57:59 2005 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 164. Hunk #3 succeeded at 215. Hunk #4 succeeded at 422. Hunk #5 succeeded at 479. Hunk #6 succeeded at 526. done ===> Applying OpenBSD patch patch-idled_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: idled.c |--- idled.c.orig |+++ idled.c -------------------------- Patching file idled.c using Plan A... Hunk #1 succeeded at 93. Hunk #2 succeeded at 1287. done ===> Applying OpenBSD patch patch-idled_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: idled.h |--- idled.h.orig |+++ idled.h -------------------------- Patching file idled.h using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 199. done ===> Applying OpenBSD patch patch-warn_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- warn.c.orig Thu Apr 21 12:43:40 2005 |+++ warn.c Thu Apr 21 12:45:48 2005 -------------------------- Patching file warn.c using Plan A... Hunk #1 succeeded at 139. done ===> Applying OpenBSD patch patch-xlock_check_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xlock_check.c |--- xlock_check.c.orig |+++ xlock_check.c -------------------------- Patching file xlock_check.c using Plan A... Hunk #1 succeeded at 25. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for idled-1.16p2 ===> Configuring for idled-1.16p2 ===> Building for idled-1.16p2 cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c insque.c insque.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | insque(elem , pred) | ^ 1 warning generated. yacc -d parse.y mv y.tab.c parse.c cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c list.c list.c:12:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | extern char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ list.c:13:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ list.c:53:11: warning: passing arguments to 'insque' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | insque (new_node, ptr->q_back); | ^ list.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void addlist(list, type, name, num, flag) | ^ list.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | void freelist(ptr) | ^ list.c:104:23: warning: passing arguments to 'find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if (rule = find (ptr, i)) | ^ list.c:104:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | if (rule = find (ptr, i)) | ~~~~~^~~~~~~~~~~~~~~ list.c:104:16: note: place parentheses around the assignment to silence this warning 104 | if (rule = find (ptr, i)) | ^ | ( ) list.c:104:16: note: use '==' to turn this assignment into an equality comparison 104 | if (rule = find (ptr, i)) | ^ | == list.c:108:23: warning: passing arguments to 'find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | if (rule = find (ptr, i)) | ^ list.c:108:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if (rule = find (ptr, i)) | ~~~~~^~~~~~~~~~~~~~~ list.c:108:16: note: place parentheses around the assignment to silence this warning 108 | if (rule = find (ptr, i)) | ^ | ( ) list.c:108:16: note: use '==' to turn this assignment into an equality comparison 108 | if (rule = find (ptr, i)) | ^ | == list.c:112:23: warning: passing arguments to 'find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | if (rule = find (ptr, i)) | ^ list.c:112:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 112 | if (rule = find (ptr, i)) | ~~~~~^~~~~~~~~~~~~~~ list.c:112:16: note: place parentheses around the assignment to silence this warning 112 | if (rule = find (ptr, i)) | ^ | ( ) list.c:112:16: note: use '==' to turn this assignment into an equality comparison 112 | if (rule = find (ptr, i)) | ^ | == list.c:116:16: warning: passing arguments to 'find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if (find (ptr, i)) | ^ list.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void setlimits(i) | ^ list.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int find(ptr,i) | ^ list.c:11:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | int find(); | ^ 15 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c parse.c parse.y:20:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 20 | extern char *strchr(); | ^ parse.y:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | yyerror(sb) | ^ parse.y:360:26: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | addlist(refuse, LOGIN, username, 0, 0); | ^ parse.y:364:26: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | addlist(session, LOGIN, username, 0, param); | ^ parse.y:368:26: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | addlist(rules, LOGIN, username, 0, param); | ^ parse.y:372:26: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | addlist(exmpt, LOGIN, username, 0, param); | ^ parse.y:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void filecom_parse(type,filename,param) | ^ y.tab.c:475:23: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | if ((yychar = yylex()) < 0) yychar = 0; | ^ parse.y:88:11: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | addlist(exmpt, yyvsp[-2].nb, name, num, yyvsp[-1].nb); | ^ parse.y:102:11: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | addlist(refuse, yyvsp[-1].nb, name, num, 0); | ^ parse.y:116:11: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | addlist(session, yyvsp[-2].nb, name, num, yyvsp[-1].nb); | ^ parse.y:138:11: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | addlist(rules, yyvsp[-2].nb, name, num, yyvsp[-1].nb); | ^ parse.y:146:11: warning: passing arguments to 'addlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | addlist(rules, DEFAULT, NULL, 0, yyvsp[-1].nb); | ^ y.tab.c:883:27: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 883 | if ((yychar = yylex()) < 0) yychar = 0; | ^ 14 warnings generated. lex scan.l mv lex.yy.c scan.c cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c scan.c scan.l:68:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | yyerror(errormsg); | ^ 1 warning generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c idled.c idled.c:108:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 108 | extern char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ idled.c:109:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 109 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ idled.c:311:44: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | for (utmptr = 0, userptr = 0; (res = read (utmpfd, (char *) &utmpbuf, sizeof (struct utmp))) > 0;) | ^ idled.c:347:26: warning: comparison between pointer and integer ('char' and 'void *') [-Wpointer-integer-compare] 347 | if (utmpbuf.ut_name[0] != NULL || isConsole) | ~~~~~~~~~~~~~~~~~~ ^ ~~~~ idled.c:357:15: warning: passing arguments to 'setlimits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | setlimits (utmptr); | ^ idled.c:364:14: warning: passing arguments to 'chk_idle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | chk_idle (utmptr); | ^ idled.c:403:34: warning: passing arguments to 'getgroups_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | getgroups_func (pswd->pw_name, user->groups, pswd->pw_gid); | ^ idled.c:405:19: warning: passing arguments to 'setlimits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | setlimits (utmptr); | ^ idled.c:407:34: warning: passing arguments to 'chk_session_refuse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | chk_session_refuse(user); | ^ idled.c:412:16: warning: call to undeclared function 'checklinetimeremove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | checklinetimeremove(user,&errorlines); | ^ idled.c:418:28: warning: passing arguments to 'chk_idle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | chk_idle (utmptr); | ^ idled.c:465:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | (void) close (utmpfd); | ^ idled.c:474:14: warning: passing arguments to 'chk_refuse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | chk_refuse (userptr); | ^ idled.c:478:24: warning: passing arguments to 'chk_session' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | tempus = chk_session (userptr); | ^ idled.c:484:16: warning: passing arguments to 'chk_multiple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | chk_multiple (userptr); | ^ idled.c:487:14: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | (void) sleep ((unsigned) (nextcheck - tempus)); | ^ idled.c:120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | int main(argc,argv) | ^ idled.c:541:16: warning: passing arguments to 'freelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | freelist (exmpt); | ^ idled.c:542:16: warning: passing arguments to 'freelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | freelist (refuse); | ^ idled.c:543:16: warning: passing arguments to 'freelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | freelist (rules); | ^ idled.c:544:16: warning: passing arguments to 'freelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | freelist (session); | ^ idled.c:567:14: warning: call to undeclared function 'yyparse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | (void) yyparse (); | ^ idled.c:568:14: warning: call to undeclared function 'yyrestart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | (void) yyrestart (conffd); /* jn */ | ^ idled.c:583:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | void add_session_refuse(user) | ^ idled.c:90:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | add_session_refuse(), | ^ idled.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void chk_session_refuse(user) | ^ idled.c:91:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | chk_session_refuse(), | ^ idled.c:674:8: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | warn (who, IS_REFU, DO_MSG); | ^ idled.c:667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | void chk_refuse(n_users) | ^ idled.c:89:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | chk_refuse(), | ^ idled.c:750:18: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | warn (who, IS_LIMIT, DO_MSG); /* Warn or Zap, using right time */ | ^ idled.c:681:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | int chk_session(n_users) | ^ idled.c:99:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | chk_session(), | ^ idled.c:805:38: warning: passing arguments to 'num_uids' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | numper = m_threshold / num_uids(n_users); | ^ idled.c:872:12: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | warn (i, IS_MULT, DO_MSG); /* Warn/Zap, saying correct # of logins */ | ^ idled.c:780:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | void chk_multiple(n_users) | ^ idled.c:88:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | chk_multiple(), | ^ idled.c:881:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | int num_uids(n_users) | ^ idled.c:100:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | num_uids(); | ^ idled.c:929:20: warning: passing arguments to 'console_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | console_check(i); | ^ idled.c:1008:12: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | warn (i, IS_IDLE, DO_MSG); /* Warn/Zap, saying correct idle time */ | ^ idled.c:914:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | void chk_idle(i) | ^ idled.c:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | void chk_idle(), | ^ idled.c:1023:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | time_t idle_time(allowed_console_idle, i, in_X) | ^ idled.c:1117:23: warning: passing arguments to 'xlock_check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | xlock = xlock_check(users[i].uid); | ^ idled.c:1131:15: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | warn (i, IS_XLOCK, DO_MSG); | ^ idled.c:1173:18: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | warn (i, IS_IDLE, DO_MSG); | ^ idled.c:1182:18: warning: passing arguments to 'warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | warn (i, IS_IDLE, !DO_MSG); /* Don't warn if not in X */ | ^ idled.c:1100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | void console_check(i) | ^ idled.c:92:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | console_check(), | ^ idled.c:1240:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1240 | while (grp = getgrent ()) | ~~~~^~~~~~~~~~~~~ idled.c:1240:15: note: place parentheses around the assignment to silence this warning 1240 | while (grp = getgrent ()) | ^ | ( ) idled.c:1240:15: note: use '==' to turn this assignment into an equality comparison 1240 | while (grp = getgrent ()) | ^ | == idled.c:1226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | void getgroups_func(pw_name, groups, pw_group) | ^ idled.c:96:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | getgroups_func(); | ^ idled.c:1272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | int comp(h1, h2) | ^ idled.c:98:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | int comp(), | ^ idled.c:1327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | void core_time(signal_num) | ^ idled.c:95:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | core_time(), | ^ idled.c:1351:12: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1351 | switch (fork ()) | ^ idled.c:1381:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1381 | (void) close (fd); | ^ idled.c:1385:11: warning: call to undeclared function 'setsid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1385 | (void) setsid (); | ^ 60 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c warn.c warn.c:30:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | extern char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ warn.c:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 31 | time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ warn.c:124:13: warning: call to undeclared function 'addlinetime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | addlinetime(him,&errorlines); | ^ warn.c:166:14: warning: call to undeclared function 'inlinetime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | if (inlinetime(him,&errorlines)) | ^ warn.c:198:14: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | zap (him, "multiple", do_msg); | ^ warn.c:213:24: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | strtime (sleeptime, !SAY_MORE), | ^ warn.c:212:30: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] 207 | "%s%19.19s%s%s%s %d%s %s%s", | ~~ | %lld 208 | "\007\r\n\r\n", 209 | ctime (&tempus), 210 | "\nThis user id is logged on too many times. Please end\r\n", 211 | "some logins to reduce your total number of logins to no\r\n", 212 | "more than ", him->next, ". Please do so in the next", | ^~~~~~~~~ warn.c:222:11: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | zap (him, "xlock", do_msg); | ^ warn.c:227:11: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | zap (him, "console-idle", do_msg); | ^ warn.c:233:14: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | zap (him, "idle", do_msg); | ^ warn.c:248:24: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | strtime (warntime, SAY_MORE), | ^ warn.c:258:14: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | zap (him, "session", do_msg); | ^ warn.c:273:24: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | strtime (warntime, !SAY_MORE), | ^ warn.c:300:11: warning: passing arguments to 'zap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | zap (him, "refused", do_msg); | ^ warn.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void warn(i, type, do_msg) | ^ warn.c:330:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | char *strtime(seconds,domore) | ^ warn.c:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | char *strtime(); | ^ 17 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c xlock_check.c xlock_check.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int getuid(username) | ^ xlock_check.c:76:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | time_t xlock_check(username) | ^ xlock_check.c:228:1: warning: non-void function does not return a value [-Wreturn-type] 228 | } | ^ 3 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c zap.c zap.c:34:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 34 | extern char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ zap.c:36:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ zap.c:109:7: warning: call to undeclared function 'seteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | seteuid(pw->pw_uid); | ^ zap.c:114:14: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | (void) write (td, message, sizeof (message)); | ^ zap.c:115:14: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | (void) fsync (td); | ^ zap.c:118:14: warning: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | (void) ioctl (td, TCIOFLUSH, (char *) 0); | ^ zap.c:121:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | (void) close (td); | ^ zap.c:143:16: warning: passing arguments to 'ps_hack_kill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | ps_hack_kill(him); | ^ zap.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void zap(him, type, do_msg) | ^ zap.c:224:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | (void) close (fd); | ^ zap.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | void pidkill(pid) | ^ zap.c:39:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | void pidkill(); | ^ zap.c:261:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | void ps_hack_kill(him) | ^ zap.c:43:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void ps_hack_kill(); | ^ 14 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -c linetimelist.c linetimelist.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void checklinetimeremove(him,list) | ^ linetimelist.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void addlinetime(him,list) | ^ linetimelist.c:71:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | int inlinetime(him,list) | ^ linetimelist.c:102:49: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] 102 | printf("Element: %14s : %d\n",list->line,list->time_on); | ~~ ^~~~~~~~~~~~~ | %lld linetimelist.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void printlinetimelist(list) | ^ 5 warnings generated. cc -O2 -pipe -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK -DCONFIG=\"/etc/idled.cf\" -DLOGFILE=\"/var/log/idled.log\" -o idled insque.o list.o parse.o scan.o idled.o warn.o xlock_check.o zap.o linetimelist.o ld: warning: parse.c(parse.o:(filecom_parse)): warning: sprintf() is often misused, please use snprintf() ld: warning: parse.c(parse.o:(filecom_parse)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: idled.c(idled.o:(main)): warning: strcat() is almost always misused, please use strlcat() echo /etc/idled.cf | sed 's/\//\\\//g' > .maketmp echo /var/log/idled.log | sed 's/\//\\\//g' > .maketmp2 sed -e "s/CONFIGPATH/`cat .maketmp`/" -e "s/LOGFILEPATH/`cat .maketmp2`/" idled.cf.man.form > idled.cf.5 sed -e "s/CONFIGPATH/`cat .maketmp`/" -e "s/LOGFILEPATH/`cat .maketmp2`/" idled.man.form > idled.8 rm -f .maketmp .maketmp2 >>> Running package in sysutils/idled at 1764528122.34 ===> sysutils/idled ===> Faking installation for idled-1.16p2 /exopi-obj/pobj/idled-1.16/bin/install -c -s -m 755 idled /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/libexec /exopi-obj/pobj/idled-1.16/bin/install -d -m 755 /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/share/examples/idled /exopi-obj/pobj/idled-1.16/bin/install -c -m 644 idled.cf.template /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/share/examples/idled /exopi-obj/pobj/idled-1.16/bin/install -c -m 644 idled.cf.5 /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/man/man5 /exopi-obj/pobj/idled-1.16/bin/install -c -m 644 idled.8 /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/man/man8 *** Be sure to edit/create the file /etc/idled.cf based on *** the needs for your system. The /exopi-obj/pobj/idled-1.16/fake-amd64/usr/local/lib/idled.cf.template *** file can serve as a guide, as well as the man pages. ===> Building package for idled-1.16p2 Create /exopi-cvs/ports/packages/amd64/all/idled-1.16p2.tgz Creating package idled-1.16p2 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|********* | 14% checksumming|************* | 21% checksumming|***************** | 29% checksumming|********************** | 36% checksumming|************************** | 43% checksumming|******************************* | 50% checksumming|*********************************** | 57% checksumming|*************************************** | 64% checksumming|******************************************** | 71% checksumming|************************************************ | 79% checksumming|**************************************************** | 86% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|********************************************* | 71% archiving|********************************************************** | 91% archiving|************************************************************* | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/idled-1.16p2.tgz >>> Running clean in sysutils/idled at 1764528124.91 ===> sysutils/idled ===> Cleaning for idled-1.16p2 >>> Ended at 1764528125.37 max_stuck=0.00/build=3.60/package=2.62/clean=0.53