=>> Building security/cops build started at Wed Apr 3 19:29:44 BST 2024 port directory: /usr/ports/security/cops package name: cops-1.04_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1377 Mar 8 2023 /usr/ports/security/cops/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 19 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/19/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 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.36 DOCSDIR="share/doc/cops" EXAMPLESDIR="share/examples/cops" DATADIR="share/cops" WWWDIR="www/cops" ETCDIR="etc/cops" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cops DOCSDIR=/usr/local/share/doc/cops EXAMPLESDIR=/usr/local/share/examples/cops WWWDIR=/usr/local/www/cops ETCDIR=/usr/local/etc/cops --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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.23.0_3.pkg [pkg-builder.dan.net.uk] Installing groff-1.23.0_3... [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing psutils-1.17_6... [pkg-builder.dan.net.uk] | `-- Installing libpaper-1.1.28_1... [pkg-builder.dan.net.uk] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting psutils-1.17_6: .......... done [pkg-builder.dan.net.uk] `-- Installing uchardet-0.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting uchardet-0.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting groff-1.23.0_3: .......... done ===== Message from groff-1.23.0_3: -- 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 =========================================================================== =================================================== ===== 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:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/home.chk.c:67:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/home.chk.c:68:3: note: include the header or explicitly provide a declaration for 'exit' 3 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] 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' [-Wimplicit-int] main(argc,argv) ^ src/user.chk.c:56:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/user.chk.c:56:2: note: include the header or explicitly provide a declaration for 'exit' src/user.chk.c:74:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp("netrc", ftable[index])) ^ src/user.chk.c:87:8: note: include the header or explicitly provide a declaration for 'strcmp' 5 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] #endif SETUID ^ // src/is_something.c:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif READABLE ^ // src/is_something.c:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WRITABLE ^ // src/is_something.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ src/is_something.c:65:9: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] (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: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] 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: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration] perror(*argv); ^ src/is_something.c:96:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] 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] #endif WRITABLE ^ // 11 warnings generated. /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o crc src/crc.c src/crc.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main( argc, argv ) ^ src/crc.c:189:7: warning: implicit declaration of function 'print_crc' is invalid in C99 [-Wimplicit-function-declaration] print_crc((char *)0, 0); ^ src/crc.c:195:16: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "VvI:i:")) != EOF) { ^ src/crc.c:206:24: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] initial_crc = atoi(optarg); ^ src/crc.c:217:7: warning: implicit declaration of function 'print_crc' is invalid in C99 [-Wimplicit-function-declaration] print_crc(argv[optind], stats_flag); ^ src/crc.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_crc(name, stat_flag) ^ src/crc.c:259:21: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ( (nr = read( fd, (char *)buf, MAXBUF )) > 0 ) { ^ src/crc.c:262:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ src/crc.c:270:10: warning: implicit declaration of function 'stats' is invalid in C99 [-Wimplicit-function-declaration] stats(name); ^ src/crc.c:293:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ src/crc.c:296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stats(name) ^ src/crc.c:333:4: warning: implicit declaration of function 'print_perm' is invalid in C99 [-Wimplicit-function-declaration] print_perm(stat_buf.st_mode); ^ src/crc.c:337:1: warning: non-void function does not return a value [-Wreturn-type] } ^ src/crc.c:340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_perm(perm) ^ src/crc.c:399:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 15 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' [-Wimplicit-int] main(argc, argv) ^ src/crc_check.c:91:4: warning: implicit declaration of function 'get_line' is invalid in C99 [-Wimplicit-function-declaration] get_line(new_line); ^ src/crc_check.c:96:7: warning: implicit declaration of function 'check_eof' is invalid in C99 [-Wimplicit-function-declaration] check_eof(); ^ src/crc_check.c:100:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] 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] else ^ src/crc_check.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_line(string) ^ src/crc_check.c:173:1: warning: non-void function does not return a value [-Wreturn-type] } ^ src/crc_check.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] check_eof() ^ src/crc_check.c:194:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 10 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' [-Wimplicit-int] main(argc, argv) ^ src/addto.c:45:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/addto.c:45:3: note: include the header or explicitly provide a declaration for 'exit' src/addto.c:51:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 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] fprintf(tmpfile, argv[i]); ^~~~~~~ src/addto.c:73:22: note: treat the string as an argument to avoid this fprintf(tmpfile, argv[i]); ^ "%s", src/addto.c:75:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, argv[i]); ^~~~~~~ src/addto.c:75:21: note: treat the string as an argument to avoid this fprintf(stderr, argv[i]); ^ "%s", src/addto.c:109:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(tmpfile, keypending); ^~~~~~~~~~ src/addto.c:109:19: note: treat the string as an argument to avoid this fprintf(tmpfile, keypending); ^ "%s", src/addto.c:124:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(tmpfile, argv[i]); ^~~~~~~ src/addto.c:124:20: note: treat the string as an argument to avoid this fprintf(tmpfile, argv[i]); ^ "%s", src/addto.c:126:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stdout, argv[i]); ^~~~~~~ src/addto.c:126:19: note: treat the string as an argument to avoid this fprintf(stdout, argv[i]); ^ "%s", 10 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' [-Wimplicit-int] main(argc, argv) ^ src/clearfiles.c:37:30: warning: comparison between pointer and integer ('char' and 'void *') [-Wpointer-integer-compare] for (i = 0 ; filelist[i][0] != NULL ; i++) { ~~~~~~~~~~~~~~ ^ ~~~~ src/clearfiles.c:41:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/clearfiles.c:41:4: note: include the header or explicitly provide a declaration for 'exit' 3 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' [-Wimplicit-int] main(argc, argv) ^ src/filewriters.c:61:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/filewriters.c:61:3: note: include the header or explicitly provide a declaration for 'exit' src/filewriters.c:73:2: warning: implicit declaration of function 'print_uid' is invalid in C99 [-Wimplicit-function-declaration] print_uid(stdout, buf.st_uid); ^ src/filewriters.c:76:3: warning: implicit declaration of function 'print_gid' is invalid in C99 [-Wimplicit-function-declaration] print_gid(stdout, buf.st_gid); ^ src/filewriters.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_uid(out, uid) ^ src/filewriters.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ src/filewriters.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_gid(out, gid) ^ src/filewriters.c:119:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 8 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' [-Wimplicit-int] main(argc, argv) ^ src/members.c:38:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/members.c:38:3: note: include the header or explicitly provide a declaration for 'exit' 2 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' [-Wimplicit-int] main(argc,argv) ^ src/tilde.c:12:2: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ src/tilde.c:13:2: note: include the header or explicitly provide a declaration for 'exit' 3 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' [-Wimplicit-int] main(argc,argv) ^ src/is_able.c:75:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ src/is_able.c:75:18: note: treat the string as an argument to avoid this fprintf(stderr, usage); ^ "%s", src/is_able.c:76:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] 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] fprintf(stderr, file); ^~~~ src/is_able.c:84:18: note: treat the string as an argument to avoid this fprintf(stderr, file); ^ "%s", src/is_able.c:127:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ src/is_able.c:127:19: note: treat the string as an argument to avoid this fprintf(stderr, usage); ^ "%s", src/is_able.c:133:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ src/is_able.c:133:18: note: treat the string as an argument to avoid this fprintf(stderr, usage); ^ "%s", src/is_able.c:154:4: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] 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: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] 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] fprintf(stderr, file); ^~~~ src/is_able.c:188:19: note: treat the string as an argument to avoid this fprintf(stderr, file); ^ "%s", 10 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.36<5.37 - 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=2024-04-03T18:29:44+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Wed Apr 3 19:29:57 BST 2024 build time: 00:00:13