+ 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/s10sh-0.2.0nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/s10sh-0.2.0nb3/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for s10sh-0.2.0nb3
--- main.o ---
--- crc.o ---
--- usb.o ---
--- main.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -Wall -g -I/opt/local/include -c main.c -DHAVE_USB_SUPPORT
--- crc.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -Wall -g -I/opt/local/include -c crc.c -DHAVE_USB_SUPPORT
--- usb.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include -I/usr/include -Wall -g -I/opt/local/include -c usb.c -DHAVE_USB_SUPPORT
usb.c: In function 'USB_write_control_msg':
usb.c:153:42: warning: pointer targets in passing argument 2 of 'dump_hex' differ in signedness [-Wpointer-sign]
  153 |                         dump_hex("DATA", buffer, size);
      |                                          ^~~~~~
      |                                          |
      |                                          char *
In file included from s10sh.h:66,
                 from usb.c:32:
common.h:36:53: note: expected 'const unsigned char *' but argument is of type 'char *'
   36 | void dump_hex(const char *msg, const unsigned char *buf, int len);
      |                                ~~~~~~~~~~~~~~~~~~~~~^~~
usb.c: In function 'USB_read_control_msg':
usb.c:173:42: warning: pointer targets in passing argument 2 of 'dump_hex' differ in signedness [-Wpointer-sign]
  173 |                         dump_hex("DATA", buffer, size);
      |                                          ^~~~~~
      |                                          |
      |                                          char *
common.h:36:53: note: expected 'const unsigned char *' but argument is of type 'char *'
   36 | void dump_hex(const char *msg, const unsigned char *buf, int len);
      |                                ~~~~~~~~~~~~~~~~~~~~~^~~
usb.c: In function 'USB_cmd':
usb.c:221:44: warning: pointer targets in passing argument 2 of 'USB_write_control_msg' differ in signedness [-Wpointer-sign]
  221 |         return USB_write_control_msg(0x10, buffer, 0x50+size);
      |                                            ^~~~~~
      |                                            |
      |                                            unsigned char *
usb.c:136:44: note: expected 'char *' but argument is of type 'unsigned char *'
  136 | int USB_write_control_msg(int value, char *buffer, int size)
      |                                      ~~~~~~^~~~~~
usb.c: In function 'USB_initial_sync':
usb.c:268:43: warning: pointer targets in passing argument 2 of 'USB_read_control_msg' differ in signedness [-Wpointer-sign]
  268 |         while (USB_read_control_msg(0x55, buffer, 1) == -1);
      |                                           ^~~~~~
      |                                           |
      |                                           unsigned char *
usb.c:158:43: note: expected 'char *' but argument is of type 'unsigned char *'
  158 | int USB_read_control_msg(int value, char *buffer, int size)
      |                                     ~~~~~~^~~~~~
usb.c:269:35: warning: pointer targets in passing argument 2 of 'USB_read_control_msg' differ in signedness [-Wpointer-sign]
  269 |         USB_read_control_msg(0x1, buffer, 0x58);
      |                                   ^~~~~~
      |                                   |
      |                                   unsigned char *
usb.c:158:43: note: expected 'char *' but argument is of type 'unsigned char *'
  158 | int USB_read_control_msg(int value, char *buffer, int size)
      |                                     ~~~~~~^~~~~~
usb.c:270:43: warning: pointer targets in passing argument 2 of 'USB_write_control_msg' differ in signedness [-Wpointer-sign]
  270 |         USB_write_control_msg(0x11, buffer+0x48, 0x10);
      |                                     ~~~~~~^~~~~
      |                                           |
      |                                           unsigned char *
usb.c:136:44: note: expected 'char *' but argument is of type 'unsigned char *'
  136 | int USB_write_control_msg(int value, char *buffer, int size)
      |                                      ~~~~~~^~~~~~
usb.c: In function 'USB_get_disk_info':
usb.c:364:42: warning: pointer targets in passing argument 5 of 'USB_cmd' differ in signedness [-Wpointer-sign]
  364 |         USB_cmd(0x09, 0x11, 0x201, 0x01, diskstr, 4);
      |                                          ^~~~~~~
      |                                          |
      |                                          char *
