+ 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/crawl-0.4nb13/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/crawl-0.4nb13/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for crawl-0.4nb13
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c crawl.c
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:42: 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}
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c http.c
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:20: 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:36: 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:20: 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:39: 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:35: 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:58: 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:17: warning: self-comparison always evaluates to false [-Wtautological-compare]
  405 |  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]
 1263 |   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]
 1305 |   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]
 1343 |   uri->body = p;
      |             ^
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c connection.c
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)
      | 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c atomicio.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c html.c
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)
      | 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/opt/pkg/include  -DHAVE_DB_185_H -I/opt/pkg/include -I/opt/pkg/include/db4 -I/usr/include  -Wall -c crawldb.c
In file included from crawldb.c:40:
config.h:191:18: error: duplicate 'unsigned'
  191 | #define u_int8_t unsigned char
      |                  ^~~~~~~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:67:23: note: in expansion of macro 'u_int8_t'
   67 | typedef unsigned char u_int8_t;
      |                       ^~~~~~~~
config.h:191:27: error: two or more data types in declaration specifiers
  191 | #define u_int8_t unsigned char
      |                           ^~~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:67:23: note: in expansion of macro 'u_int8_t'
   67 | typedef unsigned char u_int8_t;
      |                       ^~~~~~~~
In file included from crawldb.c:44:
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:67:1: warning: useless type name in empty declaration
   67 | typedef unsigned char u_int8_t;
      | ^~~~~~~
In file included from crawldb.c:40:
config.h:182:19: error: duplicate 'unsigned'
  182 | #define u_int16_t unsigned short
      |                   ^~~~~~~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:69:24: note: in expansion of macro 'u_int16_t'
   69 | typedef unsigned short u_int16_t;
      |                        ^~~~~~~~~
config.h:182:28: error: duplicate 'short'
  182 | #define u_int16_t unsigned short
      |                            ^~~~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:69:24: note: in expansion of macro 'u_int16_t'
   69 | typedef unsigned short u_int16_t;
      |                        ^~~~~~~~~
In file included from crawldb.c:44:
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:69:1: warning: useless type name in empty declaration
   69 | typedef unsigned short u_int16_t;
      | ^~~~~~~
In file included from crawldb.c:40:
config.h:185:19: error: duplicate 'unsigned'
  185 | #define u_int32_t unsigned int
      |                   ^~~~~~~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:71:22: note: in expansion of macro 'u_int32_t'
   71 | typedef unsigned int u_int32_t;
      |                      ^~~~~~~~~
config.h:185:28: error: two or more data types in declaration specifiers
  185 | #define u_int32_t unsigned int
      |                            ^~~
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:71:22: note: in expansion of macro 'u_int32_t'
   71 | typedef unsigned int u_int32_t;
      |                      ^~~~~~~~~
In file included from crawldb.c:44:
/home/pbulk/build/www/crawl/work/.buildlink/include/db4/db_185.h:71:1: warning: useless type name in empty declaration
   71 | typedef unsigned int u_int32_t;
      | ^~~~~~~
crawldb.c: In function 'db_key':
crawldb.c:63:18: 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);
      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~
*** [crawldb.o] Error code 1

bmake: stopped in /home/pbulk/build/www/crawl/work/crawl-0.4
1 error

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/crawl
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/crawl