=> Building security/cops build started at Wed Oct 5 16:54:40 PDT 2016 port directory: /usr/ports/security/cops building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: cy@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/security/cops/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=cops-1.04_1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl XDG_DATA_HOME=/wrkdirs/security/cops XDG_CONFIG_HOME=/wrkdirs/security/cops HOME=/wrkdirs/security/cops TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/security/cops XDG_CONFIG_HOME=/wrkdirs/security/cops HOME=/wrkdirs/security/cops TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PERL_VERSION=5.20.3 PERL_VER=5.20 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.20 PROFILE="@comment " DOCSDIR="share/doc/cops" EXAMPLESDIR="share/examples/cops" DATADIR="share/cops" WWWDIR="www/cops" ETCDIR="etc/cops" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cops DOCSDIR=/usr/local/share/doc/cops EXAMPLESDIR=/usr/local/share/examples/cops WWWDIR=/usr/local/www/cops ETCDIR=/usr/local/etc/cops --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cops-1.04_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by cops-1.04_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by cops-1.04_1 for building => SHA256 Checksum OK for cops104+.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by cops-1.04_1 for building ===> Extracting for cops-1.04_1 => SHA256 Checksum OK for cops104+.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for cops-1.04_1 ===> Applying ports patches for cops-1.04_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for cops-1.04_1 checking to make sure all the target(s) are here... So far so good... Looking for all the commands now... Ok, now doing substitutions on the shell scripts... Changing paths in makefile... Changing paths in docs/makefile... Changing paths in chk_strings... Changing paths in cops... Changing paths in crc.chk... Changing paths in misc.chk... Changing paths in dev.chk... Changing paths in ftp.chk... Changing paths in is_able.chk... Changing paths in cron.chk... Changing paths in group.chk... Changing paths in passwd.chk... Changing paths in rc.chk... Changing paths in root.chk... Changing paths in suid.chk... Changing paths in kuang... Changing paths in init_kuang... Changing paths in res_diff... Changing paths in pass_diff.chk... Changing paths in yp_pass.chk... Changing paths in bug.chk... Changing paths in bug.chk.aix... Changing paths in bug.chk.apollo... Changing paths in bug.chk.dec... Changing paths in bug.chk.next... Changing paths in bug.chk.sgi... Changing paths in bug.chk.sun... Changing paths in bug.chk.svr4... Changing paths in bug_cmp... =========================================================================== =================================================== ===> Building for cops-1.04_1 /usr/bin/sed -e 's,^SECURE=/usr/foo/bar,SECURE=/usr/local/cops,g' -e '/^$SECURE\/passwd\.chk.*/d' -e 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' -e 's/passwd\.chk pass.chk //g' /wrkdirs/security/cops/cops_104+/cops > /wrkdirs/security/cops/cops_104+/cops.out /bin/mv /wrkdirs/security/cops/cops_104+/cops.out /wrkdirs/security/cops/cops_104+/cops /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o home.chk src/home.chk.c src/home.chk.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/home.chk.c: In function 'main': src/home.chk.c:58:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] src/home.chk.c:67:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("Usage: %s\n",argv[0]); ^ src/home.chk.c:67:3: warning: incompatible implicit declaration of built-in function 'printf' src/home.chk.c:67:3: note: include '' or provide a declaration of 'printf' src/home.chk.c:68:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/home.chk.c:68:3: warning: incompatible implicit declaration of built-in function 'exit' src/home.chk.c:68:3: note: include '' or provide a declaration of 'exit' src/home.chk.c:80:4: warning: incompatible implicit declaration of built-in function 'printf' printf("Warning! User %s's home directory %s is not a directory! (mode 0%o)\n", ^ src/home.chk.c:80:4: note: include '' or provide a declaration of 'printf' src/home.chk.c:90:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Warning! User %s's home directory %s is mode 0%3.3o!\n", ^ src/home.chk.c:90:3: note: include '' or provide a declaration of 'printf' src/home.chk.c:95:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/home.chk.c:95:2: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o user.chk src/user.chk.c src/user.chk.c:41:7: warning: conflicting types for built-in function 'malloc' char *malloc(); ^ src/user.chk.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/user.chk.c: In function 'main': src/user.chk.c:56:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/user.chk.c:56:2: warning: incompatible implicit declaration of built-in function 'exit' src/user.chk.c:56:2: note: include '' or provide a declaration of 'exit' src/user.chk.c:74:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(pp->pw_dir) != 1) ^ src/user.chk.c:74:7: warning: incompatible implicit declaration of built-in function 'strlen' src/user.chk.c:74:7: note: include '' or provide a declaration of 'strlen' src/user.chk.c:87:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp("netrc", ftable[index])) ^ src/user.chk.c:95:1: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/user.chk.c:95:1: note: include '' or provide a declaration of 'exit' src/user.chk.c:73:50: warning: iteration 13u invokes undefined behavior [-Waggressive-loop-optimizations] for (ft = ftable[index]; index < 14; ft = ftable[++index]) { ^ src/user.chk.c:73:2: note: containing loop for (ft = ftable[index]; index < 14; ft = ftable[++index]) { ^ /usr/bin/cc -pipe -O2 -fno-strict-aliasing -DWRITABLE -o is_writable src/is_something.c src/is_something.c:37:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SETUID ^ src/is_something.c:44:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif READABLE ^ src/is_something.c:51:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif WRITABLE ^ src/is_something.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/is_something.c: In function 'main': src/is_something.c:65:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] (void) printf("Usage: %s [-gv] file\n",argv[0]); ^ src/is_something.c:65:9: warning: incompatible implicit declaration of built-in function 'printf' src/is_something.c:65:9: note: include '' or provide a declaration of 'printf' src/is_something.c:66:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ src/is_something.c:66:2: warning: incompatible implicit declaration of built-in function 'exit' src/is_something.c:66:2: note: include '' or provide a declaration of 'exit' src/is_something.c:79:2: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror(*argv); ^ src/is_something.c:80:2: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ src/is_something.c:80:2: note: include '' or provide a declaration of 'exit' src/is_something.c:96:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(foo_dirs[i++], foo_file); ^ src/is_something.c:96:2: warning: incompatible implicit declaration of built-in function 'strcpy' src/is_something.c:96:2: note: include '' or provide a declaration of 'strcpy' src/is_something.c:98:4: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] j=strlen(foo_file) - 1; ^ src/is_something.c:98:4: warning: incompatible implicit declaration of built-in function 'strlen' src/is_something.c:98:4: note: include '' or provide a declaration of 'strlen' src/is_something.c:101:4: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(foo_dirs[i++], foo_file, j); ^ src/is_something.c:101:4: warning: incompatible implicit declaration of built-in function 'strncpy' src/is_something.c:101:4: note: include '' or provide a declaration of 'strncpy' src/is_something.c:110:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/is_something.c:110:5: note: include '' or provide a declaration of 'exit' src/is_something.c:113:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/is_something.c:113:4: note: include '' or provide a declaration of 'exit' src/is_something.c:116:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/is_something.c:116:2: note: include '' or provide a declaration of 'exit' src/is_something.c:118:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif WRITABLE ^ src/is_something.c:130:9: warning: incompatible implicit declaration of built-in function 'printf' (void) printf( (group ? G_REPORT_STRING : W_REPORT_STRING), *argv); ^ src/is_something.c:130:9: note: include '' or provide a declaration of 'printf' src/is_something.c:133:5: warning: incompatible implicit declaration of built-in function 'exit' exit(!xmode); ^ src/is_something.c:133:5: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o crc src/crc.c src/crc.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] main( argc, argv ) ^ src/crc.c: In function 'main': src/crc.c:189:7: warning: implicit declaration of function 'print_crc' [-Wimplicit-function-declaration] print_crc((char *)0, 0); ^ src/crc.c:195:16: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "VvI:i:")) != EOF) { ^ src/crc.c:206:24: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] initial_crc = atoi(optarg); ^ src/crc.c: At top level: src/crc.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] print_crc(name, stat_flag) ^ src/crc.c: In function 'print_crc': src/crc.c:259:21: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] while ( (nr = read( fd, (char *)buf, MAXBUF )) > 0 ) { ^ src/crc.c:262:14: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] (void) close(fd); ^ src/crc.c:270:10: warning: implicit declaration of function 'stats' [-Wimplicit-function-declaration] stats(name); ^ src/crc.c: At top level: src/crc.c:296:1: warning: return type defaults to 'int' [-Wimplicit-int] stats(name) ^ src/crc.c: In function 'stats': src/crc.c:333:4: warning: implicit declaration of function 'print_perm' [-Wimplicit-function-declaration] print_perm(stat_buf.st_mode); ^ src/crc.c: At top level: src/crc.c:340:1: warning: return type defaults to 'int' [-Wimplicit-int] print_perm(perm) ^ /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o crc_check src/crc_check.c src/crc_check.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ src/crc_check.c: In function 'main': src/crc_check.c:91:4: warning: implicit declaration of function 'get_line' [-Wimplicit-function-declaration] get_line(new_line); ^ src/crc_check.c:96:7: warning: implicit declaration of function 'check_eof' [-Wimplicit-function-declaration] check_eof(); ^ src/crc_check.c:100:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(old_line, new_line) == 0) { ^ src/crc_check.c:128:14: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(new_line, old_line, 4) != 0) ^ src/crc_check.c: At top level: src/crc_check.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] get_line(string) ^ src/crc_check.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] check_eof() ^ /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o addto src/addto.c src/addto.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ src/addto.c: In function 'main': src/addto.c:43:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/addto.c:43:3: warning: incompatible implicit declaration of built-in function 'exit' src/addto.c:43:3: note: include '' or provide a declaration of 'exit' src/addto.c:48:17: warning: assignment makes integer from pointer without a cast [-Wint-conversion] keypending[0] = NULL; ^ src/addto.c:49:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(keypending, key); ^ src/addto.c:49:2: warning: incompatible implicit declaration of built-in function 'strcat' src/addto.c:49:2: note: include '' or provide a declaration of 'strcat' src/addto.c:54:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ src/addto.c:59:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/addto.c:59:3: note: include '' or provide a declaration of 'exit' src/addto.c:62:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(linebuf, key, strlen(key)) == 0) { ^ src/addto.c:62:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strncmp(linebuf, key, strlen(key)) == 0) { ^ src/addto.c:62:29: warning: incompatible implicit declaration of built-in function 'strlen' src/addto.c:62:29: note: include '' or provide a declaration of 'strlen' src/addto.c:66:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/addto.c:66:5: note: include '' or provide a declaration of 'exit' src/addto.c:79:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/addto.c:79:4: note: include '' or provide a declaration of 'exit' src/addto.c:85:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ src/addto.c:90:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/addto.c:90:3: note: include '' or provide a declaration of 'exit' src/addto.c:93:36: warning: incompatible implicit declaration of built-in function 'strlen' if (strncmp(linebuf, keypending, strlen(keypending)) == 0) { ^ src/addto.c:93:36: note: include '' or provide a declaration of 'strlen' src/addto.c:94:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); /* Its a duplicate. */ ^ src/addto.c:94:4: note: include '' or provide a declaration of 'exit' src/addto.c:100:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ src/addto.c:105:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/addto.c:105:3: note: include '' or provide a declaration of 'exit' src/addto.c:112:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ src/addto.c:117:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/addto.c:117:3: note: include '' or provide a declaration of 'exit' src/addto.c:129:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/addto.c:129:2: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o clearfiles src/clearfiles.c src/clearfiles.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ src/clearfiles.c: In function 'main': src/clearfiles.c:37:30: warning: comparison between pointer and integer for (i = 0 ; filelist[i][0] != NULL ; i++) { ^ src/clearfiles.c:41:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/clearfiles.c:41:4: warning: incompatible implicit declaration of built-in function 'exit' src/clearfiles.c:41:4: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o filewriters src/filewriters.c src/filewriters.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ src/filewriters.c: In function 'main': src/filewriters.c:61:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/filewriters.c:61:3: warning: incompatible implicit declaration of built-in function 'exit' src/filewriters.c:61:3: note: include '' or provide a declaration of 'exit' src/filewriters.c:66:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/filewriters.c:66:3: note: include '' or provide a declaration of 'exit' src/filewriters.c:73:2: warning: implicit declaration of function 'print_uid' [-Wimplicit-function-declaration] print_uid(stdout, buf.st_uid); ^ src/filewriters.c:76:3: warning: implicit declaration of function 'print_gid' [-Wimplicit-function-declaration] print_gid(stdout, buf.st_gid); ^ src/filewriters.c:89:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ src/filewriters.c:89:2: note: include '' or provide a declaration of 'exit' src/filewriters.c: At top level: src/filewriters.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] print_uid(out, uid) ^ src/filewriters.c: In function 'print_uid': src/filewriters.c:101:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/filewriters.c:101:3: note: include '' or provide a declaration of 'exit' src/filewriters.c: At top level: src/filewriters.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] print_gid(out, gid) ^ src/filewriters.c: In function 'print_gid': src/filewriters.c:115:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/filewriters.c:115:3: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o members src/members.c src/members.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ src/members.c: In function 'main': src/members.c:38:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/members.c:38:3: warning: incompatible implicit declaration of built-in function 'exit' src/members.c:38:3: note: include '' or provide a declaration of 'exit' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o tilde src/tilde.c src/tilde.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/tilde.c: In function 'main': src/tilde.c:12:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("Usage: %s\n",argv[0]); ^ src/tilde.c:12:2: warning: incompatible implicit declaration of built-in function 'printf' src/tilde.c:12:2: note: include '' or provide a declaration of 'printf' src/tilde.c:13:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/tilde.c:13:2: warning: incompatible implicit declaration of built-in function 'exit' src/tilde.c:13:2: note: include '' or provide a declaration of 'exit' src/tilde.c:19:2: warning: incompatible implicit declaration of built-in function 'printf' printf("%s", pp->pw_dir); ^ src/tilde.c:19:2: note: include '' or provide a declaration of 'printf' src/tilde.c:21:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Error"); ^ src/tilde.c:21:2: note: include '' or provide a declaration of 'printf' /usr/bin/cc -pipe -O2 -fno-strict-aliasing -o is_able src/is_able.c src/is_able.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/is_able.c: In function 'main': src/is_able.c:76:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ src/is_able.c:76:2: warning: incompatible implicit declaration of built-in function 'exit' src/is_able.c:76:2: note: include '' or provide a declaration of 'exit' src/is_able.c:80:1: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(file, argv[1]); ^ src/is_able.c:80:1: warning: incompatible implicit declaration of built-in function 'strcpy' src/is_able.c:80:1: note: include '' or provide a declaration of 'strcpy' src/is_able.c:85:2: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ src/is_able.c:85:2: note: include '' or provide a declaration of 'exit' src/is_able.c:128:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/is_able.c:128:3: note: include '' or provide a declaration of 'exit' src/is_able.c:134:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ src/is_able.c:134:2: note: include '' or provide a declaration of 'exit' src/is_able.c:154:4: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] j=strlen(foo_file) - 1; ^ src/is_able.c:154:4: warning: incompatible implicit declaration of built-in function 'strlen' src/is_able.c:154:4: note: include '' or provide a declaration of 'strlen' src/is_able.c:157:4: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(foo_dirs[i++], foo_file, j); ^ src/is_able.c:157:4: warning: incompatible implicit declaration of built-in function 'strncpy' src/is_able.c:157:4: note: include '' or provide a declaration of 'strncpy' src/is_able.c:172:5: warning: incompatible implicit declaration of built-in function 'exit' exit(!xmode); ^ src/is_able.c:172:5: note: include '' or provide a declaration of 'exit' src/is_able.c:179:4: warning: incompatible implicit declaration of built-in function 'exit' exit(!xmode); ^ src/is_able.c:179:4: note: include '' or provide a declaration of 'exit' src/is_able.c:183:12: warning: incompatible implicit declaration of built-in function 'exit' if (!both) exit(!xmode); ^ src/is_able.c:183:12: note: include '' or provide a declaration of 'exit' src/is_able.c:189:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ src/is_able.c:189:3: note: include '' or provide a declaration of 'exit' src/is_able.c:202:2: warning: incompatible implicit declaration of built-in function 'exit' exit (!xmode); ^ src/is_able.c:202:2: note: include '' or provide a declaration of 'exit' src/is_able.c:208:2: warning: incompatible implicit declaration of built-in function 'exit' exit (!xmode); ^ src/is_able.c:208:2: note: include '' or provide a declaration of 'exit' src/is_able.c:220:1: warning: incompatible implicit declaration of built-in function 'exit' exit(!xmode); ^ src/is_able.c:220:1: note: include '' or provide a declaration of 'exit' cd docs; make /usr/bin/nroff -ms COPS.report > COPS.report.ms COPS.report:3: warning: macro `PH' not defined /usr/bin/nroff -ms suid.man > suid.man.ms suid.man:1: macro error: .TH without .TS H (recovering) suid.man:1: warning: number register `0:PI' not defined suid.man:42: warning: macro `TP' not defined /usr/bin/nroff -ms kuang.man > kuang.man.ms kuang.man:3: warning: macro `PH' not defined kuang.man:765: warning: macro `login' not defined /usr/bin/nroff -man cops > cops.1 cops:118: warning: can't find special character `vV\' /usr/bin/nroff -man cron.chk > cron.chk.1 /usr/bin/nroff -man dev.chk > dev.chk.1 /usr/bin/nroff -man group.chk > group.chk.1 /usr/bin/nroff -man is_able.chk > is_able.chk.1 /usr/bin/nroff -man passwd.chk > passwd.chk.1 /usr/bin/nroff -man is_able > is_able.1 /usr/bin/nroff -man home.chk > home.chk.1 /usr/bin/nroff -man user.chk > user.chk.1 /usr/bin/nroff -man pass.chk > pass.chk.1 /usr/bin/nroff -man root.chk > root.chk.1 /usr/bin/nroff -man rc.chk > rc.chk.1 /usr/bin/nroff -man pass_diff.chk > pass_diff.chk.1 /usr/bin/nroff -man misc.chk > misc.chk.1 /usr/bin/nroff -man is_writable > is_writable.1 /usr/bin/nroff -man bug.chk > bug.chk.1 /bin/chmod u+x chk_strings root.chk dev.chk cron.chk is_able.chk cops group.chk rc.chk passwd.chk ftp.chk crc.chk misc.chk suid.chk kuang init_kuang reconfig res_diff yp_pass.chk bug.chk bug.chk.aix bug.chk.apollo bug.chk.dec bug.chk.next bug.chk.sgi bug.chk.sun bug.chk.svr4 bug_cmp platform =========================================================================== =================================================== ===> cops-1.04_1 depends on package: perl5>=5.20<5.21 - not found ===> Installing existing package /packages/All/perl5-5.20.3_15.txz Installing perl5-5.20.3_15... Extracting perl5-5.20.3_15: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> cops-1.04_1 depends on package: perl5>=5.20<5.21 - found ===> Returning to build of cops-1.04_1 =========================================================================== =================================================== ===> Staging for cops-1.04_1 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/security/cops/stage/usr/local/cops /usr/bin/tar -C /wrkdirs/security/cops/cops_104+ --exclude "*.old" -cf - . | /usr/bin/tar -C /wrkdirs/security/cops/stage/usr/local/cops --unlink -xf - /bin/chmod -R go-rwx /wrkdirs/security/cops/stage/usr/local/cops ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for cops-1.04_1 file sizes/checksums [230]: ... done packing files [230]: ... done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for cops-1.04_1 build of security/cops ended at Wed Oct 5 16:54:53 PDT 2016 build time: 00:00:13