+ 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 --- --- socket.o --- --- 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 --- siglist.o --- --- socket.o --- socket.c: In function 'server': socket.c:281:57: 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: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * 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 siglist.c: In function 'initialize_siglist': siglist.c:50:20: error: assignment of read-only location 'sys_siglist[i]' sys_siglist[i] = (char *)0x0; ^ siglist.c:52:18: error: assignment of read-only location 'sys_siglist[0]' sys_siglist[0] = "Bogus signal"; ^ siglist.c:55:23: error: assignment of read-only location 'sys_siglist[1]' sys_siglist[SIGHUP] = "Hangup signal"; ^ siglist.c:59:23: error: assignment of read-only location 'sys_siglist[2]' sys_siglist[SIGINT] = "Interrupt"; ^ siglist.c:63:24: error: assignment of read-only location 'sys_siglist[3]' sys_siglist[SIGQUIT] = "Quit signal"; ^ siglist.c:67:23: error: assignment of read-only location 'sys_siglist[4]' sys_siglist[SIGILL] = "Illegal instruction"; ^ siglist.c:71:24: error: assignment of read-only location 'sys_siglist[5]' sys_siglist[SIGTRAP] = "BPT trace/trap"; ^ siglist.c:79:24: error: assignment of read-only location 'sys_siglist[6]' sys_siglist[SIGABRT] = "ABORT instruction"; ^ siglist.c:87:23: error: assignment of read-only location 'sys_siglist[8]' sys_siglist[SIGFPE] = "Floating point exception"; ^ siglist.c:91:24: error: assignment of read-only location 'sys_siglist[9]' sys_siglist[SIGKILL] = "Kill signal"; ^ siglist.c:95:23: error: assignment of read-only location 'sys_siglist[7]' sys_siglist[SIGBUS] = "Bus error"; ^ siglist.c:99:24: error: assignment of read-only location 'sys_siglist[11]' sys_siglist[SIGSEGV] = "Segmentation fault"; ^ siglist.c:103:23: error: assignment of read-only location 'sys_siglist[31]' sys_siglist[SIGSYS] = "Bad system call"; ^ siglist.c:107:24: error: assignment of read-only location 'sys_siglist[13]' sys_siglist[SIGPIPE] = "Broken pipe condition"; ^ siglist.c:111:24: error: assignment of read-only location 'sys_siglist[14]' sys_siglist[SIGALRM] = "Alarm clock signal"; ^ siglist.c:115:24: error: assignment of read-only location 'sys_siglist[15]' sys_siglist[SIGTERM] = "Termination signal"; ^ siglist.c:119:23: error: assignment of read-only location 'sys_siglist[23]' sys_siglist[SIGURG] = "Urgent IO condition"; ^ siglist.c:123:24: error: assignment of read-only location 'sys_siglist[19]' sys_siglist[SIGSTOP] = "Stop signal"; ^ siglist.c:127:24: error: assignment of read-only location 'sys_siglist[20]' sys_siglist[SIGTSTP] = "Stopped"; ^ siglist.c:131:24: error: assignment of read-only location 'sys_siglist[18]' sys_siglist[SIGCONT] = "Continue signal"; ^ siglist.c:139:24: error: assignment of read-only location 'sys_siglist[17]' sys_siglist[SIGCHLD] = "Child signal"; ^ siglist.c:143:24: error: assignment of read-only location 'sys_siglist[21]' sys_siglist[SIGTTIN] = "Stop (tty input) signal"; ^ siglist.c:147:24: error: assignment of read-only location 'sys_siglist[22]' sys_siglist[SIGTTOU] = "Stop (tty output) signal"; ^ siglist.c:151:22: error: assignment of read-only location 'sys_siglist[29]' sys_siglist[SIGIO] = "I/O ready signal"; ^ siglist.c:155:24: error: assignment of read-only location 'sys_siglist[24]' sys_siglist[SIGXCPU] = "CPU limit exceeded"; ^ siglist.c:159:24: error: assignment of read-only location 'sys_siglist[25]' sys_siglist[SIGXFSZ] = "File limit exceeded"; ^ siglist.c:163:26: error: assignment of read-only location 'sys_siglist[26]' sys_siglist[SIGVTALRM] = "Alarm (virtual)"; ^ siglist.c:167:24: error: assignment of read-only location 'sys_siglist[27]' sys_siglist[SIGPROF] = "Alarm (profile)"; ^ siglist.c:171:25: error: assignment of read-only location 'sys_siglist[28]' sys_siglist[SIGWINCH] = "Window change"; ^ siglist.c:179:24: error: assignment of read-only location 'sys_siglist[10]' sys_siglist[SIGUSR1] = "User signal 1"; ^ siglist.c:183:24: error: assignment of read-only location 'sys_siglist[12]' sys_siglist[SIGUSR2] = "User signal 2"; ^ siglist.c:191:23: error: assignment of read-only location 'sys_siglist[30]' sys_siglist[SIGPWR] = "power failure imminent signal"; ^ siglist.c:223:28: 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' siglist.c:223:28: note: include '<string.h>' or provide a declaration of 'strlen' siglist.c:38:1: +#include <string.h> #endif siglist.c:223:28: (char *) malloc (10 + strlen ("Unknown Signal #")); ^~~~~~ siglist.c:222:19: error: assignment of read-only location 'sys_siglist[i]' sys_siglist[i] = ^ siglist.c:225:24: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf (sys_siglist[i], "Unknown Signal #%d", i); ~~~~~~~~~~~^~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from siglist.c:24: /usr/include/bits/stdio2.h:34: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 making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 make[1]: 1 error make[1]: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 *** [+all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/sysutils/socket/work/socket-1.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/socket *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/socket