+ 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/sj3-client-2.0.1.23p1nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sj3-client-2.0.1.23p1nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for sj3-client-2.0.1.23p1nb1 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in include --- all-recursive --- Making all in sj3common Making all in sj3compat Making all in sj3core Making all in sj3lua Making all in sj3lib Making all in doc --- all-recursive --- Making all in man Making all in doc Making all in lib --- all-recursive --- Making all in sj3compat --- bsd-asprintf.lo --- --- bsd-getpeereid.lo --- --- bsd-misc.lo --- --- bsd-snprintf.lo --- --- daemon.lo --- --- fake-rfc2553.lo --- --- getopt.lo --- --- inet_ntoa.lo --- --- bsd-snprintf.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-snprintf.lo -MD -MP -MF ".deps/bsd-snprintf.Tpo" -c -o bsd-snprintf.lo bsd-snprintf.c; then mv -f ".deps/bsd-snprintf.Tpo" ".deps/bsd-snprintf.Plo"; else rm -f ".deps/bsd-snprintf.Tpo"; exit 1; fi --- daemon.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT daemon.lo -MD -MP -MF ".deps/daemon.Tpo" -c -o daemon.lo daemon.c; then mv -f ".deps/daemon.Tpo" ".deps/daemon.Plo"; else rm -f ".deps/daemon.Tpo"; exit 1; fi --- fake-rfc2553.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT fake-rfc2553.lo -MD -MP -MF ".deps/fake-rfc2553.Tpo" -c -o fake-rfc2553.lo fake-rfc2553.c; then mv -f ".deps/fake-rfc2553.Tpo" ".deps/fake-rfc2553.Plo"; else rm -f ".deps/fake-rfc2553.Tpo"; exit 1; fi --- bsd-asprintf.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-asprintf.lo -MD -MP -MF ".deps/bsd-asprintf.Tpo" -c -o bsd-asprintf.lo bsd-asprintf.c; then mv -f ".deps/bsd-asprintf.Tpo" ".deps/bsd-asprintf.Plo"; else rm -f ".deps/bsd-asprintf.Tpo"; exit 1; fi --- bsd-getpeereid.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-getpeereid.lo -MD -MP -MF ".deps/bsd-getpeereid.Tpo" -c -o bsd-getpeereid.lo bsd-getpeereid.c; then mv -f ".deps/bsd-getpeereid.Tpo" ".deps/bsd-getpeereid.Plo"; else rm -f ".deps/bsd-getpeereid.Tpo"; exit 1; fi --- bsd-misc.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-misc.lo -MD -MP -MF ".deps/bsd-misc.Tpo" -c -o bsd-misc.lo bsd-misc.c; then mv -f ".deps/bsd-misc.Tpo" ".deps/bsd-misc.Plo"; else rm -f ".deps/bsd-misc.Tpo"; exit 1; fi --- inet_ntoa.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT inet_ntoa.lo -MD -MP -MF ".deps/inet_ntoa.Tpo" -c -o inet_ntoa.lo inet_ntoa.c; then mv -f ".deps/inet_ntoa.Tpo" ".deps/inet_ntoa.Plo"; else rm -f ".deps/inet_ntoa.Tpo"; exit 1; fi --- getopt.lo --- if /usr/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT getopt.lo -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.lo getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Plo"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- bsd-getpeereid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-getpeereid.lo -MD -MP -MF .deps/bsd-getpeereid.Tpo -c bsd-getpeereid.c -fPIC -DPIC -o .libs/bsd-getpeereid.o --- daemon.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c daemon.c -fPIC -DPIC -o .libs/daemon.o --- bsd-asprintf.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-asprintf.lo -MD -MP -MF .deps/bsd-asprintf.Tpo -c bsd-asprintf.c -fPIC -DPIC -o .libs/bsd-asprintf.o --- bsd-misc.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-misc.lo -MD -MP -MF .deps/bsd-misc.Tpo -c bsd-misc.c -fPIC -DPIC -o .libs/bsd-misc.o --- inet_ntoa.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT inet_ntoa.lo -MD -MP -MF .deps/inet_ntoa.Tpo -c inet_ntoa.c -fPIC -DPIC -o .libs/inet_ntoa.o --- getopt.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -fPIC -DPIC -o .libs/getopt.o --- fake-rfc2553.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT fake-rfc2553.lo -MD -MP -MF .deps/fake-rfc2553.Tpo -c fake-rfc2553.c -fPIC -DPIC -o .libs/fake-rfc2553.o --- bsd-snprintf.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-snprintf.lo -MD -MP -MF .deps/bsd-snprintf.Tpo -c bsd-snprintf.c -fPIC -DPIC -o .libs/bsd-snprintf.o --- daemon.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c daemon.c -o daemon.o >/dev/null 2>&1 --- fake-rfc2553.lo --- fake-rfc2553.c: In function 'getnameinfo': fake-rfc2553.c:57:12: error: 'EAI_MEMORY' undeclared (first use in this function); did you mean 'HAVE_MEMORY_H'? 57 | return (EAI_MEMORY); | ^~~~~~~~~~ | HAVE_MEMORY_H fake-rfc2553.c:57:12: note: each undeclared identifier is reported only once for each function it appears in fake-rfc2553.c:61:15: error: 'NI_NUMERICHOST' undeclared (first use in this function) 61 | if (flags & NI_NUMERICHOST) { | ^~~~~~~~~~~~~~ fake-rfc2553.c:68:9: warning: implicit declaration of function 'gethostbyaddr' [-Wimplicit-function-declaration] 68 | hp = gethostbyaddr((char *)&sin->sin_addr, | ^~~~~~~~~~~~~ fake-rfc2553.c:68:7: warning: assignment to 'struct hostent *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 68 | hp = gethostbyaddr((char *)&sin->sin_addr, | ^ fake-rfc2553.c:71:13: error: 'EAI_NODATA' undeclared (first use in this function) 71 | return (EAI_NODATA); | ^~~~~~~~~~ fake-rfc2553.c:73:24: error: invalid use of undefined type 'struct hostent' 73 | if (strlcpy(host, hp->h_name, hostlen) >= hostlen) | ^~ fake-rfc2553.c: In function 'gai_strerror': fake-rfc2553.c:92:7: error: 'EAI_NODATA' undeclared (first use in this function) 92 | case EAI_NODATA: | ^~~~~~~~~~ fake-rfc2553.c:94:7: error: 'EAI_MEMORY' undeclared (first use in this function); did you mean 'HAVE_MEMORY_H'? 94 | case EAI_MEMORY: | ^~~~~~~~~~ | HAVE_MEMORY_H fake-rfc2553.c:96:7: error: 'EAI_NONAME' undeclared (first use in this function) 96 | case EAI_NONAME: | ^~~~~~~~~~ fake-rfc2553.c: At top level: fake-rfc2553.c:106:21: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration 106 | freeaddrinfo(struct addrinfo *ai) | ^~~~~~~~ fake-rfc2553.c: In function 'freeaddrinfo': fake-rfc2553.c:111:12: error: invalid use of undefined type 'struct addrinfo' 111 | next = ai->ai_next; | ^~ fake-rfc2553.c: In function 'malloc_ai': fake-rfc2553.c:124:20: error: invalid application of 'sizeof' to incomplete type 'struct addrinfo' 124 | ai = malloc(sizeof(*ai) + sizeof(struct sockaddr_in)); | ^ fake-rfc2553.c:128:25: error: invalid application of 'sizeof' to incomplete type 'struct addrinfo' 128 | memset(ai, '\0', sizeof(*ai) + sizeof(struct sockaddr_in)); | ^ fake-rfc2553.c:130:4: error: invalid use of undefined type 'struct addrinfo' 130 | ai->ai_addr = (struct sockaddr *)(ai + 1); | ^~ fake-rfc2553.c:130:39: error: invalid use of undefined type 'struct addrinfo' 130 | ai->ai_addr = (struct sockaddr *)(ai + 1); | ^ fake-rfc2553.c:132:4: error: invalid use of undefined type 'struct addrinfo' 132 | ai->ai_addrlen = sizeof(struct sockaddr_in); | ^~ fake-rfc2553.c:133:4: error: invalid use of undefined type 'struct addrinfo' 133 | ai->ai_addr->sa_family = ai->ai_family = AF_INET; | ^~ fake-rfc2553.c:133:29: error: invalid use of undefined type 'struct addrinfo' 133 | ai->ai_addr->sa_family = ai->ai_family = AF_INET; | ^~ fake-rfc2553.c:135:29: error: invalid use of undefined type 'struct addrinfo' 135 | ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; | ^~ fake-rfc2553.c:136:29: error: invalid use of undefined type 'struct addrinfo' 136 | ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; | ^~ fake-rfc2553.c:139:11: error: invalid use of undefined type 'const struct addrinfo' 139 | if (hints->ai_socktype) | ^~ fake-rfc2553.c:140:5: error: invalid use of undefined type 'struct addrinfo' 140 | ai->ai_socktype = hints->ai_socktype; | ^~ fake-rfc2553.c:140:26: error: invalid use of undefined type 'const struct addrinfo' 140 | ai->ai_socktype = hints->ai_socktype; | ^~ fake-rfc2553.c:142:5: error: invalid use of undefined type 'struct addrinfo' 142 | ai->ai_socktype = SOCK_STREAM; | ^~ fake-rfc2553.c:144:11: error: invalid use of undefined type 'const struct addrinfo' 144 | if (hints->ai_protocol) | ^~ fake-rfc2553.c:145:5: error: invalid use of undefined type 'struct addrinfo' 145 | ai->ai_protocol = hints->ai_protocol; | ^~ fake-rfc2553.c:145:26: error: invalid use of undefined type 'const struct addrinfo' 145 | ai->ai_protocol = hints->ai_protocol; | ^~ --- inet_ntoa.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT inet_ntoa.lo -MD -MP -MF .deps/inet_ntoa.Tpo -c inet_ntoa.c -o inet_ntoa.o >/dev/null 2>&1 --- fake-rfc2553.lo --- fake-rfc2553.c: In function 'getaddrinfo': fake-rfc2553.c:168:18: warning: implicit declaration of function 'getservbyname'; did you mean 'getsockname'? [-Wimplicit-function-declaration] 168 | else if ((sp = getservbyname(servname, NULL)) != NULL) | ^~~~~~~~~~~~~ | getsockname fake-rfc2553.c:168:16: warning: assignment to 'struct servent *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 168 | else if ((sp = getservbyname(servname, NULL)) != NULL) | ^ fake-rfc2553.c:169:13: error: invalid use of undefined type 'struct servent' 169 | port = sp->s_port; | ^~ fake-rfc2553.c:174:20: error: invalid use of undefined type 'const struct addrinfo' 174 | if (hints && hints->ai_flags & AI_PASSIVE) { | ^~ fake-rfc2553.c:174:33: error: 'AI_PASSIVE' undeclared (first use in this function) 174 | if (hints && hints->ai_flags & AI_PASSIVE) { | ^~~~~~~~~~ --- bsd-asprintf.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-asprintf.lo -MD -MP -MF .deps/bsd-asprintf.Tpo -c bsd-asprintf.c -o bsd-asprintf.o >/dev/null 2>&1 --- fake-rfc2553.lo --- fake-rfc2553.c:180:12: error: 'EAI_MEMORY' undeclared (first use in this function); did you mean 'HAVE_MEMORY_H'? 180 | return (EAI_MEMORY); | ^~~~~~~~~~ | HAVE_MEMORY_H fake-rfc2553.c:199:20: error: invalid use of undefined type 'const struct addrinfo' 199 | if (hints && hints->ai_flags & AI_NUMERICHOST) | ^~ fake-rfc2553.c:199:33: error: 'AI_NUMERICHOST' undeclared (first use in this function) 199 | if (hints && hints->ai_flags & AI_NUMERICHOST) | ^~~~~~~~~~~~~~ fake-rfc2553.c:200:11: error: 'EAI_NONAME' undeclared (first use in this function) 200 | return (EAI_NONAME); | ^~~~~~~~~~ fake-rfc2553.c:202:7: warning: implicit declaration of function 'gethostbyname'; did you mean 'getsockname'? [-Wimplicit-function-declaration] 202 | hp = gethostbyname(hostname); | ^~~~~~~~~~~~~ | getsockname fake-rfc2553.c:202:5: warning: assignment to 'struct hostent *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 202 | hp = gethostbyname(hostname); | ^ fake-rfc2553.c:203:14: error: invalid use of undefined type 'struct hostent' 203 | if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { | ^~ fake-rfc2553.c:203:28: error: invalid use of undefined type 'struct hostent' 203 | if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { | ^~ fake-rfc2553.c:203:45: error: invalid use of undefined type 'struct hostent' 203 | if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { | ^~ fake-rfc2553.c:207:17: error: invalid use of undefined type 'struct hostent' 207 | for (i = 0; hp->h_addr_list[i]; i++) { | ^~ fake-rfc2553.c:208:45: error: invalid use of undefined type 'struct hostent' 208 | struct in_addr *in = (struct in_addr *)hp->h_addr_list[i]; | ^~ fake-rfc2553.c:213:19: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] 213 | freeaddrinfo(*res); | ^~~~ | | | struct addrinfo * fake-rfc2553.c:106:31: note: expected 'struct addrinfo *' but argument is of type 'struct addrinfo *' 106 | freeaddrinfo(struct addrinfo *ai) | ~~~~~~~~~~~~~~~~~^~ fake-rfc2553.c:217:9: error: invalid use of undefined type 'struct addrinfo' 217 | prev->ai_next = cur; | ^~ fake-rfc2553.c:226:10: error: 'EAI_NODATA' undeclared (first use in this function) 226 | return (EAI_NODATA); | ^~~~~~~~~~ --- bsd-snprintf.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-snprintf.lo -MD -MP -MF .deps/bsd-snprintf.Tpo -c bsd-snprintf.c -o bsd-snprintf.o >/dev/null 2>&1 --- bsd-misc.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-misc.lo -MD -MP -MF .deps/bsd-misc.Tpo -c bsd-misc.c -o bsd-misc.o >/dev/null 2>&1 --- fake-rfc2553.lo --- *** [fake-rfc2553.lo] Error code 1 bmake[3]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1/lib/sj3compat --- bsd-getpeereid.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT bsd-getpeereid.lo -MD -MP -MF .deps/bsd-getpeereid.Tpo -c bsd-getpeereid.c -o bsd-getpeereid.o >/dev/null 2>&1 --- getopt.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/sj3compat -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -MT getopt.lo -MD -MP -MF .deps/getopt.Tpo -c getopt.c -o getopt.o >/dev/null 2>&1 1 error bmake[3]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1/lib/sj3compat *** [all-recursive] Error code 1 bmake[2]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1/lib 1 error bmake[2]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1/lib *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1 1 error bmake[1]: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1 1 error bmake: stopped in /home/pbulk/build/inputmethod/sj3-client/work/sj3-2.0.1.23p1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/sj3-client *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/inputmethod/sj3-client