>>> 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 1732156547.69 ===> sysutils/idled ===> Building from scratch idled-1.16p2 ===> Verifying specs: c ===> found c.100.3 ===> 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ctime(); ^ /usr/include/time.h:115:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern time_t time(); ^ /usr/include/time.h:123:8: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (rule = find (ptr, i)) ^ list.c:104:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rule = find (ptr, i)) ~~~~~^~~~~~~~~~~~~~~ list.c:104:16: note: place parentheses around the assignment to silence this warning if (rule = find (ptr, i)) ^ ( ) list.c:104:16: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] if (rule = find (ptr, i)) ^ list.c:108:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rule = find (ptr, i)) ~~~~~^~~~~~~~~~~~~~~ list.c:108:16: note: place parentheses around the assignment to silence this warning if (rule = find (ptr, i)) ^ ( ) list.c:108:16: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] if (rule = find (ptr, i)) ^ list.c:112:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rule = find (ptr, i)) ~~~~~^~~~~~~~~~~~~~~ list.c:112:16: note: place parentheses around the assignment to silence this warning if (rule = find (ptr, i)) ^ ( ) list.c:112:16: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ctime(); ^ /usr/include/time.h:115:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern time_t time(); ^ /usr/include/time.h:123:8: note: conflicting prototype is here 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] console_check(), ^ idled.c:1240:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (grp = getgrent ()) ~~~~^~~~~~~~~~~~~ idled.c:1240:15: note: place parentheses around the assignment to silence this warning while (grp = getgrent ()) ^ ( ) idled.c:1240:15: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] (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] (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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ctime(); ^ /usr/include/time.h:115:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] time_t time(); ^ /usr/include/time.h:123:8: note: conflicting prototype is here 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] strtime (sleeptime, !SAY_MORE), ^ warn.c:212:30: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] "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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] time_t xlock_check(username) ^ xlock_check.c:228:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ctime(); ^ /usr/include/time.h:115:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] time_t time(); ^ /usr/include/time.h:123:8: note: conflicting prototype is here 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] 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] (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] (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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int inlinetime(him,list) ^ linetimelist.c:102:49: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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: idled.c(idled.o:(main)): 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() ld: warning: parse.c(parse.o:(filecom_parse)): warning: sprintf() is often misused, please use snprintf() 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 1732156551.25 ===> 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 1732156554.00 ===> sysutils/idled ===> Cleaning for idled-1.16p2 >>> Ended at 1732156554.58 max_stuck=0.00/build=3.52/package=2.78/clean=0.61