+ 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/obexftp-0.24nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/obexftp-0.24nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for obexftp-0.24nb1
[ 25%] Generating obexftp.1.xml
[ 50%] Generating obexftpd.1.xml
[ 75%] Generating obexftpd.1
[100%] Generating obexftp.1
Note: Writing obexftpd.1
Note: Writing obexftp.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/client.c.o
[ 42%] Building C object obexftp/CMakeFiles/obexftp.dir/object.c.o
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:51:0: warning: "ESOCKTNOSUPPORT" redefined
 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
 
In file included from /usr/include/asm/errno.h:1:0,
                 from /usr/include/linux/errno.h:1,
                 from /usr/include/bits/errno.h:24,
                 from /usr/include/errno.h:35,
                 from /home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:33:
/usr/include/asm-generic/errno.h:67:0: note: this is the location of the previous definition
 #define ESOCKTNOSUPPORT 94 /* 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)
 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
                         ^
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:722:10: note: in expansion of macro 'ESOCKTNOSUPPORT'
   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
 #define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
                         ^
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:722:10: note: in expansion of macro 'ESOCKTNOSUPPORT'
   ret = -ESOCKTNOSUPPORT;
          ^~~~~~~~~~~~~~~
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c: In function 'client_done':
/home/pbulk/build/comms/obexftp/work/obexftp-0.24-Source/obexftp/client.c:345:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      (void) write(fd, body_data, body_len);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- obexftp/CMakeFiles/obexftp.dir/client.c.o ---
*** [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 ---
*** [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-el7-trunk-x86_64/comms/obexftp
*** Error code 1

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