------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 XDG_CACHE_HOME=/construction/security/cops/.cache HOME=/construction/security/cops TMPDIR="/tmp" PATH=/construction/security/cops/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/security/cops/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/cops XDG_CONFIG_HOME=/construction/security/cops XDG_CACHE_HOME=/construction/security/cops/.cache HOME=/construction/security/cops TMPDIR="/tmp" PATH=/construction/security/cops/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/security/cops/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 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.32 PROFILE="@comment " DOCSDIR="share/doc/cops" EXAMPLESDIR="share/examples/cops" DATADIR="share/cops" WWWDIR="www/cops" ETCDIR="etc/cops" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/uchardet-0.0.8.pkg Installing /packages/All/libiconv-1.17.pkg Installing /packages/All/libpaper-1.1.28.pkg Installing /packages/All/psutils-1.17_5.pkg Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/groff-1.22.4_4.pkg ===== Message from groff-1.22.4_4: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cops-1.04_1 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cops-1.04_1 for building => SHA256 Checksum OK for cops104+.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cops-1.04_1 for building ===> Extracting for cops-1.04_1 => SHA256 Checksum OK for cops104+.tar.gz. Extracted Memory Use: 1.27M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for cops-1.04_1 ===> Applying ports patches for cops-1.04_1 from /xports/security/cops/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on executable: groff - found ===> cops-1.04_1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on executable: groff - found ===> cops-1.04_1 depends on file: /usr/local/bin/ccache - found ===> 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... SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- 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:53:1: +#include src/home.chk.c:67:3: printf("Usage: %s\n",argv[0]); ^~~~~~ 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:53:1: +#include src/home.chk.c:68:3: exit(1); ^~~~ 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' [-Wbuiltin-declaration-mismatch] 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:5:1: +#include src/user.chk.c:56:2: exit(1); ^~~~ 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:5:1: +#include src/user.chk.c:74:7: if (strlen(pp->pw_dir) != 1) ^~~~~~ 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 13 invokes undefined behavior [-Waggressive-loop-optimizations] for (ft = ftable[index]; index < 14; ft = ftable[++index]) { ~~~~~~^~~~~~~~~ src/user.chk.c:73:2: note: within this 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:31:1: +#include src/is_something.c:65:9: (void) printf("Usage: %s [-gv] file\n",argv[0]); ^~~~~~ 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:31:1: +#include src/is_something.c:66:2: exit(0); ^~~~ 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:31:1: +#include src/is_something.c:96:2: strcpy(foo_dirs[i++], foo_file); ^~~~~~ 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'; did you mean 'printf'? [-Wimplicit-function-declaration] print_crc((char *)0, 0); ^~~~~~~~~ printf src/crc.c:195:16: warning: implicit declaration of function 'getopt'; did you mean 'getdate'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "VvI:i:")) != EOF) { ^~~~~~ getdate 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'; did you mean 'fread'? [-Wimplicit-function-declaration] while ( (nr = read( fd, (char *)buf, MAXBUF )) > 0 ) { ^~~~ fread src/crc.c:262:14: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(fd); ^~~~~ pclose src/crc.c:270:10: warning: implicit declaration of function 'stats'; did you mean 'stat'? [-Wimplicit-function-declaration] stats(name); ^~~~~ stat 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'; did you mean 'print_crc'? [-Wimplicit-function-declaration] print_perm(stat_buf.st_mode); ^~~~~~~~~~ print_crc 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'; did you mean 'getline'? [-Wimplicit-function-declaration] get_line(new_line); ^~~~~~~~ getline 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:31:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ src/addto.c: In function 'main': src/addto.c:45:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ src/addto.c:45:3: warning: incompatible implicit declaration of built-in function 'exit' src/addto.c:45:3: note: include '' or provide a declaration of 'exit' src/addto.c:25:1: +#include src/addto.c:45:3: exit(1); ^~~~ src/addto.c:51:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(keypending, key); ^~~~~~ src/addto.c:51:2: warning: incompatible implicit declaration of built-in function 'strcat' src/addto.c:51:2: note: include '' or provide a declaration of 'strcat' src/addto.c:25:1: +#include src/addto.c:51:2: strcat(keypending, key); ^~~~~~ src/addto.c:61:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ src/addto.c:61:3: note: include '' or provide a declaration of 'exit' src/addto.c:64:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(linebuf, key, strlen(key)) == 0) { ^~~~~~~ src/addto.c:64:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strncmp(linebuf, key, strlen(key)) == 0) { ^~~~~~ src/addto.c:64:29: warning: incompatible implicit declaration of built-in function 'strlen' src/addto.c:64:29: note: include '' or provide a declaration of 'strlen' src/addto.c:68:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ src/addto.c:68:5: note: include '' or provide a declaration of 'exit' src/addto.c:81:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ src/addto.c:81:4: note: include '' or provide a declaration of 'exit' src/addto.c:92:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ src/addto.c:92:3: note: include '' or provide a declaration of 'exit' src/addto.c:95:36: warning: incompatible implicit declaration of built-in function 'strlen' if (strncmp(linebuf, keypending, strlen(keypending)) == 0) { ^~~~~~ src/addto.c:95:36: note: include '' or provide a declaration of 'strlen' src/addto.c:96:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); /* Its a duplicate. */ ^~~~ src/addto.c:96:4: note: include '' or provide a declaration of 'exit' src/addto.c:107:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ src/addto.c:107:3: note: include '' or provide a declaration of 'exit' src/addto.c:119:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ src/addto.c:119:3: note: include '' or provide a declaration of 'exit' src/addto.c:131:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ src/addto.c:131: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' src/clearfiles.c:12:1: +#include src/clearfiles.c:41:4: exit(1); ^~~~ /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:32:1: +#include src/filewriters.c:61:3: exit(1); ^~~~ 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'; did you mean 'printf'? [-Wimplicit-function-declaration] print_uid(stdout, buf.st_uid); ^~~~~~~~~ printf src/filewriters.c:76:3: warning: implicit declaration of function 'print_gid'; did you mean 'printf'? [-Wimplicit-function-declaration] print_gid(stdout, buf.st_gid); ^~~~~~~~~ printf 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' src/members.c:16:1: +#include src/members.c:38:3: exit(1); ^~~~ /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:4:1: +#include src/tilde.c:12:2: printf("Usage: %s\n",argv[0]); ^~~~~~ 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:4:1: +#include src/tilde.c:13:2: exit(1); ^~~~ 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:42:1: +#include src/is_able.c:76:2: exit(1); ^~~~ 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:42:1: +#include src/is_able.c:80:1: strcpy(file, argv[1]); ^~~~~~ 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/local/bin/nroff -ms COPS.report > COPS.report.ms /usr/local/bin/nroff -ms suid.man > suid.man.ms suid.man:1: macro error: .TH without .TS H (recovering) /usr/local/bin/nroff -ms kuang.man > kuang.man.ms /usr/local/bin/nroff -man cops > cops.1 troff: cops:118: warning: can't find special character 'vV\' /usr/local/bin/nroff -man cron.chk > cron.chk.1 /usr/local/bin/nroff -man dev.chk > dev.chk.1 /usr/local/bin/nroff -man group.chk > group.chk.1 /usr/local/bin/nroff -man is_able.chk > is_able.chk.1 /usr/local/bin/nroff -man passwd.chk > passwd.chk.1 /usr/local/bin/nroff -man is_able > is_able.1 /usr/local/bin/nroff -man home.chk > home.chk.1 /usr/local/bin/nroff -man user.chk > user.chk.1 /usr/local/bin/nroff -man pass.chk > pass.chk.1 /usr/local/bin/nroff -man root.chk > root.chk.1 /usr/local/bin/nroff -man rc.chk > rc.chk.1 /usr/local/bin/nroff -man pass_diff.chk > pass_diff.chk.1 /usr/local/bin/nroff -man misc.chk > misc.chk.1 /usr/local/bin/nroff -man is_writable > is_writable.1 /usr/local/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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> cops-1.04_1 depends on package: perl5>=5.32.r0<5.33 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for cops-1.04_1 ===> cops-1.04_1 depends on package: perl5>=5.32.r0<5.33 - found ===> 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) ====> Running Q/A tests (stage-qa) Warning: 'cops/home.chk' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/user.chk' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/is_writable' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/crc' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/crc_check' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/clearfiles' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/addto' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/filewriters' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/members' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/is_able' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'cops/tilde' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for cops-1.04_1 file sizes/checksums [230]: 0% file sizes/checksums [230]: 43% file sizes/checksums [230]: 86% file sizes/checksums [230]: 100% Service unavailablepacking files [230]: 0% packing files [230]: 43% packing files [230]: 86% packing files [230]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:10