+ 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/socket-1.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/socket-1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for socket-1.1
--- +all ---
--- +all ---
--- so_release.o ---
cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O  -c so_release.c
--- socket.o ---
cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O  -c socket.c
socket.c: In function 'server':
socket.c:281:42: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
       active_socket = accept(fd, (struct sockaddr *) 0, (int *)0);
                                          ^
In file included from socket.c:11:0:
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
            ^
--- siglist.o ---
cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O  -c siglist.c
--- io.o ---
--- siglist.o ---
siglist.c: In function 'initialize_siglist':
siglist.c:50:5: error: assignment of read-only location 'sys_siglist[i]'
     sys_siglist[i] = (char *)0x0;
     ^
siglist.c:52:3: error: assignment of read-only location 'sys_siglist[0]'
   sys_siglist[0] = "Bogus signal";
   ^
siglist.c:55:3: error: assignment of read-only location 'sys_siglist[1]'
   sys_siglist[SIGHUP] = "Hangup signal";
   ^
siglist.c:59:3: error: assignment of read-only location 'sys_siglist[2]'
   sys_siglist[SIGINT] = "Interrupt";
   ^
siglist.c:63:3: error: assignment of read-only location 'sys_siglist[3]'
   sys_siglist[SIGQUIT] = "Quit signal";
   ^
siglist.c:67:3: error: assignment of read-only location 'sys_siglist[4]'
   sys_siglist[SIGILL] = "Illegal instruction";
   ^
siglist.c:71:3: error: assignment of read-only location 'sys_siglist[5]'
   sys_siglist[SIGTRAP] = "BPT trace/trap";
   ^
siglist.c:79:3: error: assignment of read-only location 'sys_siglist[6]'
   sys_siglist[SIGABRT] = "ABORT instruction";
   ^
siglist.c:87:3: error: assignment of read-only location 'sys_siglist[8]'
   sys_siglist[SIGFPE] = "Floating point exception";
   ^
siglist.c:91:3: error: assignment of read-only location 'sys_siglist[9]'
   sys_siglist[SIGKILL] = "Kill signal";
   ^
siglist.c:95:3: error: assignment of read-only location 'sys_siglist[7]'
   sys_siglist[SIGBUS] = "Bus error";
   ^
siglist.c:99:3: error: assignment of read-only location 'sys_siglist[11]'
   sys_siglist[SIGSEGV] = "Segmentation fault";
   ^
siglist.c:103:3: error: assignment of read-only location 'sys_siglist[31]'
   sys_siglist[SIGSYS] = "Bad system call";
   ^
siglist.c:107:3: error: assignment of read-only location 'sys_siglist[13]'
   sys_siglist[SIGPIPE] = "Broken pipe condition";
   ^
siglist.c:111:3: error: assignment of read-only location 'sys_siglist[14]'
   sys_siglist[SIGALRM] = "Alarm clock signal";
   ^
siglist.c:115:3: error: assignment of read-only location 'sys_siglist[15]'
   sys_siglist[SIGTERM] = "Termination signal";
   ^
siglist.c:119:3: error: assignment of read-only location 'sys_siglist[23]'
   sys_siglist[SIGURG] = "Urgent IO condition";
   ^
siglist.c:123:3: error: assignment of read-only location 'sys_siglist[19]'
   sys_siglist[SIGSTOP] = "Stop signal";
   ^
siglist.c:127:3: error: assignment of read-only location 'sys_siglist[20]'
   sys_siglist[SIGTSTP] = "Stopped";
   ^
siglist.c:131:3: error: assignment of read-only location 'sys_siglist[18]'
   sys_siglist[SIGCONT] = "Continue signal";
   ^
siglist.c:139:3: error: assignment of read-only location 'sys_siglist[17]'
   sys_siglist[SIGCHLD] = "Child signal";
   ^
siglist.c:143:3: error: assignment of read-only location 'sys_siglist[21]'
   sys_siglist[SIGTTIN] = "Stop (tty input) signal";
   ^
siglist.c:147:3: error: assignment of read-only location 'sys_siglist[22]'
   sys_siglist[SIGTTOU] = "Stop (tty output) signal";
   ^
siglist.c:151:3: error: assignment of read-only location 'sys_siglist[29]'
   sys_siglist[SIGIO] = "I/O ready signal";
   ^
siglist.c:155:3: error: assignment of read-only location 'sys_siglist[24]'
   sys_siglist[SIGXCPU] = "CPU limit exceeded";
   ^
siglist.c:159:3: error: assignment of read-only location 'sys_siglist[25]'
   sys_siglist[SIGXFSZ] = "File limit exceeded";
   ^
siglist.c:163:3: error: assignment of read-only location 'sys_siglist[26]'
   sys_siglist[SIGVTALRM] = "Alarm (virtual)";
   ^
siglist.c:167:3: error: assignment of read-only location 'sys_siglist[27]'
   sys_siglist[SIGPROF] = "Alarm (profile)";
   ^
siglist.c:171:3: error: assignment of read-only location 'sys_siglist[28]'
   sys_siglist[SIGWINCH] = "Window change";
   ^
siglist.c:179:3: error: assignment of read-only location 'sys_siglist[10]'
   sys_siglist[SIGUSR1] = "User signal 1";
   ^
siglist.c:183:3: error: assignment of read-only location 'sys_siglist[12]'
   sys_siglist[SIGUSR2] = "User signal 2";
   ^
siglist.c:191:3: error: assignment of read-only location 'sys_siglist[30]'
   sys_siglist[SIGPWR] = "power failure imminent signal";
   ^
siglist.c:223:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
      (char *) malloc (10 + strlen ("Unknown Signal #"));
      ^
siglist.c:223:28: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
      (char *) malloc (10 + strlen ("Unknown Signal #"));
                            ^
siglist.c:223:6: error: assignment of read-only location 'sys_siglist[i]'
      (char *) malloc (10 + strlen ("Unknown Signal #"));
      ^
siglist.c:225:4: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [enabled by default]
    sprintf (sys_siglist[i], "Unknown Signal #%d", i);
    ^
In file included from /usr/include/features.h:375:0,
                 from /usr/include/stdio.h:27,
                 from siglist.c:24:
/usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'const char * const'
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
*** [siglist.o] Error code 1

make[1]: stopped in /home/pbulk/build/sysutils/socket/work/socket-1.1
--- io.o ---
cc -DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall -O  -c io.c
1 error

make[1]: stopped in /home/pbulk/build/sysutils/socket/work/socket-1.1
*** [+all] Error code 2

bmake: stopped in /home/pbulk/build/sysutils/socket/work/socket-1.1
1 error

bmake: stopped in /home/pbulk/build/sysutils/socket/work/socket-1.1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/socket
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/socket