+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heyu-1.35nb1/work.log
+ su pbulk -c '"$@"' make /usr/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
--- all ---
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 linux.


Continuing with the make
--- date.o ---
--- erase.o ---
--- date.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c date.c
--- erase.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c erase.c
--- date.o ---
date.c: In function 'c_date':
date.c:45:10: warning: variable 'today' set but not used [-Wunused-but-set-variable]
     int  today;
          ^
--- info.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c info.c
--- message.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c message.c
--- relay.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c relay.c
--- monitor.o ---
--- relay.o ---
relay.c: In function 'start_relay':
relay.c:189:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  sprintf(ibuff, "Trouble creating spoolfile (%s)", spoolfile);
  ^
In file included from /usr/include/features.h:375:0,
                 from /usr/include/stdio.h:27,
                 from relay.c:41:
/usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
relay.c:190:9: warning: pointer targets in passing argument 2 of 'syslog' differ in signedness [-Wpointer-sign]
         syslog(LOG_ERR, ibuff);
         ^
In file included from /usr/include/sys/syslog.h:207:0,
                 from /usr/include/syslog.h:1,
                 from relay.c:46:
/usr/include/bits/syslog.h:29:1: note: expected 'const char *' but argument is of type 'unsigned char *'
 syslog (int __pri, const char *__fmt, ...)
 ^
relay.c:268:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       read(tty, ibuff, 1); /* throw away the unused checksum */
           ^
relay.c:316:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(outfd,ibuff, 1);
        ^
relay.c:352:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
       write(tty,ibuff, 1);
            ^
relay.c:376:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
        write(outfd,ibuff, 1); /* write the number of
             ^
relay.c:389:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
         write(outfd,ibuff, count );
              ^
relay.c:398:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
--- monitor.o ---
gcc -g -O -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -Wall  -c monitor.c
--- relay.o ---
    write(outfd,ibuff, count);
         ^
relay.c:434:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
       read(tty, ibuff, 1); /* throw away the unused checksum */
           ^
--- monitor.o ---
In file included from /usr/include/fcntl.h:306:0,
                 from monitor.c:56:
/usr/include/bits/fcntl2.h: In function 'c_monitor':
/usr/include/bits/fcntl2.h:41:1: error: nested function 'open' declared 'extern'
 open (const char *__path, int __oflag, ...)
 ^
/usr/include/bits/fcntl2.h:41:1: error: static declaration of 'open' follows non-static declaration
In file included from monitor.c:56:0:
/usr/include/fcntl.h:173:12: note: previous declaration of 'open' was here
 extern int open (const char *__file, int __oflag, ...) __nonnull ((1));
            ^
In file included from /usr/include/fcntl.h:306:0,
                 from monitor.c:56:
/usr/include/bits/fcntl2.h:117:1: error: nested function 'openat' declared 'extern'
 openat (int __fd, const char *__path, int __oflag, ...)
 ^
/usr/include/bits/fcntl2.h:117:1: error: static declaration of 'openat' follows non-static declaration
In file included from monitor.c:56:0:
/usr/include/fcntl.h:197:12: note: previous declaration of 'openat' was here
 extern int openat (int __fd, const char *__file, int __oflag, ...)
            ^
*** [monitor.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-el7-trunk-x86_64/misc/heyu
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/misc/heyu