=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/crawl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for crawl-0.4nb14 --- crawl.o --- --- http.o --- --- crawl.o --- 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 --- http.o --- 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/work/www/crawl/work/.buildlink/include/event.h:70, from http.c:48: /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' redefined 198 | #define timeout_add(ev, tv) event_add((ev), (tv)) | ^~~~~~~~~~~ In file included from http.c:46: config.h:311:9: note: this is the location of the previous definition 311 | #define timeout_add(ev, tv) event_add(ev, tv) | ^~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' redefined 199 | #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) | ^~~~~~~~~~~ config.h:312:9: note: this is the location of the previous definition 312 | #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) | ^~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' redefined 201 | #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) | ^~~~~~~~~~~~~~~ config.h:314:9: note: this is the location of the previous definition 314 | #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) | ^~~~~~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' redefined 202 | #define timeout_initialized(ev) event_initialized(ev) | ^~~~~~~~~~~~~~~~~~~ config.h:315:9: 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_fetch': http.c:347:18: error: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 347 | atomicio(write, uri->fd, request, strlen(request)); | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} http.c:59:28: note: expected 'ssize_t (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} 59 | ssize_t atomicio(ssize_t (*f)(), int, void *, size_t); | ~~~~~~~~~~^~~~ In file included from http.c:39: /usr/include/unistd.h:568:16: note: 'write' declared here 568 | extern ssize_t write(int, const void *, size_t); | ^~~~~ 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) | ^~ --- crawl.o --- In file included from /home/pbulk/work/www/crawl/work/.buildlink/include/event.h:70, from crawl.c:45: /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:198:9: warning: 'timeout_add' redefined 198 | #define timeout_add(ev, tv) event_add((ev), (tv)) | ^~~~~~~~~~~ In file included from crawl.c:43: config.h:311:9: note: this is the location of the previous definition 311 | #define timeout_add(ev, tv) event_add(ev, tv) | ^~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:199:9: warning: 'timeout_set' redefined 199 | #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) | ^~~~~~~~~~~ config.h:312:9: note: this is the location of the previous definition 312 | #define timeout_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg) | ^~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:201:9: warning: 'timeout_pending' redefined 201 | #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv)) | ^~~~~~~~~~~~~~~ config.h:314:9: note: this is the location of the previous definition 314 | #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) | ^~~~~~~~~~~~~~~ /home/pbulk/work/www/crawl/work/.buildlink/include/event2/event_compat.h:202:9: warning: 'timeout_initialized' redefined 202 | #define timeout_initialized(ev) event_initialized(ev) | ^~~~~~~~~~~~~~~~~~~ config.h:315:9: note: this is the location of the previous definition 315 | #define timeout_initialized(ev) ((ev)->ev_flags & EVLIST_INIT) | ^~~~~~~~~~~~~~~~~~~ --- http.o --- 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; | ^ --- crawl.o --- crawl.c: In function 'url_permitted': crawl.c:122:30: error: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 122 | if (atomicio(write, extmatchw, url, strlen(url)) == -1) | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} crawl.c:59:28: note: expected 'ssize_t (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} 59 | ssize_t atomicio(ssize_t (*f)(), int, void *, size_t); | ~~~~~~~~~~^~~~ In file included from crawl.c:40: /usr/include/unistd.h:568:16: note: 'write' declared here 568 | extern ssize_t write(int, const void *, size_t); | ^~~~~ crawl.c:124:30: error: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 124 | if (atomicio(write, extmatchw, "\n", 1) == -1) | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} crawl.c:59:28: note: expected 'ssize_t (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} 59 | ssize_t atomicio(ssize_t (*f)(), int, void *, size_t); | ~~~~~~~~~~^~~~ /usr/include/unistd.h:568:16: note: 'write' declared here 568 | extern ssize_t write(int, const void *, size_t); | ^~~~~ crawl.c:127:30: error: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 127 | if (atomicio(read, extmatchr, &ch, 1) == -1) | ^~~~ | | | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)} crawl.c:59:28: note: expected 'ssize_t (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} 59 | ssize_t atomicio(ssize_t (*f)(), int, void *, size_t); | ~~~~~~~~~~^~~~ /usr/include/unistd.h:469:16: note: 'read' declared here 469 | extern ssize_t read(int, void *, size_t); | ^~~~ 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} crawl.c:214:22: error: passing argument 1 of 'atomicio' from incompatible pointer type [-Wincompatible-pointer-types] 214 | if (atomicio(write, uri->save_fd, uri->body, uri->bdread) == -1) | ^~~~~ | | | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)} crawl.c:59:28: note: expected 'ssize_t (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} 59 | ssize_t atomicio(ssize_t (*f)(), int, void *, size_t); | ~~~~~~~~~~^~~~ /usr/include/unistd.h:568:16: note: 'write' declared here 568 | extern ssize_t write(int, const void *, size_t); | ^~~~~ In file included from crawl.c:48: crawl.c: In function 'main': http.h:135:44: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct uri *, char *)' [-Wincompatible-pointer-types] 135 | cb = x; \ | ^ crawl.c:546:9: note: in expansion of macro 'http_setcallback' 546 | http_setcallback(http_movecb, http_moved); | ^~~~~~~~~~~~~~~~ crawl.c:351:1: note: 'http_moved' declared here 351 | http_moved(struct uri *uri, char *location) | ^~~~~~~~~~ --- http.o --- *** [http.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/www/crawl/work/crawl-0.4 --- crawl.o --- *** [crawl.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/www/crawl/work/crawl-0.4 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/www/crawl/work/crawl-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/crawl *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/crawl