+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ddos-scan-20000325/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ddos-scan-20000325/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ddos-scan-20000325
--- default ---
--- dds.o ---
--- default ---
LEGALESE
========

This software should only be used in compliance with all applicable laws and
the policies and preferences of the owners of any networks, systems, or hosts
scanned with the software

The developers and licensors of the software provide the software on an "as
is" basis, excluding all express or implied warranties, and will not be liable
for any damages arising out of or relating to use of the software.

THIS SOFTWARE IS MADE AVAILABLE "AS IS", AND THE UNIVERSITY OF WASHINGTON
DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE,
INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL THE UNIVERSITY OF
WASHINGTON BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.                      
 
Please read the README file first, then edit the Makefile
to suit your operating system, then use 'make dds'
--- dds.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -c dds.c
dds.c: In function 'main':
dds.c:301:25: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  301 |                         bzero(buf, sizeof(struct icmp) +
      |                         ^~~~~
dds.c:301:25: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
dds.c: In function 'listener':
dds.c:420:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  420 |         bzero((char *) &sa, sizeof(sa));
      |         ^~~~~
--- dds ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wl,-R/opt/pkg/lib -o dds dds.c 
dds.c: In function 'main':
dds.c:301:25: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  301 |                         bzero(buf, sizeof(struct icmp) +
      |                         ^~~~~
dds.c:301:25: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
dds.c: In function 'listener':
dds.c:420:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  420 |         bzero((char *) &sa, sizeof(sa));
      |         ^~~~~
Undefined			first referenced
 symbol  			    in file
bind                                /var/tmp//ccsIGrKs.o
sendto                              /var/tmp//ccsIGrKs.o
socket                              /var/tmp//ccsIGrKs.o
recvfrom                            /var/tmp//ccsIGrKs.o
ld: fatal: symbol referencing errors. No output written to dds
collect2: error: ld returned 1 exit status
*** [dds] Error code 1

bmake: stopped making "default dds" in /home/pbulk/build/security/ddos-scan/work/ddos_scan
bmake: 1 error

bmake: stopped making "default dds" in /home/pbulk/build/security/ddos-scan/work/ddos_scan
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/ddos-scan
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/ddos-scan