=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for crawl-0.4nb12 --- crawl.o --- --- http.o --- --- connection.o --- --- crawl.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c crawl.c --- http.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c http.c --- connection.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c connection.c --- crawl.o --- In file included from crawl.c:45: --- http.o --- In file included from http.c:48: --- crawl.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from connection.c:49: --- http.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- crawl.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] #define timeout_add(ev, tv) event_add((ev), (tv)) --- http.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] --- crawl.o --- ^ --- http.o --- #define timeout_add(ev, tv) event_add((ev), (tv)) --- connection.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] --- http.o --- ^ --- connection.o --- #define timeout_add(ev, tv) event_add((ev), (tv)) ^ --- crawl.o --- ./config.h:311:9: note: previous definition is here #define timeout_add(ev, tv) event_add(ev, tv) --- http.o --- ./config.h:311:9: note: previous definition is here --- crawl.o --- ^ --- http.o --- #define timeout_add(ev, tv) event_add(ev, tv) --- connection.o --- ./config.h:311:9: note: previous definition is here --- http.o --- ^ --- connection.o --- #define timeout_add(ev, tv) event_add(ev, tv) --- crawl.o --- In file included from crawl.c:45: --- connection.o --- ^ --- http.o --- In file included from http.c:48: --- crawl.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from connection.c:49: --- http.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- crawl.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) --- http.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] --- crawl.o --- ^ --- http.o --- #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) --- connection.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] --- http.o --- ^ --- connection.o --- #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ --- crawl.o --- ./config.h:312:9: note: previous definition is here #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) --- http.o --- ./config.h:312:9: note: previous definition is here --- crawl.o --- ^ --- http.o --- #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) --- connection.o --- ./config.h:312:9: note: previous definition is here --- http.o --- ^ --- connection.o --- #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) --- crawl.o --- In file included from crawl.c:45: --- connection.o --- ^ --- http.o --- In file included from http.c:48: --- crawl.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from connection.c:49: --- http.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- crawl.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) --- http.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] --- crawl.o --- ^ --- http.o --- #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) --- connection.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] --- http.o --- ^ --- connection.o --- #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ --- crawl.o --- ./config.h:314:9: note: previous definition is here #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) --- http.o --- ./config.h:314:9: note: previous definition is here --- crawl.o --- ^ --- http.o --- #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) --- connection.o --- ./config.h:314:9: note: previous definition is here --- http.o --- ^ --- connection.o --- #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) --- crawl.o --- In file included from crawl.c:45: --- connection.o --- ^ --- http.o --- In file included from http.c:48: --- crawl.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from connection.c:49: --- http.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- connection.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- crawl.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] #define timeout_initialized(ev) event_initialized(ev) --- http.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] --- crawl.o --- ^ --- http.o --- #define timeout_initialized(ev) event_initialized(ev) --- connection.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] --- http.o --- ^ --- connection.o --- #define timeout_initialized(ev) event_initialized(ev) ^ --- crawl.o --- ./config.h:315:9: note: previous definition is here #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) --- http.o --- ./config.h:315:9: note: previous definition is here --- crawl.o --- ^ --- http.o --- #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) --- connection.o --- ./config.h:315:9: note: previous definition is here --- http.o --- ^ --- connection.o --- #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ --- crawl.o --- crawl.c:171:42: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat] (float)uri->bdlen/uri->length*100, uri->length); --- http.o --- http.c:265:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] --- crawl.o --- ^~~~~~~~~~~ --- http.o --- http_stats.gets, http_stats.bodybytes / 1024); ^~~~~~~~~~~~~~~ http.c:265:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] http_stats.gets, http_stats.bodybytes / 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:267:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] http_stats.heads, http_stats.headerbytes / 1024); ^~~~~~~~~~~~~~~~ http.c:267:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] http_stats.heads, http_stats.headerbytes / 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:273:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] http_stats.maxsize, ^~~~~~~~~~~~~~~~~~ http.c:276:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] http_stats.fifosize, connections); ^~~~~~~~~~~~~~~~~~~ http.c:1263:13: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] uri->body = p; ^ ~ http.c:1305:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] where = uri->body + uri->bdread; ^ ~~~~~~~~~~~~~~~~~~~~~~~ http.c:1343:13: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] uri->body = p; ^ ~ --- connection.o --- 4 warnings generated. --- crawl.o --- 5 warnings generated. --- atomicio.o --- --- http.o --- 13 warnings generated. --- html.o --- --- crawldb.o --- --- atomicio.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c atomicio.c --- html.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c html.c --- crawldb.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c crawldb.c --- util.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c util.c --- html.o --- In file included from html.c:40: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- dns.o --- --- crawldb.o --- crawldb.c:63:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx, line, strlen(line) + 1); ^~~~ ./compat/md5.h:20:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); ^ --- html.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] #define timeout_add(ev, tv) event_add((ev), (tv)) ^ ./config.h:311:9: note: previous definition is here #define timeout_add(ev, tv) event_add(ev, tv) ^ In file included from html.c:40: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) ^ ./config.h:312:9: note: previous definition is here #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) ^ In file included from html.c:40: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ ./config.h:314:9: note: previous definition is here #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) ^ In file included from html.c:40: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] #define timeout_initialized(ev) event_initialized(ev) ^ ./config.h:315:9: note: previous definition is here #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ --- dns.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c dns.c --- crawldb.o --- 1 warning generated. --- html.o --- 4 warnings generated. --- cfg.o --- --- robots.o --- --- cfg.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c cfg.c --- robots.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c robots.c --- dns.o --- In file included from dns.c:45: --- robots.o --- In file included from robots.c:47: --- dns.o --- ./config.h:311:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] #define timeout_add(ev, tv) event_add(ev, tv) --- cfg.o --- cfg.c:526:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- robots.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- dns.o --- ^ --- cfg.o --- if (!strcmp (buf, "==")) ^~~ --- robots.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' macro redefined [-Wmacro-redefined] --- dns.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: note: previous definition is here --- robots.o --- #define timeout_add(ev, tv) event_add((ev), (tv)) --- dns.o --- #define timeout_add(ev, tv) event_add((ev), (tv)) --- cfg.o --- /usr/include/string.h:80:25: note: passing argument to parameter here --- robots.o --- ^ --- dns.o --- ^ --- cfg.o --- int strcmp(const char *, const char *) __pure; ^ --- dns.o --- In file included from dns.c:45: --- robots.o --- ./config.h:311:9: note: previous definition is here #define timeout_add(ev, tv) event_add(ev, tv) --- cfg.o --- cfg.c:542:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- robots.o --- ^ --- dns.o --- ./config.h:312:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] --- cfg.o --- if (strcmp (buf, "=")) --- dns.o --- #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) --- cfg.o --- ^~~ --- robots.o --- In file included from robots.c:47: --- dns.o --- ^ --- robots.o --- In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: --- cfg.o --- /usr/include/string.h:80:25: note: passing argument to parameter here --- dns.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: note: previous definition is here --- cfg.o --- int strcmp(const char *, const char *) __pure; --- dns.o --- #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) --- cfg.o --- ^ --- dns.o --- ^ --- robots.o --- /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' macro redefined [-Wmacro-redefined] #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) --- cfg.o --- 2 warnings generated. --- robots.o --- ^ --- dns.o --- In file included from dns.c:45: --- md5.o --- --- dns.o --- ./config.h:314:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) ^ /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: note: previous definition is here #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ In file included from dns.c:45: ./config.h:315:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: note: previous definition is here #define timeout_initialized(ev) event_initialized(ev) ^ dns.c:155:5: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = buf; ^ ~~~ --- robots.o --- ./config.h:312:9: note: previous definition is here #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) ^ In file included from robots.c:47: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' macro redefined [-Wmacro-redefined] #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) ^ ./config.h:314:9: note: previous definition is here #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) ^ In file included from robots.c:47: In file included from /var/pkgsrc/work/www/crawl/work/.buildlink/include/event.h:70: /var/pkgsrc/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' macro redefined [-Wmacro-redefined] #define timeout_initialized(ev) event_initialized(ev) ^ ./config.h:315:9: note: previous definition is here #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) ^ --- md5.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/pkg/include -DHAVE_DB_185_H -I/usr/pkg/include -I/usr/include -Wall -c md5.c --- robots.o --- robots.c:101:48: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stdout, "Robots.txt inspected: %d\n", robot_stats.robotfiles); --- dns.o --- dns.c:565:14: error: use of undeclared identifier 'EAI_NODATA' --- robots.o --- ~~ ^~~~~~~~~~~~~~~~~~~~~~ --- dns.o --- if (res != EAI_NODATA) --- robots.o --- %zu --- dns.o --- ^ --- md5.o --- md5.c:104:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] --- dns.o --- 5 warnings and 1 error generated. --- md5.o --- memcpy(p, buf, len); --- dns.o --- *** [dns.o] Error code 1 bmake: stopped in /var/pkgsrc/work/www/crawl/work/crawl-0.4 --- md5.o --- ^ --- robots.o --- robots.c:102:52: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stdout, " matched useragent %d times\n", robot_stats.matches); ~~ ^~~~~~~~~~~~~~~~~~~ %zu --- md5.o --- md5.c:104:4: note: include the header or explicitly provide a declaration for 'memcpy' --- robots.o --- robots.c:103:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stdout, " replaced %d entries\n", robot_stats.replacements); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ --- md5.o --- md5.c:153:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] --- robots.o --- %zu --- md5.o --- memset(p, 0, count); ^ --- robots.o --- robots.c:104:46: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stdout, " rejected %d requests\n", robot_stats.rejects); --- md5.o --- md5.c:153:3: note: include the header or explicitly provide a declaration for 'memset' --- robots.o --- ~~ ^~~~~~~~~~~~~~~~~~~ %zu --- md5.o --- md5.c:172:24: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ --- robots.o --- robots.c:79:1: warning: unused function 'rtree_SPLAY_NEXT' [-Wunused-function] --- md5.o --- ~~~ ^~~ --- robots.o --- SPLAY_PROTOTYPE(rtree, http_robots, splay_next, compare); ^ --- md5.o --- md5.c:172:24: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ --- robots.o --- ./tree.h:146:36: note: expanded from macro 'SPLAY_PROTOTYPE' --- md5.o --- ^~~ --- robots.o --- static __inline struct type * \ ^ --- md5.o --- 3 warnings generated. --- robots.o --- :109:1: note: expanded from here rtree_SPLAY_NEXT ^ robots.c:79:1: warning: unused function 'rtree_SPLAY_MIN_MAX' [-Wunused-function] ./tree.h:160:36: note: expanded from macro 'SPLAY_PROTOTYPE' static __inline struct type * \ ^ :111:1: note: expanded from here rtree_SPLAY_MIN_MAX ^ 10 warnings generated. 1 error bmake: stopped in /var/pkgsrc/work/www/crawl/work/crawl-0.4 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/www/crawl *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/crawl