+ 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/crawl-0.4nb14/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/crawl-0.4nb14/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for crawl-0.4nb14
--- crawl.o ---
--- http.o ---
--- crawl.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c crawl.c
--- http.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c http.c
--- crawl.o ---
In file included from /usr/include/sys/types.h:25,
                 from crawl.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- http.o ---
In file included from /usr/include/sys/types.h:25,
                 from http.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- crawl.o ---
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from crawl.c:45:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198: warning: "timeout_add" redefined
 #define timeout_add(ev, tv)  event_add((ev), (tv))
 
In file included from crawl.c:43:
config.h:311: note: this is the location of the previous definition
 #define timeout_add(ev, tv)  event_add(ev, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from crawl.c:45:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199: warning: "timeout_set" redefined
 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg))
 
In file included from crawl.c:43:
config.h:312: note: this is the location of the previous definition
 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from crawl.c:45:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201: warning: "timeout_pending" redefined
 #define timeout_pending(ev, tv)  event_pending((ev), EV_TIMEOUT, (tv))
 
In file included from crawl.c:43:
config.h:314: note: this is the location of the previous definition
 #define timeout_pending(ev, tv)  event_pending(ev, EV_TIMEOUT, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from crawl.c:45:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202: warning: "timeout_initialized" redefined
 #define timeout_initialized(ev)  event_initialized(ev)
 
In file included from crawl.c:43:
config.h:315: note: this is the location of the previous definition
 #define timeout_initialized(ev)  ((ev)->ev_flags & EVLIST_INIT)
 
crawl.c: In function 'image_saver':
crawl.c:170:42: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=]
   snprintf(tmp, sizeof(tmp), " (%4.1f%%/%d)",
                                         ~^
                                         %ld
       (float)uri->bdlen/uri->length*100, uri->length);
                                          ~~~~~~~~~~~
--- http.o ---
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from http.c:48:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198: warning: "timeout_add" redefined
 #define timeout_add(ev, tv)  event_add((ev), (tv))
 
In file included from http.c:46:
config.h:311: note: this is the location of the previous definition
 #define timeout_add(ev, tv)  event_add(ev, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from http.c:48:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199: warning: "timeout_set" redefined
 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg))
 
In file included from http.c:46:
config.h:312: note: this is the location of the previous definition
 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from http.c:48:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201: warning: "timeout_pending" redefined
 #define timeout_pending(ev, tv)  event_pending((ev), EV_TIMEOUT, (tv))
 
In file included from http.c:46:
config.h:314: note: this is the location of the previous definition
 #define timeout_pending(ev, tv)  event_pending(ev, EV_TIMEOUT, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from http.c:48:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202: warning: "timeout_initialized" redefined
 #define timeout_initialized(ev)  event_initialized(ev)
 
In file included from http.c:46:
config.h:315: note: this is the location of the previous definition
 #define timeout_initialized(ev)  ((ev)->ev_flags & EVLIST_INIT)
 
http.c: In function 'http_print_stats':
http.c:264:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "%d GET for body %d Kbytes\n",
                   ~^
                   %ld
   http_stats.gets, http_stats.bodybytes / 1024);
   ~~~~~~~~~~~~~~~   
http.c:264:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "%d GET for body %d Kbytes\n",
                                   ~^
                                   %ld
   http_stats.gets, http_stats.bodybytes / 1024);
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
http.c:266:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "%d HEAD for header %d Kbytes\n",
                   ~^
                   %ld
   http_stats.heads, http_stats.headerbytes / 1024);
   ~~~~~~~~~~~~~~~~  
http.c:266:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "%d HEAD for header %d Kbytes\n",
                                      ~^
                                      %ld
   http_stats.heads, http_stats.headerbytes / 1024);
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http.c:272:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "Max fifo size: %d, %f Kbyte, current: %d/%d\n",
                                  ~^
                                  %ld
   http_stats.maxsize,
   ~~~~~~~~~~~~~~~~~~               
http.c:272:58: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  fprintf(stdout, "Max fifo size: %d, %f Kbyte, current: %d/%d\n",
                                                         ~^
                                                         %ld
http.c:276:3:
   http_stats.fifosize, connections);
   ~~~~~~~~~~~~~~~~~~~                                     
http.c: In function 'http_dns_calcdepth':
http.c:405:17: warning: self-comparison always evaluates to false [-Wtautological-compare]
  if (dns->depth != dns->depth)
                 ^~
http.c: In function 'http_parseheader':
http.c:1263:13: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
   uri->body = p;
             ^
http.c: In function 'http_readbody':
http.c:1305:9: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
   where = uri->body + uri->bdread;
         ^
http.c:1343:13: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
   uri->body = p;
             ^
--- connection.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c connection.c
In file included from /usr/include/sys/types.h:25,
                 from connection.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from connection.c:49:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198: warning: "timeout_add" redefined
 #define timeout_add(ev, tv)  event_add((ev), (tv))
 
In file included from connection.c:47:
config.h:311: note: this is the location of the previous definition
 #define timeout_add(ev, tv)  event_add(ev, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from connection.c:49:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199: warning: "timeout_set" redefined
 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg))
 
