+ 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/libnfc-1.7.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libnfc-1.7.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libnfc-1.7.1nb1
/opt/pkg/bin/bmake  all-recursive
Making all in libnfc
Making all in chips
  CC     libnfcchips_la-pn53x.lo
pn53x.c: In function 'pn53x_target_receive_bytes':
pn53x.c:2388:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2388 |         if (CHIP_DATA(pnd)->current_target->nti.nai.btSak & SAK_ISO14443_4_COMPLIANT) {
      |            ^
pn53x.c:2401:7: note: here
 2401 |       case NMT_JEWEL:
      |       ^~~~
pn53x.c: In function 'pn53x_target_send_bytes':
pn53x.c:2493:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2493 |         if (CHIP_DATA(pnd)->current_target->nti.nai.btSak & SAK_ISO14443_4_COMPLIANT) {
      |            ^
pn53x.c:2506:7: note: here
 2506 |       case NMT_JEWEL:
      |       ^~~~
  CCLD   libnfcchips.la
Making all in buses
  CC     libnfcbuses_la-empty.lo
  CC     libnfcbuses_la-uart.lo
uart.c:85:6: error: #error "Can't determine serial string for your system"
   85 | #    error "Can't determine serial string for your system"
      |      ^~~~~
uart.c: In function 'uart_flush_input':
uart.c:159:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  159 |   res = ioctl(UART_DATA(sp)->fd, FIONREAD, &available_bytes_count);
      |         ^~~~~
uart.c:159:34: error: 'FIONREAD' undeclared (first use in this function)
  159 |   res = ioctl(UART_DATA(sp)->fd, FIONREAD, &available_bytes_count);
      |                                  ^~~~~~~~
uart.c:159:34: note: each undeclared identifier is reported only once for each function it appears in
uart.c: In function 'uart_receive':
uart.c:346:36: error: 'FIONREAD' undeclared (first use in this function)
  346 |     res = ioctl(UART_DATA(sp)->fd, FIONREAD, &available_bytes_count);
      |                                    ^~~~~~~~
uart.c: In function 'uart_list_ports':
uart.c:402:22: error: 'serial_ports_device_radix' undeclared (first use in this function)
  402 |     const char **p = serial_ports_device_radix;
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
*** [libnfcbuses_la-uart.lo] Error code 1

bmake[3]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc/buses
1 error

bmake[3]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc/buses
*** [all-recursive] Error code 1

bmake[2]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc
1 error

bmake[2]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1
1 error

bmake[1]: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1
1 error

bmake: stopped in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libnfc