=> Building security/cops Started : Friday, 8 JUN 2018 at 06:12:47 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/cops XDG_CONFIG_HOME=/construction/security/cops HOME=/construction/security/cops TMPDIR="/tmp" PATH=/construction/security/cops/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/cops XDG_CONFIG_HOME=/construction/security/cops HOME=/construction/security/cops TMPDIR="/tmp" PATH=/construction/security/cops/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- EXECUTABLE="home.chk user.chk is_writable crc crc_check addto clearfiles filewriters members tilde is_able" C_SRC="home.chk.c user.chk.c is_able.c is_something.c addto.c clearfiles.c filewriters.c members.c tilde.c crc.c crc_check.c" DESTDIR=/construction/security/cops/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.2 PERL_VER=5.26 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.26 PROFILE="@comment " DOCSDIR="share/doc/cops" EXAMPLESDIR="share/examples/cops" DATADIR="share/cops" WWWDIR="www/cops" ETCDIR="etc/cops" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cops-1.04_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by cops-1.04_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by cops-1.04_1 for building => SHA256 Checksum OK for cops104+.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by cops-1.04_1 for building ===> Extracting for cops-1.04_1 => SHA256 Checksum OK for cops104+.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for cops-1.04_1 ===> Applying ports patches for cops-1.04_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> 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... -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> 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' /construction/security/cops/cops_104+/cops > /construction/security/cops/cops_104+/cops.out /bin/mv /construction/security/cops/cops_104+/cops.out /construction/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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> cops-1.04_1 depends on package: perl5>=5.26<5.27 - not found ===> Installing existing package /packages/All/perl5-5.26.2.txz Installing perl5-5.26.2... Extracting perl5-5.26.2: .......... done Message from perl5-5.26.2: 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.26<5.27 - found ===> Returning to build of cops-1.04_1 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for cops-1.04_1 ===> Generating temporary packing list /bin/mkdir -p /construction/security/cops/stage/usr/local/cops /usr/bin/tar -C /construction/security/cops/cops_104+ --exclude "*.old" -cf - . | /usr/bin/tar -C /construction/security/cops/stage/usr/local/cops --unlink -xf - /bin/chmod -R go-rwx /construction/security/cops/stage/usr/local/cops ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for cops-1.04_1 file sizes/checksums [230]: ... done packing files [230]: ... done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 JUN 2018 at 06:13:11 UTC Duration: 00:00:23