+ 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/icdprog-0.3nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icdprog-0.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for icdprog-0.3nb1
gcc -Wall -O  -c icdprog.c
icdprog.c: In function 'read_file':
icdprog.c:34:43: warning: pointer targets in passing argument 3 of 'read_hexfile' differ in signedness [-Wpointer-sign]
   34 |  while ((err = read_hexfile(hfp, &datlow, &addr)) == HEXOK) {
      |                                           ^~~~~
      |                                           |
      |                                           long int *
In file included from icdprog.c:4:
intel.h:13:59: note: expected 'long unsigned int *' but argument is of type 'long int *'
   13 | int read_hexfile (HEXFILE * fp, int *data, unsigned long *adr);
      |                                            ~~~~~~~~~~~~~~~^~~
icdprog.c:38:38: warning: pointer targets in passing argument 3 of 'read_hexfile' differ in signedness [-Wpointer-sign]
   38 |    err = read_hexfile(hfp, &dathigh, &addr);  /* FIXME: error handling .. */
      |                                      ^~~~~
      |                                      |
      |                                      long int *
In file included from icdprog.c:4:
intel.h:13:59: note: expected 'long unsigned int *' but argument is of type 'long int *'
   13 | int read_hexfile (HEXFILE * fp, int *data, unsigned long *adr);
      |                                            ~~~~~~~~~~~~~~~^~~
gcc -Wall -O  -c intel.c
gcc -Wall -O  -c icd.c
icd.c: In function 'icd_init':
icd.c:301:8: error: 'struct termios' has no member named 'c_ispeed'
  301 |  newtio.c_ispeed = newtio.c_ospeed = BAUDRATE;
      |        ^
icd.c:301:26: error: 'struct termios' has no member named 'c_ospeed'
  301 |  newtio.c_ispeed = newtio.c_ospeed = BAUDRATE;
      |                          ^
*** [icd.o] Error code 1

bmake: stopped in /home/pbulk/build/cross/icdprog/work/icdprog-0.3/src
1 error

bmake: stopped in /home/pbulk/build/cross/icdprog/work/icdprog-0.3/src
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/cross/icdprog