=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libdnsres-0.1anb16 /usr/bin/make all-recursive Making all in . /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_comp.lo res_comp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_comp.c -fPIC -DPIC -o .libs/res_comp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_comp.c -o res_comp.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_debug.lo res_debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o res_debug.c: In function 'precsize_aton': res_debug.c:1145:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = *strptr; ^ res_debug.c:1171:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *strptr = cp; ^ res_debug.c: In function 'latlon2ul': res_debug.c:1186:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = *latlonstrptr; ^ res_debug.c:1269:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *latlonstrptr = cp; ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_debug.c -o res_debug.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_mkquery.lo res_mkquery.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_mkquery.c -fPIC -DPIC -o .libs/res_mkquery.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_mkquery.c -o res_mkquery.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_random.lo res_random.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_random.c -fPIC -DPIC -o .libs/res_random.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_random.c -o res_random.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_data.lo res_data.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_data.c -fPIC -DPIC -o .libs/res_data.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_data.c -o res_data.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_init.lo res_init.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_init.c -fPIC -DPIC -o .libs/res_init.o res_init.c: In function 'dnsres_init': res_init.c:207:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (issetugid() == 0 && (cp = getenv("LOCALDOMAIN")) != NULL) { ^ res_init.c:208:28: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ In file included from res_init.c:100:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ res_init.c:220:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:228:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:250:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((cp = fgetln(fp, &len)) != NULL) { ^ res_init.c:257:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strpbrk(buf, ";#")) != NULL) ^ res_init.c:265:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("domain") - 1; ^ res_init.c:270:32: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ In file included from res_init.c:100:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ res_init.c:271:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strpbrk(_resp->defdname, " \t\n")) != NULL) ^ res_init.c:281:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("lookup") - 1; ^ res_init.c:299:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sp = cp; ^ res_init.c:307:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("search") - 1; ^ res_init.c:312:32: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ In file included from res_init.c:100:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ res_init.c:313:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strchr(_resp->defdname, '\n')) != NULL) ^ res_init.c:319:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = _resp->defdname; ^ res_init.c:321:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:327:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:345:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("nameserver") - 1; ^ res_init.c:362:23: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] if (getaddrinfo(cp, pbuf, &hints, &res) == 0 && ^~ In file included from res_init.c:101:0: /usr/include/netdb.h:351:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int getaddrinfo(const char * __restrict, const char * __restrict, ^~~~~~~~~~~ res_init.c:391:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("sortlist") - 1; ^ res_init.c:397:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:407:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:435:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:490:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (cp = strchr(buf, '.')) != NULL) ^ res_init.c:492:28: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp + 1, ^~ In file included from res_init.c:100:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ res_init.c:504:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cp = _resp->defdname; *cp; cp++) ^ res_init.c:507:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = _resp->defdname; ^ res_init.c:511:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^~ In file included from res_init.c:100:0: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int); ^~~~~~ res_init.c:511:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^ res_init.c:512:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:529:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((cp = getenv("RES_OPTIONS")) != NULL) ^ res_init.c:530:25: warning: pointer targets in passing argument 2 of 'res_setoptions' differ in signedness [-Wpointer-sign] res_setoptions(_resp, cp, "env"); ^~ res_init.c:135:13: note: expected 'char *' but argument is of type 'unsigned char *' static void res_setoptions(struct dnsres *, char *, char *); ^~~~~~~~~~~~~~ res_init.c: In function 'res_setoptions': res_init.c:565:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *p = cp + sizeof("ndots:") - 1; ^~ res_init.c:566:15: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] l = strtol(p, (char **)&endp, 10); ^ In file included from res_init.c:99:0: /usr/include/stdlib.h:123:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' long strtol(const char * __restrict, char ** __restrict, int); ^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_init.c -o res_init.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_query.lo res_query.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_query.c -fPIC -DPIC -o .libs/res_query.o res_query.c: In function '__dnsres_hostalias': res_query.c:586:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((cp1 = fgetln(fp, &len)) != NULL) { ^ res_query.c:594:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cp1 = buf; *cp1 && !isspace(*cp1); ++cp1) ^ res_query.c:607:18: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(abuf, cp1, sizeof(abuf)); ^~~ In file included from res_query.c:100:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_query.c -o res_query.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o res_send.lo res_send.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_send.c -fPIC -DPIC -o .libs/res_send.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c res_send.c -o res_send.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o gethostnamadr.lo gethostnamadr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c gethostnamadr.c -fPIC -DPIC -o .libs/gethostnamadr.o gethostnamadr.c: In function 'dnsres_gethostbyname2_internal': gethostnamadr.c:644:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *name = state->name; ^~~~~ gethostnamadr.c:681:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ In file included from gethostnamadr.c:93:0: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int); ^~~~~~ gethostnamadr.c:681:51: warning: pointer targets in passing argument 2 of '__dnsres_hostalias' differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ In file included from gethostnamadr.c:102:0: resolv.h:240:19: note: expected 'const char *' but argument is of type 'unsigned char *' #define hostalias __dnsres_hostalias ^ resolv.h:297:15: note: in expansion of macro 'hostalias' const char * hostalias(struct dnsres *, const char *); ^~~~~~~~~ gethostnamadr.c:681:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ gethostnamadr.c:683:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] state->name_len = strlen(cp) + 1; ^~ In file included from gethostnamadr.c:93:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *); ^~~~~~ gethostnamadr.c:684:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] state->name = strdup(cp); ^~ In file included from gethostnamadr.c:93:0: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'const unsigned char *' char *strdup(const char *); ^~~~~~ gethostnamadr.c:688:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] name = state->name; ^ gethostnamadr.c:705:23: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign] if (inet_pton(af, name, ^~~~ In file included from gethostnamadr.c:88:0: /usr/include/arpa/inet.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int inet_pton(int, const char * __restrict, ^~~~~~~~~ gethostnamadr.c:711:31: warning: pointer targets in passing argument 2 of 'dnsres_reset_state' differ in signedness [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:1: note: expected 'const char *' but argument is of type 'unsigned char *' dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^~~~~~~~~~~~~~~~~~ gethostnamadr.c:724:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if ((isxdigit(name[0]) && strchr(name, ':') != NULL) || ^~~~ In file included from gethostnamadr.c:93:0: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int); ^~~~~~ gethostnamadr.c:735:23: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign] if (inet_pton(af, name, ^~~~ In file included from gethostnamadr.c:88:0: /usr/include/arpa/inet.h:90:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int inet_pton(int, const char * __restrict, ^~~~~~~~~ gethostnamadr.c:741:31: warning: pointer targets in passing argument 2 of 'dnsres_reset_state' differ in signedness [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:1: note: expected 'const char *' but argument is of type 'unsigned char *' dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c gethostnamadr.c -o gethostnamadr.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o getaddrinfo.lo getaddrinfo.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o getservbyname.lo getservbyname.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getservbyname.c -fPIC -DPIC -o .libs/getservbyname.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getservbyname.c -o getservbyname.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o getservent.lo getservent.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getservent.c -fPIC -DPIC -o .libs/getservent.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c getservent.c -o getservent.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o base64.lo base64.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c base64.c -fPIC -DPIC -o .libs/base64.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -O2 -fPIC -mieee -Wall -DRESOLVSORT -c base64.c -o base64.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link gcc -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o libdnsres.la -rpath /usr/pkg/lib -version-info 0:1:0 res_comp.lo res_debug.lo res_mkquery.lo res_random.lo res_data.lo res_init.lo res_query.lo res_send.lo gethostnamadr.lo getaddrinfo.lo getservbyname.lo getservent.lo base64.lo libtool: link: gcc -shared -fPIC -DPIC .libs/res_comp.o .libs/res_debug.o .libs/res_mkquery.o .libs/res_random.o .libs/res_data.o .libs/res_init.o .libs/res_query.o .libs/res_send.o .libs/gethostnamadr.o .libs/getaddrinfo.o .libs/getservbyname.o .libs/getservent.o .libs/base64.o -O2 -mieee -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libdnsres.so.0" && ln -s "libdnsres.so.0.0.1" "libdnsres.so.0") libtool: link: (cd ".libs" && rm -f "libdnsres.so" && ln -s "libdnsres.so.0.0.1" "libdnsres.so") libtool: link: ar cr .libs/libdnsres.a res_comp.o res_debug.o res_mkquery.o res_random.o res_data.o res_init.o res_query.o res_send.o gethostnamadr.o getaddrinfo.o getservbyname.o getservent.o base64.o libtool: link: ranlib .libs/libdnsres.a libtool: link: ( cd ".libs" && rm -f "libdnsres.la" && ln -s "../libdnsres.la" "libdnsres.la" ) gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -c -o simple_test.o `test -f 'test/simple_test.c' || echo './'`test/simple_test.c test/simple_test.c: In function 'AddrinfoLookup_cb': test/simple_test.c:195:6: warning: variable 'res2' set but not used [-Wunused-but-set-variable] int res2; ^~~~ /bin/sh ./libtool --mode=link gcc -O2 -fPIC -mieee -I/usr/include -Wall -DRESOLVSORT -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o simple_test simple_test.o -L. -ldnsres -levent libtool: link: gcc -O2 -fPIC -mieee -Wall -DRESOLVSORT -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/simple_test simple_test.o -L. -L./.libs -ldnsres -levent -Wl,-rpath,/usr/pkg/lib