+ 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  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
  198 | #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
  311 | #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
  199 | #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
  312 | #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
  201 | #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
  314 | #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
  202 | #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
  315 | #define timeout_initialized(ev)         ((ev)->ev_flags & EVLIST_INIT)
      | 
crawl.c: In function 'image_saver':
crawl.c:170:56: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=]
  170 |                 snprintf(tmp, sizeof(tmp), " (%4.1f%%/%d)",
      |                                                       ~^
      |                                                        |
      |                                                        int
      |                                                       %ld
  171 |                     (float)uri->bdlen/uri->length*100, uri->length);
      |                                                        ~~~~~~~~~~~
      |                                                           |
      |                                                           ssize_t {aka long int}
--- 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
  198 | #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
  311 | #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
  199 | #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
  312 | #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
  201 | #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
  314 | #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
  202 | #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
  315 | #define timeout_initialized(ev)         ((ev)->ev_flags & EVLIST_INIT)
      | 
http.c: In function 'http_print_stats':
http.c:264:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  264 |         fprintf(stdout, "%d GET for body %d Kbytes\n",
      |                          ~^
      |                           |
      |                           int
      |                          %ld
  265 |                 http_stats.gets, http_stats.bodybytes / 1024);
      |                 ~~~~~~~~~~~~~~~
      |                           |
      |                           size_t {aka long unsigned int}
http.c:264:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  264 |         fprintf(stdout, "%d GET for body %d Kbytes\n",
      |                                          ~^
      |                                           |
      |                                           int
      |                                          %ld
  265 |                 http_stats.gets, http_stats.bodybytes / 1024);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                       |
      |                                                       size_t {aka long unsigned int}
http.c:266:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  266 |         fprintf(stdout, "%d HEAD for header %d Kbytes\n",
      |                          ~^
      |                           |
      |                           int
      |                          %ld
  267 |                 http_stats.heads, http_stats.headerbytes / 1024);
      |                 ~~~~~~~~~~~~~~~~
      |                           |
      |                           size_t {aka long unsigned int}
http.c:266:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  266 |         fprintf(stdout, "%d HEAD for header %d Kbytes\n",
      |                                             ~^
      |                                              |
      |                                              int
      |                                             %ld
  267 |                 http_stats.heads, http_stats.headerbytes / 1024);
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          size_t {aka long unsigned int}
http.c:272:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  272 |         fprintf(stdout, "Max fifo size: %d, %f Kbyte, current: %d/%d\n",
      |                                         ~^
      |                                          |
      |                                          int
      |                                         %ld
  273 |                 http_stats.maxsize,
      |                 ~~~~~~~~~~~~~~~~~~        
      |                           |
      |                           size_t {aka long unsigned int}
http.c:272:65: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  272 |         fprintf(stdout, "Max fifo size: %d, %f Kbyte, current: %d/%d\n",
      |                                                                ~^
      |                                                                 |
      |                                                                 int
      |                                                                %ld
......
  276 |                 http_stats.fifosize, connections);
      |                 ~~~~~~~~~~~~~~~~~~~                              
      |                           |
      |                           size_t {aka long unsigned int}
http.c: In function 'http_dns_calcdepth':
http.c:405:24: warning: self-comparison always evaluates to false [-Wtautological-compare]
  405 |         if (dns->depth != dns->depth)
      |                        ^~
http.c: In function 'http_parseheader':
http.c:1263:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1263 |                 uri->body = p;
      |                           ^
http.c: In function 'http_readbody':
http.c:1305:23: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
 1305 |                 where = uri->body + uri->bdread;
      |                       ^
http.c:1343:27: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1343 |                 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  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
  198 | #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
  311 | #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
  199 | #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
  312 | #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
  201 | #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
  314 | #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
  202 | #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
  315 | #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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
crawldb.c: In function 'db_key':
crawldb.c:63:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign]
   63 |         MD5Update(&ctx, line, strlen(line) + 1);
      |                         ^~~~
      |                         |
      |                         char *
In file included from crawldb.c:50:
./compat/md5.h:20:65: note: expected 'const unsigned char *' but argument is of type 'char *'
   20 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len);
      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~
--- 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
  198 | #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
  311 | #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
  199 | #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
  312 | #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
  201 | #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
  314 | #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
  202 | #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
  315 | #define timeout_initialized(ev)         ((ev)->ev_flags & EVLIST_INIT)
      | 
--- 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
In file included from /usr/include/sys/types.h:25,
                 from util.c:63:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
--- 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
--- 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 ---
In file included from /usr/include/sys/types.h:25,
                 from dns.c:31:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
--- 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
--- dns.o ---
In file included from dns.c:45:
config.h:311: warning: "timeout_add" redefined
  311 | #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
  198 | #define timeout_add(ev, tv)             event_add((ev), (tv))
      | 
In file included from dns.c:45:
config.h:312: warning: "timeout_set" redefined
  312 | #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
  199 | #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
  314 | #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
  201 | #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
  315 | #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
  202 | #define timeout_initialized(ev)         event_initialized(ev)
      | 
dns.c: In function 'dns_read':
dns.c:155:19: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  155 |                 p = buf;
      |                   ^
dns.c: In function 'dns_resolve_cb':
dns.c:495:13: warning: variable 'positive' set but not used [-Wunused-but-set-variable]
  495 |         int positive;
      |             ^~~~~~~~
dns.c: In function 'dns_resolve':
dns.c:565:28: error: 'EAI_NODATA' undeclared (first use in this function); did you mean 'ENODATA'?
  565 |                 if (res != EAI_NODATA)
      |                            ^~~~~~~~~~
      |                            ENODATA
dns.c:565:28: 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 ---
cfg.c: In function 'conf_decode_base64':
cfg.c:526:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
  526 |                         if (!strcmp (buf, "=="))
      |                                      ^~~
      |                                      |
      |                                      u_char * {aka unsigned char *}
In file included from cfg.c:46:
/usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  140 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
cfg.c:542:45: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
  542 |                                 if (strcmp (buf, "="))
      |                                             ^~~
      |                                             |
      |                                             u_char * {aka unsigned char *}
In file included from cfg.c:46:
/usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  140 | 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-el9-trunk-x86_64/www/crawl
*** Error code 1

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