+ 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/heyu-1.35nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heyu-1.35nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for heyu-1.35nb1
You are using a  dummy make file.
Just a moment while the configure script runs to create a valid makefile

./Configure
This script will create a valid Makefile based on the results of the uname(1) 
output.  Please stand-by a moment.
checking for siginterrupt()
Using siginterrupt()

The Makefile has been created for sunos.


Continuing with the make
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c date.c
date.c: In function 'c_date':
date.c:42:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   42 | int c_date(argc, argv)
      |     ^~~~~~
date.c:45:10: warning: variable 'today' set but not used [-Wunused-but-set-variable]
   45 |     int  today;
      |          ^~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c erase.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c info.c
info.c: In function 'c_info':
info.c:36:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   36 | int c_info(argc, argv)
      |     ^~~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c message.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c relay.c
relay.c: In function 'start_relay':
relay.c:189:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  189 |         sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
      |                 ^~~~~
      |                 |
      |                 unsigned char *
In file included from /usr/include/stdio.h:82,
                 from relay.c:41:
/usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  212 | extern int      sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...);
      |                         ^
relay.c:190:25: warning: pointer targets in passing argument 2 of 'syslog' differ in signedness [-Wpointer-sign]
  190 |         syslog(LOG_ERR, ibuff);
      |                         ^~~~~
      |                         |
      |                         unsigned char *
In file included from relay.c:46:
/usr/include/syslog.h:41:18: note: expected 'const char *' but argument is of type 'unsigned char *'
   41 | void syslog(int, const char *, ...);
      |                  ^~~~~~~~~~~~
relay.c:189:53: warning: '%s' directive writing up to 1023 bytes into a region of size 52 [-Wformat-overflow=]
  189 |         sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
      |                                                     ^~    ~~~~~~~~~
relay.c:189:9: note: 'sprintf' output between 30 and 1053 bytes into a destination of size 80
  189 |         sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c monitor.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c reset.c
reset.c: In function 'c_reset':
reset.c:25:6: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   25 | void c_reset(argc, argv)
      |      ^~~~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c setclock.c
setclock.c: In function 'c_setclock':
setclock.c:42:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   42 | int c_setclock(argc, argv)
      |     ^~~~~~~~~~
setclock.c:48:18: warning: variable 'n' set but not used [-Wunused-but-set-variable]
   48 |     unsigned int n;
      |                  ^
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c stop.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c tty.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c turn.c
turn.c: In function 'c_turn':
turn.c:36:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   36 | int c_turn(argc, argv)
      |     ^~~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c xread.c
xread.c: In function 'xread':
xread.c:96:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
   96 |     cbuf = buf;
      |          ^
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c xwrite.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c status.c
status.c: In function 'get_status':
status.c:68:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
   68 |         if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 ))
      |                                                  ^~~
      |                                                  |
      |                                                  unsigned char *
In file included from /usr/include/string.h:34,
                 from /usr/include/strings.h:36,
                 from status.c:21:
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *'
   81 | extern int strncmp(const char *, const char *, size_t);
      |                    ^~~~~~~~~~~~
status.c:68:55: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
   68 |         if( buf[0] == 0x5a || n == 0 || (strncmp(buf, powerfail,n) == 0 ))
      |                                                       ^~~~~~~~~
      |                                                       |
      |                                                       unsigned char *
/usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'unsigned char *'
   81 | extern int strncmp(const char *, const char *, size_t);
      |                                  ^~~~~~~~~~~~
status.c:70:35: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
   70 |             if( n > 0 && (strncmp(buf, powerfail,n) == 0) )
      |                                   ^~~
      |                                   |
      |                                   unsigned char *
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *'
   81 | extern int strncmp(const char *, const char *, size_t);
      |                    ^~~~~~~~~~~~
status.c:70:40: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
   70 |             if( n > 0 && (strncmp(buf, powerfail,n) == 0) )
      |                                        ^~~~~~~~~
      |                                        |
      |                                        unsigned char *
/usr/include/iso/string_iso.h:81:34: note: expected 'const char *' but argument is of type 'unsigned char *'
   81 | extern int strncmp(const char *, const char *, size_t);
      |                                  ^~~~~~~~~~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c cm11a.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c eeprom.c
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c preset.c
preset.c: In function 'c_preset':
preset.c:49:5: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   49 | int c_preset(argc, argv)
      |     ^~~~~~~~
preset.c:53:40: warning: variable 'bits' set but not used [-Wunused-but-set-variable]
   53 |     unsigned int hcode, unit, unitx10, bits;
      |                                        ^~~~
gcc -g -O -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT -Wall  -c parse_sched.c
parse_sched.c:76:49: error: 'wait' redeclared as different kind of symbol
   76 | enum ecmd {dummy, dummy1, on, off, dim, bright, wait};
      |                                                 ^~~~
In file included from /usr/include/stdlib.h:46,
                 from parse_sched.c:27:
/usr/include/sys/wait.h:98:14: note: previous declaration of 'wait' with type 'pid_t(int *)' {aka 'int(int *)'}
   98 | extern pid_t wait(int *);
      |              ^~~~
parse_sched.c: In function 'validate_sched':
parse_sched.c:284:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  284 |         inbuf[161] =(char) NULL;  /* make sure the string is NULL terminated*/
      |                     ^
parse_sched.c:495:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  495 |                 macro_label[31] = (char)NULL;  /* make sure it's terminated */
      |                                   ^
parse_sched.c:557:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  557 |                 while( *ptmp != (char) NULL )
      |                                 ^
parse_sched.c:710:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  710 |         if( macro_xref[x].label[0] == (char)NULL ) /* no label = end of macros*/
      |                                       ^
parse_sched.c: In function 'find_all_macros':
parse_sched.c:918:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  918 |         inbuf[80] =(char) NULL;  /* make sure the string is NULL terminated*/
      |                    ^
parse_sched.c:948:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  948 |         type[9] = (char) NULL;
      |                   ^
parse_sched.c:949:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  949 |         label[31] = (char) NULL;
      |                     ^
parse_sched.c: In function 'storedmacro':
parse_sched.c:985:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  985 |     if( macroxref[0] == (char) NULL)
      |                         ^
parse_sched.c:1002:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1002 |         line[sizeof(line) -1] = (char) NULL;
      |                                 ^
parse_sched.c:1019:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1019 |         label[sizeof(label) -1] = (char)NULL;
      |                                   ^
*** [parse_sched.o] Error code 1

make[1]: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
1 error

make[1]: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
1 error

bmake: stopped in /home/pbulk/build/misc/heyu/work/heyu.dir
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/heyu
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/misc/heyu