+ 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/libdnsres-0.1anb13/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libdnsres-0.1anb13/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for libdnsres-0.1anb13
/usr/pkg/bin/bmake  all-recursive
Making all in .
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_comp.lo res_comp.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_comp.c  -fPIC -DPIC -o .libs/res_comp.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_comp.c:58:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_comp.c -o res_comp.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_debug.lo res_debug.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_debug.c  -fPIC -DPIC -o .libs/res_debug.o
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from res_debug.c:76:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-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:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_debug.c -o res_debug.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_mkquery.lo res_mkquery.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c  -fPIC -DPIC -o .libs/res_mkquery.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_mkquery.c:84:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c -o res_mkquery.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_random.lo res_random.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_random.c  -fPIC -DPIC -o .libs/res_random.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_random.c:57:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_random.c -o res_random.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_data.lo res_data.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_data.c  -fPIC -DPIC -o .libs/res_data.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_data.c:54:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_data.c -o res_data.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_init.lo res_init.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_init.c  -fPIC -DPIC -o .libs/res_init.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_init.c:88:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-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:3: 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:105:0:
resolv.h:362:10: note: expected 'const char *' but argument is of type 'unsigned char *'
 size_t   strlcpy(char *dst, const char *src, size_t size);
          ^
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:7: 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:105:0:
resolv.h:362:10: note: expected 'const char *' but argument is of type 'unsigned char *'
 size_t   strlcpy(char *dst, const char *src, size_t size);
          ^
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:7: 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:105:0:
resolv.h:362:10: note: expected 'const char *' but argument is of type 'unsigned char *'
 size_t   strlcpy(char *dst, const char *src, size_t size);
          ^
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:7: 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:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
 extern int getaddrinfo (const char *__restrict __name,
            ^
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:493:11: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign]
           sizeof(_resp->defdname));
           ^
In file included from res_init.c:105:0:
resolv.h:362:10: note: expected 'const char *' but argument is of type 'unsigned char *'
 size_t   strlcpy(char *dst, const char *src, size_t size);
          ^
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:4: 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:232:14: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern char *strchr (const char *__s, int __c)
              ^
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:3: 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:4: 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:183:17: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
 extern long int strtol (const char *__restrict __nptr,
                 ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_init.c -o res_init.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_query.lo res_query.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_query.c  -fPIC -DPIC -o .libs/res_query.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_query.c:88:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-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:4: 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:106:0:
resolv.h:362:10: note: expected 'const char *' but argument is of type 'unsigned char *'
 size_t   strlcpy(char *dst, const char *src, size_t size);
          ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_query.c -o res_query.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o res_send.lo res_send.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_send.c  -fPIC -DPIC -o .libs/res_send.o
In file included from /usr/include/sys/types.h:25:0,
                 from res_send.c:95:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c res_send.c -o res_send.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o gethostnamadr.lo gethostnamadr.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c  -fPIC -DPIC -o .libs/gethostnamadr.o
In file included from /usr/include/sys/types.h:25:0,
                 from /usr/include/sys/param.h:25,
                 from gethostnamadr.c:84:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-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:2: 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:232:14: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern char *strchr (const char *__s, int __c)
              ^
gethostnamadr.c:681:2: 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:3: 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:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern size_t strlen (const char *__s)
               ^
gethostnamadr.c:684:3: 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:172:14: note: expected 'const char *' but argument is of type 'const unsigned char *'
 extern char *strdup (const char *__s)
              ^
gethostnamadr.c:688:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   name = state->name;
        ^
gethostnamadr.c:706:6: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign]
      state->host_addr) <= 0) {
      ^
In file included from gethostnamadr.c:88:0:
/usr/include/arpa/inet.h:58:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
 extern int inet_pton (int __af, const char *__restrict __cp,
            ^
gethostnamadr.c:711:5: 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:2: 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:232:14: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern char *strchr (const char *__s, int __c)
              ^
gethostnamadr.c:736:6: warning: pointer targets in passing argument 2 of 'inet_pton' differ in signedness [-Wpointer-sign]
      state->host_addr) <= 0) {
      ^
In file included from gethostnamadr.c:88:0:
/usr/include/arpa/inet.h:58:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
 extern int inet_pton (int __af, const char *__restrict __cp,
            ^
gethostnamadr.c:741:5: 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:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c -o gethostnamadr.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o getaddrinfo.lo getaddrinfo.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c  -fPIC -DPIC -o .libs/getaddrinfo.o
In file included from /usr/include/sys/types.h:25:0,
                 from getaddrinfo.c:113:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o getservbyname.lo getservbyname.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getservbyname.c  -fPIC -DPIC -o .libs/getservbyname.o
In file included from /usr/include/sys/types.h:25:0,
                 from getservbyname.c:35:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getservbyname.c -o getservbyname.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o getservent.lo getservent.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getservent.c  -fPIC -DPIC -o .libs/getservent.o
In file included from /usr/include/sys/types.h:25:0,
                 from getservent.c:34:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c getservent.c -o getservent.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I. -I./compat -I/usr/pkg/include  -I/usr/pkg/include   -Wall -O0 -g -DRESOLVSORT -c -o base64.lo base64.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c base64.c  -fPIC -DPIC -o .libs/base64.o
In file included from /usr/include/sys/types.h:25:0,
                 from base64.c:45:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./compat -I/home/pbulk/build/devel/libdnsres/work/.buildlink/include -Wall -O0 -g -DRESOLVSORT -c base64.c -o base64.o >/dev/null 2>&1
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include   -I/usr/pkg/include  -Wall -O0 -g -DRESOLVSORT -c strlcpy.c
In file included from /usr/include/sys/types.h:25:0,
                 from strlcpy.c:35:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include   -I/usr/pkg/include  -Wall -O0 -g -DRESOLVSORT -c arc4random.c
In file included from /usr/include/sys/types.h:25:0,
                 from arc4random.c:1:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
arc4random.c: In function 'arc4random':
arc4random.c:19:3: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
   srandom(time(NULL));
   ^
/bin/bash ./libtool --mode=link cc  -Wall -O0 -g -DRESOLVSORT   -Wl,-zrelro -L/usr/pkg/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 strlcpy.o arc4random.o 

*** Warning: Linking the shared library libdnsres.la against the non-libtool
*** objects  strlcpy.o arc4random.o is not portable!
libtool: link: cc -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  strlcpy.o arc4random.o   -L/home/pbulk/build/devel/libdnsres/work/.buildlink/lib  -O0 -g -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib   -Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1
/bin/ld: strlcpy.o: relocation R_X86_64_PC32 against symbol `strlen@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/devel/libdnsres/work/libdnsres-0.1a
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/devel/libdnsres/work/libdnsres-0.1a
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/devel/libdnsres/work/libdnsres-0.1a
*** Error code 1

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/libdnsres