+ 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/obexftp-0.24nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/obexftp-0.24nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for obexftp-0.24nb2
[ 25%] Generating obexftp.1.xml
[ 50%] Generating obexftpd.1.xml
[ 75%] Generating obexftp.1
Note: Writing obexftp.1
[100%] Generating obexftpd.1
Note: Writing obexftpd.1
[100%] Built target doc
[  5%] Building C object bfb/CMakeFiles/bfb.dir/bfb.c.o
[ 10%] Building C object bfb/CMakeFiles/bfb.dir/bfb_io.c.o
[ 15%] Building C object bfb/CMakeFiles/bfb.dir/crc.c.o
[ 21%] Linking C shared library libbfb.so
[ 21%] Built target bfb
[ 26%] Building C object multicobex/CMakeFiles/multicobex.dir/multi_cobex.c.o
[ 31%] Linking C shared library libmulticobex.so
[ 31%] Built target multicobex
[ 36%] Building C object obexftp/CMakeFiles/obexftp.dir/object.c.o
[ 42%] Building C object obexftp/CMakeFiles/obexftp.dir/client.c.o
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:51: warning: "ESOCKTNOSUPPORT" redefined
   51 | #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
      | 
In file included from /usr/include/errno.h:39,
                 from /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:33:
/usr/include/sys/errno.h:168: note: this is the location of the previous definition
  168 | #define ESOCKTNOSUPPORT 121     /* Socket type not supported */
      | 
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c: In function 'obexftp_connect_src':
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:51:25: error: 'WSAESOCKTNOSUPPORT' undeclared (first use in this function); did you mean 'ESOCKTNOSUPPORT'?
   51 | #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
      |                         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:722:24: note: in expansion of macro 'ESOCKTNOSUPPORT'
  722 |                 ret = -ESOCKTNOSUPPORT;
      |                        ^~~~~~~~~~~~~~~
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:51:25: note: each undeclared identifier is reported only once for each function it appears in
   51 | #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
      |                         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:722:24: note: in expansion of macro 'ESOCKTNOSUPPORT'
  722 |                 ret = -ESOCKTNOSUPPORT;
      |                        ^~~~~~~~~~~~~~~
*** [obexftp/CMakeFiles/obexftp.dir/client.c.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
1 error

bmake[2]: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
*** [obexftp/CMakeFiles/obexftp.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
1 error

bmake[1]: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
1 error

bmake: stopped in /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/obexftp
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/obexftp