=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xlockmore-lite-5.41nb2 cc -Wnested-externs -Wno-format -c -DDEF_MODULEPATH="\"/usr/pkg/lib/X11/xlock/modules\"" -I/usr/X11R7/include -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/pkg/lib/X11/app-defaults/%N%C%S:/usr/pkg/lib/X11/app-defaults/%N%S\" -I. -I.. -I.. -I/usr/X11R7/include -I/usr/X11R7/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/X11R7/include ./xlock.c ./xlock.c:1492:9: warning: implicit declaration of function 'nice' is invalid in C99 [-Wimplicit-function-declaration] (void) nice(0); ^ ./xlock.c:1839:2: error: use of undeclared identifier 'fd_set' fd_set reads; ^ ./xlock.c:1860:37: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] if(!poweron) (void) usleep(100000); ^ ./xlock.c:1913:16: warning: implicit declaration of function 'FD_ZERO' is invalid in C99 [-Wimplicit-function-declaration] /* (void) */ FD_ZERO(&reads); ^ ./xlock.c:1913:25: error: use of undeclared identifier 'reads'; did you mean 'read'? /* (void) */ FD_ZERO(&reads); ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ./xlock.c:1914:3: warning: implicit declaration of function 'FD_SET' is invalid in C99 [-Wimplicit-function-declaration] FD_SET(fd, &reads); ^ ./xlock.c:1914:15: error: use of undeclared identifier 'reads'; did you mean 'read'? FD_SET(fd, &reads); ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ./xlock.c:1928:7: warning: implicit declaration of function 'select' is invalid in C99 [-Wimplicit-function-declaration] r = select(fd + 1, ^ ./xlock.c:1929:14: error: use of undeclared identifier 'reads'; did you mean 'read'? (void *) &reads, (void *) NULL, (void *) NULL, ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ./xlock.c:1940:3: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] GETTIMEOFDAY(&tmp); /* get time before calling mode proc */ ^ ./xlock.h:580:31: note: expanded from macro 'GETTIMEOFDAY' #define GETTIMEOFDAY(t) (void)gettimeofday(t,NULL); ^ ./xlock.c:2133:18: warning: implicit declaration of function 'lrand48' is invalid in C99 [-Wimplicit-function-declaration] swearkeys[NRAND(strlen(swearkeys))]; ^ ./random.h:106:25: note: expanded from macro 'NRAND' #define NRAND(X) ((int)(LRAND()%(X))) ^ ./random.h:32:15: note: expanded from macro 'LRAND' #define LRAND lrand48 ^ ./xlock.c:2672:43: warning: implicit declaration of function 'popen' is invalid in C99 [-Wimplicit-function-declaration] if ((f = (FILE *) popen(pipepassCmd, "w"))) { ^ ./xlock.c:2684:40: warning: implicit declaration of function 'pclose' is invalid in C99 [-Wimplicit-function-declaration] (void) pclose(f); ^ ./xlock.c:2992:6: warning: implicit declaration of function 'sigmask' is invalid in C99 [-Wimplicit-function-declaration] sigmask(SIGHUP) | ^ ./xlock.c:3279:9: warning: implicit declaration of function 'setegid' is invalid in C99 [-Wimplicit-function-declaration] (void) setegid(rgid); ^ ./xlock.c:3280:9: warning: implicit declaration of function 'seteuid' is invalid in C99 [-Wimplicit-function-declaration] (void) seteuid(ruid); ^ ./xlock.c:3305:2: warning: implicit declaration of function 'srand48' is invalid in C99 [-Wimplicit-function-declaration] SRAND((long) start_time); /* random mode needs the seed set. */ ^ ./random.h:31:15: note: expanded from macro 'SRAND' #define SRAND srand48 ^ ./xlock.c:4012:10: warning: implicit declaration of function 'killpg' is invalid in C99 [-Wimplicit-function-declaration] (void) killpg(cmd_pid, SIGTERM); ^ 14 warnings and 4 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xlockmore-lite/work/xlockmore-5.41/xlock cc -Wnested-externs -Wno-format -c -DDEF_MODULEPATH="\"/usr/pkg/lib/X11/xlock/modules\"" -I/usr/X11R7/include -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/pkg/lib/X11/app-defaults/%N%C%S:/usr/pkg/lib/X11/app-defaults/%N%S\" -I. -I.. -I.. -I../xlock/ -I../.. -I/usr/X11R7/include -I/usr/X11R7/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/X11R7/include ../xlock/xlock.c ../xlock/xlock.c:1492:9: warning: implicit declaration of function 'nice' is invalid in C99 [-Wimplicit-function-declaration] (void) nice(0); ^ ../xlock/xlock.c:1839:2: error: use of undeclared identifier 'fd_set' fd_set reads; ^ ../xlock/xlock.c:1860:37: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] if(!poweron) (void) usleep(100000); ^ ../xlock/xlock.c:1913:16: warning: implicit declaration of function 'FD_ZERO' is invalid in C99 [-Wimplicit-function-declaration] /* (void) */ FD_ZERO(&reads); ^ ../xlock/xlock.c:1913:25: error: use of undeclared identifier 'reads'; did you mean 'read'? /* (void) */ FD_ZERO(&reads); ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ../xlock/xlock.c:1914:3: warning: implicit declaration of function 'FD_SET' is invalid in C99 [-Wimplicit-function-declaration] FD_SET(fd, &reads); ^ ../xlock/xlock.c:1914:15: error: use of undeclared identifier 'reads'; did you mean 'read'? FD_SET(fd, &reads); ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ../xlock/xlock.c:1928:7: warning: implicit declaration of function 'select' is invalid in C99 [-Wimplicit-function-declaration] r = select(fd + 1, ^ ../xlock/xlock.c:1929:14: error: use of undeclared identifier 'reads'; did you mean 'read'? (void *) &reads, (void *) NULL, (void *) NULL, ^~~~~ read /usr/include/unistd.h:132:10: note: 'read' declared here ssize_t read(int, void *, size_t); ^ ../xlock/xlock.c:1940:3: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] GETTIMEOFDAY(&tmp); /* get time before calling mode proc */ ^ ../xlock/xlock.h:580:31: note: expanded from macro 'GETTIMEOFDAY' #define GETTIMEOFDAY(t) (void)gettimeofday(t,NULL); ^ ../xlock/xlock.c:2133:18: warning: implicit declaration of function 'lrand48' is invalid in C99 [-Wimplicit-function-declaration] swearkeys[NRAND(strlen(swearkeys))]; ^ ../xlock/random.h:106:25: note: expanded from macro 'NRAND' #define NRAND(X) ((int)(LRAND()%(X))) ^ ../xlock/random.h:32:15: note: expanded from macro 'LRAND' #define LRAND lrand48 ^ ../xlock/xlock.c:2672:43: warning: implicit declaration of function 'popen' is invalid in C99 [-Wimplicit-function-declaration] if ((f = (FILE *) popen(pipepassCmd, "w"))) { ^ ../xlock/xlock.c:2684:40: warning: implicit declaration of function 'pclose' is invalid in C99 [-Wimplicit-function-declaration] (void) pclose(f); ^ ../xlock/xlock.c:2992:6: warning: implicit declaration of function 'sigmask' is invalid in C99 [-Wimplicit-function-declaration] sigmask(SIGHUP) | ^ ../xlock/xlock.c:3279:9: warning: implicit declaration of function 'setegid' is invalid in C99 [-Wimplicit-function-declaration] (void) setegid(rgid); ^ ../xlock/xlock.c:3280:9: warning: implicit declaration of function 'seteuid' is invalid in C99 [-Wimplicit-function-declaration] (void) seteuid(ruid); ^ ../xlock/xlock.c:3305:2: warning: implicit declaration of function 'srand48' is invalid in C99 [-Wimplicit-function-declaration] SRAND((long) start_time); /* random mode needs the seed set. */ ^ ../xlock/random.h:31:15: note: expanded from macro 'SRAND' #define SRAND srand48 ^ ../xlock/xlock.c:4012:10: warning: implicit declaration of function 'killpg' is invalid in C99 [-Wimplicit-function-declaration] (void) killpg(cmd_pid, SIGTERM); ^ 14 warnings and 4 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xlockmore-lite/work/xlockmore-5.41/modes => Unwrapping files-to-be-installed.