=>> Building security/cops build started at Tue Mar 17 05:31:35 EDT 2026 port directory: /usr/ports/security/cops package name: cops-1.04_1 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1377 Aug 27 2024 /usr/ports/security/cops/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: d74ee97ef91d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 16 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --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=/wrkdirs/usr/ports/security/cops/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/cops/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/cops/work/.cache HOME=/wrkdirs/usr/ports/security/cops/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/cops/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/cops/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/security/cops/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/cops/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/cops/work/.cache HOME=/wrkdirs/usr/ports/security/cops/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/cops/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/cops/work/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.1 PERL_VER=5.42 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.42 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cops-1.04_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cops-1.04_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cops-1.04_1 for building => SHA256 Checksum OK for cops104+.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cops-1.04_1 for building ===> Extracting for cops-1.04_1 => SHA256 Checksum OK for cops104+.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for cops-1.04_1 ===> Applying FreeBSD patches for cops-1.04_1 from /usr/ports/security/cops/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cops-1.04_1 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.24.1.pkg [pkg.DaveG.ca] Installing groff-1.24.1... [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Installing libiconv-1.18_1... [pkg.DaveG.ca] `-- Extracting libiconv-1.18_1: .......... done [pkg.DaveG.ca] `-- Installing perl5-5.42.1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.1: .......... done [pkg.DaveG.ca] `-- Installing psutils-1.17_6... [pkg.DaveG.ca] | `-- Installing libpaper-1.1.28_1... [pkg.DaveG.ca] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg.DaveG.ca] `-- Extracting psutils-1.17_6: .......... done [pkg.DaveG.ca] `-- Installing uchardet-0.0.8_1... [pkg.DaveG.ca] `-- Extracting uchardet-0.0.8_1: .......... done [pkg.DaveG.ca] Extracting groff-1.24.1: .......... done ===== Message from groff-1.24.1: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm ===> cops-1.04_1 depends on executable: groff - found ===> Returning to build of cops-1.04_1 ===> cops-1.04_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done 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 clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> cops-1.04_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of cops-1.04_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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... =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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/usr/ports/security/cops/work/cops_104+/cops > /wrkdirs/usr/ports/security/cops/work/cops_104+/cops.out /bin/mv /wrkdirs/usr/ports/security/cops/work/cops_104+/cops.out /wrkdirs/usr/ports/security/cops/work/cops_104+/cops /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o home.chk src/home.chk.c src/home.chk.c:58:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | main(argc,argv) | ^ 59 | char **argv; 60 | { src/home.chk.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | main(argc,argv) | ^ | int src/home.chk.c:67:3: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | printf("Usage: %s\n",argv[0]); | ^ src/home.chk.c:67:3: note: include the header or explicitly provide a declaration for 'printf' src/home.chk.c:68:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | exit(1); | ^ src/home.chk.c:68:3: note: include the header or explicitly provide a declaration for 'exit' src/home.chk.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | main(argc,argv) | ^ 5 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o user.chk src/user.chk.c src/user.chk.c:41:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 41 | char *malloc(); | ^ src/user.chk.c:41:7: note: 'malloc' is a builtin with type 'void *(unsigned long)' src/user.chk.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | main(argc,argv) | ^ | int src/user.chk.c:56:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | exit(1); | ^ src/user.chk.c:56:2: note: include the header or explicitly provide a declaration for 'exit' src/user.chk.c:59:12: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | ft = malloc(100); | ^ src/user.chk.c:74:7: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | if (strlen(pp->pw_dir) != 1) | ^ src/user.chk.c:74:7: note: include the header or explicitly provide a declaration for 'strlen' src/user.chk.c:87:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (!strcmp("netrc", ftable[index])) | ^ src/user.chk.c:87:8: note: include the header or explicitly provide a declaration for 'strcmp' src/user.chk.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | main(argc,argv) | ^ 7 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -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 [-Wextra-tokens] 37 | #endif SETUID | ^ | // src/is_something.c:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 44 | #endif READABLE | ^ | // src/is_something.c:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 51 | #endif WRITABLE | ^ | // src/is_something.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | main(argc,argv) | ^ | int src/is_something.c:65:9: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | (void) printf("Usage: %s [-gv] file\n",argv[0]); | ^ src/is_something.c:65:9: note: include the header or explicitly provide a declaration for 'printf' src/is_something.c:66:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | exit(0); | ^ src/is_something.c:66:2: note: include the header or explicitly provide a declaration for 'exit' src/is_something.c:79:2: warning: call to undeclared function 'perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | perror(*argv); | ^ src/is_something.c:96:2: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | strcpy(foo_dirs[i++], foo_file); | ^ src/is_something.c:96:2: note: include the header or explicitly provide a declaration for 'strcpy' src/is_something.c:98:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | j=strlen(foo_file) - 1; | ^ src/is_something.c:98:4: note: include the header or explicitly provide a declaration for 'strlen' src/is_something.c:101:4: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | strncpy(foo_dirs[i++], foo_file, j); | ^ src/is_something.c:101:4: note: include the header or explicitly provide a declaration for 'strncpy' src/is_something.c:118:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 118 | #endif WRITABLE | ^ | // src/is_something.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | main(argc,argv) | ^ 12 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o crc src/crc.c src/crc.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | updcrc( icrc, icp, icnt ) | ^ src/crc.c:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 92 | void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ src/crc.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | main( argc, argv ) | ^ | int src/crc.c:189:7: warning: call to undeclared function 'print_crc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | print_crc((char *)0, 0); | ^ src/crc.c:195:16: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | while ((c = getopt(argc, argv, "VvI:i:")) != EOF) { | ^ src/crc.c:206:24: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | initial_crc = atoi(optarg); | ^ src/crc.c:217:7: warning: call to undeclared function 'print_crc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | print_crc(argv[optind], stats_flag); | ^ src/crc.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | main( argc, argv ) | ^ src/crc.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | print_crc(name, stat_flag) | ^ | int src/crc.c:259:21: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | while ( (nr = read( fd, (char *)buf, MAXBUF )) > 0 ) { | ^ src/crc.c:262:14: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | (void) close(fd); | ^ src/crc.c:270:10: warning: call to undeclared function 'stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | stats(name); | ^ src/crc.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | print_crc(name, stat_flag) | ^ src/crc.c:293:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 293 | } | ^ src/crc.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | stats(name) | ^ | int src/crc.c:306:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 306 | struct passwd *getpwuid(); | ^ /usr/include/pwd.h:148:16: note: conflicting prototype is here 148 | struct passwd *getpwuid(uid_t); | ^ src/crc.c:307:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 307 | struct group *getgrgid(); | ^ /usr/include/grp.h:67:15: note: conflicting prototype is here 67 | struct group *getgrgid(gid_t); | ^ src/crc.c:308:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 308 | char *ctime(); | ^ /usr/include/time.h:119:7: note: conflicting prototype is here 119 | char *ctime(const time_t *); | ^ src/crc.c:333:4: warning: call to undeclared function 'print_perm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | print_perm(stat_buf.st_mode); | ^ src/crc.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | stats(name) | ^ src/crc.c:337:1: warning: non-void function does not return a value [-Wreturn-type] 337 | } | ^ src/crc.c:340:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 340 | print_perm(perm) | ^ | int src/crc.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] src/crc.c:399:1: warning: non-void function does not return a value [-Wreturn-type] 399 | } | ^ 24 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o crc_check src/crc_check.c src/crc_check.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | main(argc, argv) | ^ | int src/crc_check.c:91:4: warning: call to undeclared function 'get_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | get_line(new_line); | ^ src/crc_check.c:96:7: warning: call to undeclared function 'check_eof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | check_eof(); | ^ src/crc_check.c:100:11: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | if (strcmp(old_line, new_line) == 0) { | ^ src/crc_check.c:100:11: note: include the header or explicitly provide a declaration for 'strcmp' src/crc_check.c:128:14: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (strncmp(new_line, old_line, 4) != 0) | ^ src/crc_check.c:128:14: note: include the header or explicitly provide a declaration for 'strncmp' src/crc_check.c:131:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 131 | else | ^ src/crc_check.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | main(argc, argv) | ^ src/crc_check.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | get_line(string) | ^ | int src/crc_check.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] src/crc_check.c:173:1: warning: non-void function does not return a value [-Wreturn-type] 173 | } | ^ src/crc_check.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | check_eof() | ^ | int src/crc_check.c:194:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 194 | } | ^ 12 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o addto src/addto.c src/addto.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | main(argc, argv) | ^ | int src/addto.c:45:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | exit(1); | ^ src/addto.c:45:3: note: include the header or explicitly provide a declaration for 'exit' src/addto.c:51:2: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | strcat(keypending, key); | ^ src/addto.c:51:2: note: include the header or explicitly provide a declaration for 'strcat' src/addto.c:64:7: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if (strncmp(linebuf, key, strlen(key)) == 0) { | ^ src/addto.c:64:7: note: include the header or explicitly provide a declaration for 'strncmp' src/addto.c:64:29: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if (strncmp(linebuf, key, strlen(key)) == 0) { | ^ src/addto.c:64:29: note: include the header or explicitly provide a declaration for 'strlen' src/addto.c:73:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 73 | fprintf(tmpfile, argv[i]); | ^~~~~~~ src/addto.c:73:22: note: treat the string as an argument to avoid this 73 | fprintf(tmpfile, argv[i]); | ^ | "%s", src/addto.c:75:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 75 | fprintf(stderr, argv[i]); | ^~~~~~~ src/addto.c:75:21: note: treat the string as an argument to avoid this 75 | fprintf(stderr, argv[i]); | ^ | "%s", src/addto.c:109:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 109 | fprintf(tmpfile, keypending); | ^~~~~~~~~~ src/addto.c:109:19: note: treat the string as an argument to avoid this 109 | fprintf(tmpfile, keypending); | ^ | "%s", src/addto.c:124:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 124 | fprintf(tmpfile, argv[i]); | ^~~~~~~ src/addto.c:124:20: note: treat the string as an argument to avoid this 124 | fprintf(tmpfile, argv[i]); | ^ | "%s", src/addto.c:126:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 126 | fprintf(stdout, argv[i]); | ^~~~~~~ src/addto.c:126:19: note: treat the string as an argument to avoid this 126 | fprintf(stdout, argv[i]); | ^ | "%s", src/addto.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | main(argc, argv) | ^ 11 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o clearfiles src/clearfiles.c src/clearfiles.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | main(argc, argv) | ^ | int src/clearfiles.c:37:30: warning: comparison between pointer and integer ('char' and 'void *') [-Wpointer-integer-compare] 37 | for (i = 0 ; filelist[i][0] != NULL ; i++) { | ~~~~~~~~~~~~~~ ^ ~~~~ src/clearfiles.c:41:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | exit(1); | ^ src/clearfiles.c:41:4: note: include the header or explicitly provide a declaration for 'exit' src/clearfiles.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | main(argc, argv) | ^ 4 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o filewriters src/filewriters.c src/filewriters.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | main(argc, argv) | ^ | int src/filewriters.c:61:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | exit(1); | ^ src/filewriters.c:61:3: note: include the header or explicitly provide a declaration for 'exit' src/filewriters.c:73:2: warning: call to undeclared function 'print_uid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | print_uid(stdout, buf.st_uid); | ^ src/filewriters.c:76:3: warning: call to undeclared function 'print_gid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | print_gid(stdout, buf.st_gid); | ^ src/filewriters.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | main(argc, argv) | ^ src/filewriters.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | print_uid(out, uid) | ^ | int src/filewriters.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] src/filewriters.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 104 | } | ^ src/filewriters.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | print_gid(out, gid) | ^ | int src/filewriters.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] src/filewriters.c:119:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 119 | } | ^ 11 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o members src/members.c src/members.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | main(argc, argv) | ^ | int src/members.c:38:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | exit(1); | ^ src/members.c:38:3: note: include the header or explicitly provide a declaration for 'exit' src/members.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | main(argc, argv) | ^ 3 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o tilde src/tilde.c src/tilde.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | main(argc,argv) | ^ | int src/tilde.c:12:2: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | printf("Usage: %s\n",argv[0]); | ^ src/tilde.c:12:2: note: include the header or explicitly provide a declaration for 'printf' src/tilde.c:13:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | exit(1); | ^ src/tilde.c:13:2: note: include the header or explicitly provide a declaration for 'exit' src/tilde.c:5:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | main(argc,argv) | ^ 4 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o is_able src/is_able.c src/is_able.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | main(argc,argv) | ^ | int src/is_able.c:75:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 75 | fprintf(stderr, usage); | ^~~~~ src/is_able.c:75:18: note: treat the string as an argument to avoid this 75 | fprintf(stderr, usage); | ^ | "%s", src/is_able.c:76:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | exit(1); | ^ src/is_able.c:76:2: note: include the header or explicitly provide a declaration for 'exit' src/is_able.c:80:1: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | strcpy(file, argv[1]); | ^ src/is_able.c:80:1: note: include the header or explicitly provide a declaration for 'strcpy' src/is_able.c:84:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 84 | fprintf(stderr, file); | ^~~~ src/is_able.c:84:18: note: treat the string as an argument to avoid this 84 | fprintf(stderr, file); | ^ | "%s", src/is_able.c:127:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 127 | fprintf(stderr, usage); | ^~~~~ src/is_able.c:127:19: note: treat the string as an argument to avoid this 127 | fprintf(stderr, usage); | ^ | "%s", src/is_able.c:133:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 133 | fprintf(stderr, usage); | ^~~~~ src/is_able.c:133:18: note: treat the string as an argument to avoid this 133 | fprintf(stderr, usage); | ^ | "%s", src/is_able.c:154:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | j=strlen(foo_file) - 1; | ^ src/is_able.c:154:4: note: include the header or explicitly provide a declaration for 'strlen' src/is_able.c:157:4: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | strncpy(foo_dirs[i++], foo_file, j); | ^ src/is_able.c:157:4: note: include the header or explicitly provide a declaration for 'strncpy' src/is_able.c:188:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 188 | fprintf(stderr, file); | ^~~~ src/is_able.c:188:19: note: treat the string as an argument to avoid this 188 | fprintf(stderr, file); | ^ | "%s", src/is_able.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | main(argc,argv) | ^ 11 warnings generated. cd docs; make /usr/local/bin/nroff -ms COPS.report > COPS.report.ms /usr/local/bin/nroff -ms suid.man > suid.man.ms s.tmac:suid.man:1: 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: special character 'vV\' not defined /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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cops-1.04_1 depends on package: perl5>=5.42.r<5.43 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for cops-1.04_1 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/security/cops/work/stage/usr/local/cops /usr/bin/tar -C /wrkdirs/usr/ports/security/cops/work/cops_104+ --exclude "*.old" -cf - . | /usr/bin/tar -C /wrkdirs/usr/ports/security/cops/work/stage/usr/local/cops --unlink -xf - /bin/chmod -R go-rwx /wrkdirs/usr/ports/security/cops/work/stage/usr/local/cops ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-17T09:31:35+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d74ee97ef91d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for cops-1.04_1 ===> Building cops-1.04_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for cops-1.04_1 build of security/cops | cops-1.04_1 ended at Tue Mar 17 05:31:44 EDT 2026 build time: 00:00:10