In file included from connection.c:47:
config.h:312: note: this is the location of the previous definition
 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from connection.c:49:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201: warning: "timeout_pending" redefined
 #define timeout_pending(ev, tv)  event_pending((ev), EV_TIMEOUT, (tv))
 
In file included from connection.c:47:
config.h:314: note: this is the location of the previous definition
 #define timeout_pending(ev, tv)  event_pending(ev, EV_TIMEOUT, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from connection.c:49:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202: warning: "timeout_initialized" redefined
 #define timeout_initialized(ev)  event_initialized(ev)
 
In file included from connection.c:47:
config.h:315: note: this is the location of the previous definition
 #define timeout_initialized(ev)  ((ev)->ev_flags & EVLIST_INIT)
 
--- atomicio.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c atomicio.c
In file included from /usr/include/sys/types.h:25,
                 from atomicio.c:26:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- html.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c html.c
--- crawldb.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c crawldb.c
--- html.o ---
In file included from /usr/include/sys/types.h:25,
                 from html.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- crawldb.o ---
In file included from /usr/include/sys/types.h:25,
                 from crawldb.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- html.o ---
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from html.c:40:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198: warning: "timeout_add" redefined
 #define timeout_add(ev, tv)  event_add((ev), (tv))
 
In file included from html.c:38:
config.h:311: note: this is the location of the previous definition
 #define timeout_add(ev, tv)  event_add(ev, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from html.c:40:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199: warning: "timeout_set" redefined
 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg))
 
In file included from html.c:38:
config.h:312: note: this is the location of the previous definition
 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from html.c:40:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201: warning: "timeout_pending" redefined
 #define timeout_pending(ev, tv)  event_pending((ev), EV_TIMEOUT, (tv))
 
In file included from html.c:38:
config.h:314: note: this is the location of the previous definition
 #define timeout_pending(ev, tv)  event_pending(ev, EV_TIMEOUT, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from html.c:40:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202: warning: "timeout_initialized" redefined
 #define timeout_initialized(ev)  event_initialized(ev)
 
In file included from html.c:38:
config.h:315: note: this is the location of the previous definition
 #define timeout_initialized(ev)  ((ev)->ev_flags & EVLIST_INIT)
 
--- crawldb.o ---
crawldb.c: In function 'db_key':
crawldb.c:63:18: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign]
  MD5Update(&ctx, line, strlen(line) + 1);
                  ^~~~
In file included from crawldb.c:50:
./compat/md5.h:20:6: note: expected 'const unsigned char *' but argument is of type 'char *'
 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len);
      ^~~~~~~~~
--- util.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c util.c
--- dns.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c dns.c
--- util.o ---
In file included from /usr/include/sys/types.h:25,
                 from util.c:63:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
--- dns.o ---
In file included from /usr/include/sys/types.h:25,
                 from dns.c:31:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from dns.c:45:
config.h:311: warning: "timeout_add" redefined
 #define timeout_add(ev, tv)  event_add(ev, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from dns.c:43:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198: note: this is the location of the previous definition
 #define timeout_add(ev, tv)  event_add((ev), (tv))
 
In file included from dns.c:45:
config.h:312: warning: "timeout_set" redefined
 #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from dns.c:43:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199: note: this is the location of the previous definition
 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg))
 
In file included from dns.c:45:
config.h:314: warning: "timeout_pending" redefined
 #define timeout_pending(ev, tv)  event_pending(ev, EV_TIMEOUT, tv)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from dns.c:43:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201: note: this is the location of the previous definition
 #define timeout_pending(ev, tv)  event_pending((ev), EV_TIMEOUT, (tv))
 
In file included from dns.c:45:
config.h:315: warning: "timeout_initialized" redefined
 #define timeout_initialized(ev)  ((ev)->ev_flags & EVLIST_INIT)
 
In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70,
                 from dns.c:43:
/home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202: note: this is the location of the previous definition
 #define timeout_initialized(ev)  event_initialized(ev)
 
dns.c: In function 'dns_read':
dns.c:155:5: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
   p = buf;
     ^
--- cfg.o ---
cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include  -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/pkg/include/db4 -I/usr/include  -Wall -c cfg.c
--- dns.o ---
dns.c: In function 'dns_resolve_cb':
dns.c:495:6: warning: variable 'positive' set but not used [-Wunused-but-set-variable]
  int positive;
      ^~~~~~~~
dns.c: In function 'dns_resolve':
dns.c:565:14: error: 'EAI_NODATA' undeclared (first use in this function); did you mean 'EAI_NONAME'?
   if (res != EAI_NODATA)
              ^~~~~~~~~~
              EAI_NONAME
dns.c:565:14: note: each undeclared identifier is reported only once for each function it appears in
*** [dns.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/www/crawl/work/crawl-0.4
--- cfg.o ---
In file included from /usr/include/sys/types.h:25,
                 from /usr/include/sys/param.h:25,
                 from cfg.c:38:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cfg.c: In function 'conf_decode_base64':
cfg.c:526:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from cfg.c:46:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
cfg.c:542:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from cfg.c:46:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/www/crawl/work/crawl-0.4
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/crawl
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/crawl