+ 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/aget-0.4.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/aget-0.4.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for aget-0.4.1
gcc -g -W -I/usr/include -c main.c
gcc -g -W -I/usr/include -c Aget.c
gcc -g -W -I/usr/include -c Misc.c
gcc -g -W -I/usr/include -c Head.c
Head.c:2: warning: "_XOPEN_SOURCE" redefined
    2 | #define _XOPEN_SOURCE 500
      | 
<command-line>: note: this is the location of the previous definition
gcc -g -W -I/usr/include -c Signal.c
gcc -g -W -I/usr/include -c Download.c
Download.c:2: warning: "_XOPEN_SOURCE" redefined
    2 | #define _XOPEN_SOURCE 500
      | 
<command-line>: note: this is the location of the previous definition
gcc -g -W -I/usr/include -c Resume.c
gcc -o aget main.o Aget.o Misc.o Head.o Signal.o Download.o Resume.o -pthread
Undefined			first referenced
 symbol  			    in file
recv                                Head.o
send                                Head.o
__xnet_connect                      Head.o
__xnet_socket                       Head.o
gethostbyname                       Head.o
hstrerror                           Head.o
h_errno                             Head.o
ld: fatal: symbol referencing errors. No output written to aget
collect2: error: ld returned 1 exit status
*** [all] Error code 1

bmake: stopped in /home/pbulk/build/net/aget/work/aget-0.4.1
1 error

bmake: stopped in /home/pbulk/build/net/aget/work/aget-0.4.1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/aget
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/aget