+ 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:0,
                 from netcat.c:34:
/usr/include/features.h:330: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:301:40: warning: comparison between pointer and integer [enabled by default]
    if (mkstemp(unix_dg_tmp_socket_buf) == NULL)
                                        ^
netcat.c: In function 'map_tos':
netcat.c:1035:13: error: 'IPTOS_DSCP_CS0' undeclared (first use in this function)
   { "cs0",  IPTOS_DSCP_CS0 },
             ^
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)
   { "cs1",  IPTOS_DSCP_CS1 },
             ^
netcat.c:1037:13: error: 'IPTOS_DSCP_CS2' undeclared (first use in this function)
   { "cs2",  IPTOS_DSCP_CS2 },
             ^
netcat.c:1038:13: error: 'IPTOS_DSCP_CS3' undeclared (first use in this function)
   { "cs3",  IPTOS_DSCP_CS3 },
             ^
netcat.c:1039:13: error: 'IPTOS_DSCP_CS4' undeclared (first use in this function)
   { "cs4",  IPTOS_DSCP_CS4 },
             ^
netcat.c:1040:13: error: 'IPTOS_DSCP_CS5' undeclared (first use in this function)
   { "cs5",  IPTOS_DSCP_CS5 },
             ^
netcat.c:1041:13: error: 'IPTOS_DSCP_CS6' undeclared (first use in this function)
   { "cs6",  IPTOS_DSCP_CS6 },
             ^
netcat.c:1042:13: error: 'IPTOS_DSCP_CS7' undeclared (first use in this function)
   { "cs7",  IPTOS_DSCP_CS7 },
             ^
In file included from /usr/include/errno.h:28:0,
                 from atomicio.c:29:
/usr/include/features.h:330: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:0,
                 from socks.c:28:
/usr/include/features.h:330: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/stdlib.h:24:0,
                 from strtonum.c:27:
/usr/include/features.h:330: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:26:0,
                 from readpassphrase.c:24:
/usr/include/features.h:330: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)
   if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
                 ^
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)
   (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
                                    ^
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 in /home/pbulk/build/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9
1 error

bmake: stopped in /home/pbulk/build/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/netcat-openbsd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/netcat-openbsd