+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netcat-openbsd-20131208/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netcat-openbsd-20131208/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for netcat-openbsd-20131208 --- all --- cc -o nc -Wl,-zrelro -Wl,-R/usr/pkg/lib -lresolv netcat.c atomicio.c socks.c strtonum.c readpassphrase.c In file included from /usr/include/sys/types.h:25, from netcat.c:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ netcat.c: In function 'main': netcat.c:170:12: warning: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [-Wimplicit-function-declaration] iflag = strtonum(optarg, 0, UINT_MAX, &errstr); ^~~~~~~~ strtouq netcat.c:299:4: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] strlcpy(unix_dg_tmp_socket_buf, "/tmp/nc.XXXXXXXXXX", ^~~~~~~ strncpy netcat.c:301:40: warning: comparison between pointer and integer if (mkstemp(unix_dg_tmp_socket_buf) == NULL) ^~ netcat.c: In function 'build_ports': netcat.c:940:10: warning: implicit declaration of function 'arc4random'; did you mean 'srandom'? [-Wimplicit-function-declaration] y = (arc4random() & 0xFFFF) % (hi - lo); ^~~~~~~~~~ srandom netcat.c: In function 'map_tos': netcat.c:1035:13: error: 'IPTOS_DSCP_CS0' undeclared (first use in this function); did you mean 'IPTOS_DSCP_EF'? { "cs0", IPTOS_DSCP_CS0 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_EF netcat.c:1035:13: note: each undeclared identifier is reported only once for each function it appears in netcat.c:1036:13: error: 'IPTOS_DSCP_CS1' undeclared (first use in this function); did you mean 'IPTOS_DSCP_AF11'? { "cs1", IPTOS_DSCP_CS1 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_AF11 netcat.c:1037:13: error: 'IPTOS_DSCP_CS2' undeclared (first use in this function); did you mean 'IPTOS_DSCP_AF32'? { "cs2", IPTOS_DSCP_CS2 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_AF32 netcat.c:1038:13: error: 'IPTOS_DSCP_CS3' undeclared (first use in this function); did you mean 'IPTOS_DSCP_AF13'? { "cs3", IPTOS_DSCP_CS3 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_AF13 netcat.c:1039:13: error: 'IPTOS_DSCP_CS4' undeclared (first use in this function); did you mean 'IPTOS_DSCP_EF'? { "cs4", IPTOS_DSCP_CS4 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_EF netcat.c:1040:13: error: 'IPTOS_DSCP_CS5' undeclared (first use in this function); did you mean 'IPTOS_DSCP_EF'? { "cs5", IPTOS_DSCP_CS5 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_EF netcat.c:1041:13: error: 'IPTOS_DSCP_CS6' undeclared (first use in this function); did you mean 'IPTOS_DSCP_EF'? { "cs6", IPTOS_DSCP_CS6 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_EF netcat.c:1042:13: error: 'IPTOS_DSCP_CS7' undeclared (first use in this function); did you mean 'IPTOS_DSCP_EF'? { "cs7", IPTOS_DSCP_CS7 }, ^~~~~~~~~~~~~~ IPTOS_DSCP_EF In file included from /usr/include/errno.h:25, from atomicio.c:29: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/sys/types.h:25, from socks.c:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from strtonum.c:27: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/ctype.h:25, from readpassphrase.c:24: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ readpassphrase.c: In function 'readpassphrase': readpassphrase.c:84:17: error: 'VSTATUS' undeclared (first use in this function); did you mean 'CSTATUS'? if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) ^~~~~~~ CSTATUS readpassphrase.c:84:17: note: each undeclared identifier is reported only once for each function it appears in readpassphrase.c:86:36: error: 'TCSASOFT' undeclared (first use in this function); did you mean 'TCSANOW'? (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); ^~~~~~~~ TCSANOW readpassphrase.c: In function 'getpass': readpassphrase.c:178:18: error: '_PASSWORD_LEN' undeclared (first use in this function) static char buf[_PASSWORD_LEN + 1]; ^~~~~~~~~~~~~ *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/netcat-openbsd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/netcat-openbsd