+ 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/ii-1.8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ii-1.8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ii-1.8 --- ii.o --- --- strlcpy.o --- --- ii.o --- cc -c -o ii.o ii.c -pipe -O2 -I. -I/usr/include -DVERSION=\"1.8\" -std=c99 -D_DEFAULT_SOURCE --- strlcpy.o --- cc -c -o strlcpy.o strlcpy.c -pipe -O2 -I. -I/usr/include -DVERSION=\"1.8\" -std=c99 -D_DEFAULT_SOURCE --- ii.o --- ii.c:40:14: error: 'PATH_MAX' undeclared here (not in a function) char inpath[PATH_MAX]; /* input path */ ^ ii.c: In function 'channel_open': ii.c:198:2: warning: implicit declaration of function 'lstat' [-Wimplicit-function-declaration] if (lstat(c->inpath, &st) != -1) { ^ ii.c:199:22: error: 'S_IFIFO' undeclared (first use in this function) if (!(st.st_mode & S_IFIFO)) ^ ii.c:199:22: note: each undeclared identifier is reported only once for each function it appears in ii.c: In function 'tcpopen': ii.c:365:18: error: storage size of 'hints' isn't known struct addrinfo hints, *res = NULL, *rp; ^ ii.c:370:19: error: 'AI_NUMERICSERV' undeclared (first use in this function) hints.ai_flags = AI_NUMERICSERV; /* avoid name lookup for port */ ^ ii.c:373:2: warning: implicit declaration of function 'getaddrinfo' [-Wimplicit-function-declaration] if ((e = getaddrinfo(host, service, &hints, &res))) { ^ ii.c:374:3: warning: implicit declaration of function 'gai_strerror' [-Wimplicit-function-declaration] fprintf(stderr, "%s: getaddrinfo: %s\n", argv0, gai_strerror(e)); ^ ii.c:378:28: error: dereferencing pointer to incomplete type for (rp = res; rp; rp = rp->ai_next) { ^ ii.c:379:18: error: dereferencing pointer to incomplete type fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); ^ ii.c:379:34: error: dereferencing pointer to incomplete type fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); ^ ii.c:379:52: error: dereferencing pointer to incomplete type fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); ^ ii.c:382:22: error: dereferencing pointer to incomplete type if (connect(fd, res->ai_addr, res->ai_addrlen) == -1) { ^ ii.c:382:36: error: dereferencing pointer to incomplete type if (connect(fd, res->ai_addr, res->ai_addrlen) == -1) { ^ ii.c:395:2: warning: implicit declaration of function 'freeaddrinfo' [-Wimplicit-function-declaration] freeaddrinfo(res); ^ ii.c: In function 'setup': ii.c:715:19: error: storage size of 'sa' isn't known struct sigaction sa; ^ ii.c:719:2: warning: implicit declaration of function 'sigaction' [-Wimplicit-function-declaration] sigaction(SIGTERM, &sa, NULL); ^ *** [ii.o] Error code 1 bmake: stopped in /home/pbulk/build/chat/ii/work/ii-1.8 1 error bmake: stopped in /home/pbulk/build/chat/ii/work/ii-1.8 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/ii *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/ii