+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libnfc-1.7.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libnfc-1.7.1nb1/work.log
===> Building for libnfc-1.7.1nb1
--- all ---
/opt/local/bin/bmake  all-recursive
--- all-recursive ---
Making all in libnfc
--- all-recursive ---
Making all in chips
--- libnfcchips_la-pn53x.lo ---
  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:
      |       ^~~~
--- libnfcchips.la ---
  CCLD   libnfcchips.la
Making all in buses
--- libnfcbuses_la-empty.lo ---
--- libnfcbuses_la-uart.lo ---
--- libnfcbuses_la-usbbus.lo ---
--- libnfcbuses_la-uart.lo ---
  CC     libnfcbuses_la-uart.lo
--- libnfcbuses_la-empty.lo ---
  CC     libnfcbuses_la-empty.lo
--- libnfcbuses_la-usbbus.lo ---
  CC     libnfcbuses_la-usbbus.lo
--- 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 making "all" in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc/buses
bmake[3]: 1 error

bmake[3]: stopped making "all" in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc/buses

bmake[2]: stopped making "all" in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1/libnfc

bmake[1]: stopped making "all-recursive" in /home/pbulk/build/devel/libnfc/work/libnfc-1.7.1

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

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/libnfc