usb.c:204:108: note: expected 'unsigned char *' but argument is of type 'char *'
  204 | int USB_cmd(unsigned char cmd1, unsigned char cmd2, unsigned int cmd3, unsigned int serial, unsigned char *payload, int size)
      |                                                                                             ~~~~~~~~~~~~~~~^~~~~~~
usb.c: In function 'USB_mkdir':
usb.c:398:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
  398 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                          ^~~
      |                          |
      |                          unsigned char *
In file included from /usr/include/stdio.h:151,
                 from usb.c:17:
/usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |                     ^
--- main.o ---
In file included from main.c:577:
bytesex.h:6:10: fatal error: sys/endian.h: No such file or directory
    6 | #include <sys/endian.h>
      |          ^~~~~~~~~~~~~~
--- usb.o ---
usb.c:399:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  399 |                 pathname = arg;
      |                          ^
--- main.o ---
compilation terminated.
--- usb.o ---
usb.c:402:41: warning: pointer targets in passing argument 5 of 'USB_cmd' differ in signedness [-Wpointer-sign]
  402 |         USB_cmd(0x5, 0x11, 0x201, 0x01, pathname, strlen(pathname)+1);
      |                                         ^~~~~~~~
      |                                         |
      |                                         char *
usb.c:204:108: note: expected 'unsigned char *' but argument is of type 'char *'
  204 | int USB_cmd(unsigned char cmd1, unsigned char cmd2, unsigned int cmd3, unsigned int serial, unsigned char *payload, int size)
      |                                                                                             ~~~~~~~~~~~~~~~^~~~~~~
usb.c: In function 'USB_rmdir':
usb.c:416:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
  416 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                          ^~~
      |                          |
      |                          unsigned char *
/usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
      |                     ^
usb.c:417:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  417 |                 pathname = arg;
      |                          ^
usb.c:420:41: warning: pointer targets in passing argument 5 of 'USB_cmd' differ in signedness [-Wpointer-sign]
  420 |         USB_cmd(0x6, 0x11, 0x201, 0x01, pathname, strlen(pathname)+1);
      |                                         ^~~~~~~~
      |                                         |
      |                                         char *
usb.c:204:108: note: expected 'unsigned char *' but argument is of type 'char *'
  204 | int USB_cmd(unsigned char cmd1, unsigned char cmd2, unsigned int cmd3, unsigned int serial, unsigned char *payload, int size)
      |                                                                                             ~~~~~~~~~~~~~~~^~~~~~~
usb.c: In function 'USB_upload':
usb.c:526:45: warning: pointer targets in passing argument 2 of 'USB_write_control_msg' differ in signedness [-Wpointer-sign]
  526 |                 USB_write_control_msg(0x10, buffer, 0x40);
      |                                             ^~~~~~
      |                                             |
      |                                             unsigned char *
usb.c:136:44: note: expected 'char *' but argument is of type 'unsigned char *'
  136 | int USB_write_control_msg(int value, char *buffer, int size)
      |                                      ~~~~~~^~~~~~
usb.c:470:17: warning: variable 'progress_bar' set but not used [-Wunused-but-set-variable]
  470 |         int fd, progress_bar = 0;
      |                 ^~~~~~~~~~~~
--- main.o ---
*** [main.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/graphics/s10sh/work/s10sh-0.2.0
--- usb.o ---
usb.c: In function 'USB_mkdir':
usb.c:398:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  398 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                                            ^
usb.c:398:17: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
  398 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usb.c: In function 'USB_rmdir':
usb.c:416:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  416 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                                            ^
usb.c:416:17: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
  416 |                 snprintf(arg, 1024, "%s\\%s", lastpath, pathname);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usb.c: In function 'USB_upload':
usb.c:488:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  488 |                 snprintf(arg, 1024, "%s\\%s", lastpath, target);
      |                                            ^
usb.c:488:17: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
  488 |                 snprintf(arg, 1024, "%s\\%s", lastpath, target);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/graphics/s10sh/work/s10sh-0.2.0
*** Error code 2

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

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