[package - main-powerpc64-default][security/cops] Failed for cops-1.04_1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Feb 2023 18:54:48 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: cy@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/foul1/data/main-powerpc64-default/pb64d2f1e5acf_sc92790b3fb/logs/cops-1.04_1.log
Build URL: https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc64-default&build=pb64d2f1e5acf_sc92790b3fb
Log:
=>> Building security/cops
build started at Tue Feb 21 18:54:06 UTC 2023
port directory: /usr/ports/security/cops
package name: cops-1.04_1
building for: FreeBSD main-powerpc64-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 powerpc
maintained by: cy@FreeBSD.org
Makefile ident:
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 03
!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=14.0 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 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
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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) 1024
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--
=======================<phase: check-sanity >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.19.1.pkg
[main-powerpc64-default-job-03] Installing pkg-1.19.1...
[main-powerpc64-default-job-03] Extracting pkg-1.19.1: .......... done
===> cops-1.04_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of cops-1.04_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by cops-1.04_1 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by cops-1.04_1 for building
=> SHA256 Checksum OK for cops104+.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by cops-1.04_1 for building
===> Extracting for cops-1.04_1
=> SHA256 Checksum OK for cops104+.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for cops-1.04_1
===> Applying FreeBSD patches for cops-1.04_1 from /usr/ports/security/cops/files
===========================================================================
=======================<phase: build-depends >============================
===> cops-1.04_1 depends on executable: groff - not found
===> Installing existing package /packages/All/groff-1.22.4_4.pkg
[main-powerpc64-default-job-03] Installing groff-1.22.4_4...
[main-powerpc64-default-job-03] `-- Installing indexinfo-0.3.1...
[main-powerpc64-default-job-03] `-- Extracting indexinfo-0.3.1: .... done
[main-powerpc64-default-job-03] `-- Installing libiconv-1.17...
[main-powerpc64-default-job-03] `-- Extracting libiconv-1.17: .......... done
[main-powerpc64-default-job-03] `-- Installing perl5-5.32.1_3...
<snip>
^
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]
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]
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]
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]
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 C2x [-Wdeprecated-non-prototype]
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]
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]
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]
(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]
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 C2x [-Wdeprecated-non-prototype]
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]
}
^
src/crc.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
struct passwd *getpwuid();
^
/usr/include/pwd.h:151:16: note: conflicting prototype is here
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
struct group *getgrgid();
^
/usr/include/grp.h:70:15: note: conflicting prototype is here
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *ctime();
^
/usr/include/time.h:122:7: note: conflicting prototype is here
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]
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 C2x [-Wdeprecated-non-prototype]
stats(name)
^
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'; ISO C99 and later do not support implicit int [-Wimplicit-int]
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 C2x [-Wdeprecated-non-prototype]
src/crc.c:399:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
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]
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]
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]
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]
if (strcmp(old_line, new_line) == 0) {
^
src/crc_check.c:100:11: note: include the header <string.h> 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]
if (strncmp(new_line, old_line, 4) != 0)
^
src/crc_check.c:128:14: note: include the header <string.h> 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:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
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'; ISO C99 and later do not support implicit int [-Wimplicit-int]
check_eof()
^
int
src/crc_check.c:194:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
12 warnings generated.
/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o addto src/addto.c
src/addto.c:29:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(argc, argv)
^
int
src/addto.c:43: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]
exit(1);
^
src/addto.c:43:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
src/addto.c:48:17: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion]
keypending[0] = NULL;
^ ~~~~
src/addto.c:49: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]
strcat(keypending, key);
^
src/addto.c:49:2: note: include the header <string.h> or explicitly provide a declaration for 'strcat'
src/addto.c:54:14: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion]
filename[0] = NULL;
^ ~~~~
src/addto.c:62: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]
if (strncmp(linebuf, key, strlen(key)) == 0) {
^
src/addto.c:62:7: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
src/addto.c:62: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]
if (strncmp(linebuf, key, strlen(key)) == 0) {
^
src/addto.c:62:29: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
src/addto.c:71:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(tmpfile, argv[i]);
^~~~~~~
src/addto.c:71:22: note: treat the string as an argument to avoid this
fprintf(tmpfile, argv[i]);
^
"%s",
src/addto.c:73:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(stderr, argv[i]);
^~~~~~~
src/addto.c:73:21: note: treat the string as an argument to avoid this
fprintf(stderr, argv[i]);
^
"%s",
src/addto.c:85:14: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion]
filename[0] = NULL;
^ ~~~~
src/addto.c:100:14: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion]
filename[0] = NULL;
^ ~~~~
src/addto.c:107:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(tmpfile, keypending);
^~~~~~~~~~
src/addto.c:107:19: note: treat the string as an argument to avoid this
fprintf(tmpfile, keypending);
^
"%s",
src/addto.c:112:14: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion]
filename[0] = NULL;
^ ~~~~
src/addto.c:122:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(tmpfile, argv[i]);
^~~~~~~
src/addto.c:122:20: note: treat the string as an argument to avoid this
fprintf(tmpfile, argv[i]);
^
"%s",
src/addto.c:124:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf(stdout, argv[i]);
^~~~~~~
src/addto.c:124:19: note: treat the string as an argument to avoid this
fprintf(stdout, argv[i]);
^
"%s",
src/addto.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(argc, argv)
^
11 warnings and 5 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/cops/work/cops_104+
*** Error code 1
Stop.
make: stopped in /usr/ports/security/cops