+ 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:0, from crawl.c:31: /usr/include/features.h:330: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:0, from crawl.c:45: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198:0: warning: "timeout_add" redefined [enabled by default] #define timeout_add(ev, tv) event_add((ev), (tv)) ^ In file included from crawl.c:43:0: config.h:311:0: 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:0, from crawl.c:45: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199:0: warning: "timeout_set" redefined [enabled by default] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ In file included from crawl.c:43:0: config.h:312:0: 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:0, from crawl.c:45: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201:0: warning: "timeout_pending" redefined [enabled by default] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ In file included from crawl.c:43:0: config.h:314:0: 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:0, from crawl.c:45: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202:0: warning: "timeout_initialized" redefined [enabled by default] #define timeout_initialized(ev) event_initialized(ev) ^ In file included from crawl.c:43:0: config.h:315:0: 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:171:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' [-Wformat=] (float)uri->bdlen/uri->length*100, uri->length); ^ crawl.c:171:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' [-Wformat=] --- http.o --- In file included from /usr/include/sys/types.h:25:0, from http.c:31: /usr/include/features.h:330: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:0, from http.c:48: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198:0: warning: "timeout_add" redefined [enabled by default] #define timeout_add(ev, tv) event_add((ev), (tv)) ^ In file included from http.c:46:0: config.h:311:0: 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:0, from http.c:48: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199:0: warning: "timeout_set" redefined [enabled by default] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ In file included from http.c:46:0: config.h:312:0: 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:0, from http.c:48: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201:0: warning: "timeout_pending" redefined [enabled by default] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ In file included from http.c:46:0: config.h:314:0: 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:0, from http.c:48: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202:0: warning: "timeout_initialized" redefined [enabled by default] #define timeout_initialized(ev) event_initialized(ev) ^ In file included from http.c:46:0: config.h:315:0: 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:265:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=] http_stats.gets, http_stats.bodybytes / 1024); ^ http.c:265:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] http.c:267:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=] http_stats.heads, http_stats.headerbytes / 1024); ^ http.c:267:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] http.c:276:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=] http_stats.fifosize, connections); ^ http.c:276:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=] http.c: In function 'http_parseheader': http.c:1263:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] uri->body = p; ^ http.c: In function 'http_readbody': http.c:1305:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] where = uri->body + uri->bdread; ^ http.c:1343:13: warning: pointer targets in assignment 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:0, from connection.c:31: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- 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 --- connection.o --- In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from connection.c:49: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198:0: warning: "timeout_add" redefined [enabled by default] #define timeout_add(ev, tv) event_add((ev), (tv)) ^ In file included from connection.c:47:0: config.h:311:0: 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:0, from connection.c:49: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199:0: warning: "timeout_set" redefined [enabled by default] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ In file included from connection.c:47:0: config.h:312:0: note: this is the location of the previous definition #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) ^ --- atomicio.o --- In file included from /usr/include/sys/types.h:25:0, from atomicio.c:26: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- connection.o --- In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from connection.c:49: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201:0: warning: "timeout_pending" redefined [enabled by default] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ In file included from connection.c:47:0: config.h:314:0: 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:0, from connection.c:49: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202:0: warning: "timeout_initialized" redefined [enabled by default] #define timeout_initialized(ev) event_initialized(ev) ^ In file included from connection.c:47:0: config.h:315:0: note: this is the location of the previous definition #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ --- 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:0, from html.c:31: /usr/include/features.h:330: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:0, from crawldb.c:31: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ crawldb.c: In function 'db_key': crawldb.c:63:2: 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:0: ./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); ^ --- html.o --- In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from html.c:40: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198:0: warning: "timeout_add" redefined [enabled by default] #define timeout_add(ev, tv) event_add((ev), (tv)) ^ In file included from html.c:38:0: config.h:311:0: 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:0, from html.c:40: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199:0: warning: "timeout_set" redefined [enabled by default] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ In file included from html.c:38:0: config.h:312:0: note: this is the location of the previous definition #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) ^ --- util.o --- --- html.o --- In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from html.c:40: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201:0: warning: "timeout_pending" redefined [enabled by default] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ In file included from html.c:38:0: config.h:314:0: 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:0, from html.c:40: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202:0: warning: "timeout_initialized" redefined [enabled by default] #define timeout_initialized(ev) event_initialized(ev) ^ In file included from html.c:38:0: config.h:315:0: note: this is the location of the previous definition #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ --- dns.o --- --- 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:0, from util.c:63: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- cfg.o --- --- dns.o --- In file included from /usr/include/sys/types.h:25:0, from dns.c:31: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- 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 In file included from /usr/include/sys/types.h:25:0, from /usr/include/sys/param.h:25, from cfg.c:38: /usr/include/features.h:330: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 dns.c:45:0: config.h:311:0: warning: "timeout_add" redefined [enabled by default] #define timeout_add(ev, tv) event_add(ev, tv) ^ In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from dns.c:43: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:198:0: 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:0: config.h:312:0: warning: "timeout_set" redefined [enabled by default] #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:0, from dns.c:43: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:199:0: 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:0: config.h:314:0: warning: "timeout_pending" redefined [enabled by default] #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:0, from dns.c:43: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:201:0: 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:0: config.h:315:0: warning: "timeout_initialized" redefined [enabled by default] #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ In file included from /home/pbulk/build/www/crawl/work/.buildlink/include/event.h:70:0, from dns.c:43: /home/pbulk/build/www/crawl/work/.buildlink/include/event2/event_compat.h:202:0: 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 differ in signedness [-Wpointer-sign] p = buf; ^ 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) if (res != EAI_NODATA) ^ 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 in /home/pbulk/build/www/crawl/work/crawl-0.4 --- cfg.o --- cfg.c: In function 'conf_decode_base64': cfg.c:526:4: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (buf, "==")) ^ In file included from cfg.c:46:0: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strcmp (const char *__s1, const char *__s2) ^ cfg.c:542:5: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (buf, "=")) ^ In file included from cfg.c:46:0: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strcmp (const char *__s1, const char *__s2) ^ 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-el7-trunk-x86_64/www/crawl *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/crawl