=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rrdtool-1.5.4 Making all in po gmake[1]: Entering directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/po' gmake[1]: Leaving directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/po' Making all in src gmake[1]: Entering directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/src' /usr/pkg/bin/gmake all-am gmake[2]: Entering directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/src' CC rrd_version.lo CC rrd_last.lo CC rrd_lastupdate.lo CC rrd_first.lo CC rrd_dump.lo CC rrd_flushcached.lo CC rrd_fetch.lo rrd_fetch.c:370:29: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value] tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step ^ rrd_fetch.c:370:29: note: remove the call to 'labs' since unsigned values cannot be negative tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step ^~~~ 1 warning generated. CC rrd_fetch_cb.lo CC rrd_resize.lo CC rrd_tune.lo CC rrd_graph.lo rrd_graph.c:1696:17: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*f)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_graph.c:1905:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1923:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1972:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1985:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ 5 warnings generated. CC rrd_graph_helper.lo rrd_graph_helper.c:749:25: warning: comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (vname && (*vname>128)) { ~~~~~~^~~~ rrd_graph_helper.c:1440:31: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] dprintf("SHIFTBY : %li\n",gdp->shval); ~~~ ^~~~~~~~~~ %lli rrd_graph_helper.c:17:55: note: expanded from macro 'dprintf' #define dprintf(...) if (gdp->debug&1) fprintf(stderr,__VA_ARGS__); ^ 2 warnings generated. CC rrd_xport.lo rrd_xport.c:88:11: warning: missing field 'shortname' initializer [-Wmissing-field-initializers] {0} ^ rrd_xport.c:320:29: warning: comparison of array 'im->gdes[i].legend' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].legend == 0) ~~~~~~~~~~~~^~~~~~ ~ rrd_xport.c:545:33: warning: array subscript is of type 'char' [-Wchar-subscripts] char *t=legend_v[i]; while (isspace(*t)) { t++;} ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_xport.c:688:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*entry)){entry++;} ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_xport.c:975:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*entry)){entry++;} ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 5 warnings generated. CC optparse.lo optparse.c:4:39: warning: named variadic macros are a GNU extension [-Wvariadic-macros] #define opterror(options, format, args...) \ ^ 1 warning generated. CC rrd_gfx.lo CC pngsize.lo CC rrd_restore.lo rrd_restore.c:107:12: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isprint(*c)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ 1 warning generated. CC mutex.lo CC rrd_strtod.lo rrd_strtod.c:105:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*p)) p++; ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_strtod.c:120:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_strtod.c:130:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_strtod.c:159:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 4 warnings generated. CC rrd_create.lo CC hash_32.lo CC rrd_parsetime.lo CC rrd_hw.lo CC rrd_hw_math.lo CC rrd_hw_update.lo CC rrd_diff.lo CC rrd_format.lo CC rrd_info.lo rrd_info.c:174:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] info.u_str = filename; ^ ~~~~~~~~ 1 warning generated. CC rrd_error.lo CC rrd_open.lo rrd_open.c:293:5: warning: unused label 'no_lseek_necessary' [-Wunused-label] no_lseek_necessary: ^~~~~~~~~~~~~~~~~~~ rrd_open.c:583:24: warning: unused variable 'rrd_simple_file' [-Wunused-variable] rrd_simple_file_t *rrd_simple_file = (rrd_simple_file_t *)rrd_file->pvt; ^ rrd_open.c:581:12: warning: unused parameter 'rrd' [-Wunused-parameter] rrd_t *rrd) ^ 3 warnings generated. CC rrd_client.lo CC rrd_nan_inf.lo CC rrd_rpncalc.lo rrd_rpncalc.c:943:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(percentile) > 100) { ^ rrd_rpncalc.c:943:11: note: use function 'fabs' instead if (abs(percentile) > 100) { ^~~ fabs rrd_rpncalc.c:1047:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] int idx = round(abs(idxf)); ^ rrd_rpncalc.c:1047:24: note: use function 'fabs' instead int idx = round(abs(idxf)); ^~~ fabs 2 warnings generated. CC rrd_utils.lo rrd_utils.c:223:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (! isdigit(token[0])) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 1 warning generated. CC rrd_snprintf.lo CC rrd_update.lo CC rrd_modify.lo CC quicksort.lo CC rrd_not_thread_safe.lo CCLD librrdupd.la GEN librrd.sym CCLD librrd.la CC librrd_th_la-mutex.lo CC librrd_th_la-rrd_strtod.lo rrd_strtod.c:105:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*p)) p++; ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_strtod.c:120:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_strtod.c:130:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_strtod.c:159:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 4 warnings generated. CC librrd_th_la-rrd_create.lo CC librrd_th_la-hash_32.lo CC librrd_th_la-rrd_parsetime.lo CC librrd_th_la-rrd_hw.lo CC librrd_th_la-rrd_hw_math.lo CC librrd_th_la-rrd_hw_update.lo CC librrd_th_la-rrd_diff.lo CC librrd_th_la-rrd_format.lo CC librrd_th_la-rrd_info.lo rrd_info.c:174:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] info.u_str = filename; ^ ~~~~~~~~ 1 warning generated. CC librrd_th_la-rrd_error.lo CC librrd_th_la-rrd_open.lo rrd_open.c:293:5: warning: unused label 'no_lseek_necessary' [-Wunused-label] no_lseek_necessary: ^~~~~~~~~~~~~~~~~~~ rrd_open.c:583:24: warning: unused variable 'rrd_simple_file' [-Wunused-variable] rrd_simple_file_t *rrd_simple_file = (rrd_simple_file_t *)rrd_file->pvt; ^ rrd_open.c:581:12: warning: unused parameter 'rrd' [-Wunused-parameter] rrd_t *rrd) ^ 3 warnings generated. CC librrd_th_la-rrd_client.lo CC librrd_th_la-rrd_nan_inf.lo CC librrd_th_la-rrd_rpncalc.lo rrd_rpncalc.c:943:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(percentile) > 100) { ^ rrd_rpncalc.c:943:11: note: use function 'fabs' instead if (abs(percentile) > 100) { ^~~ fabs rrd_rpncalc.c:1047:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] int idx = round(abs(idxf)); ^ rrd_rpncalc.c:1047:24: note: use function 'fabs' instead int idx = round(abs(idxf)); ^~~ fabs 2 warnings generated. CC librrd_th_la-rrd_utils.lo rrd_utils.c:223:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (! isdigit(token[0])) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 1 warning generated. CC librrd_th_la-rrd_snprintf.lo CC librrd_th_la-rrd_update.lo CC librrd_th_la-rrd_modify.lo CC librrd_th_la-quicksort.lo CC librrd_th_la-rrd_version.lo CC librrd_th_la-rrd_last.lo CC librrd_th_la-rrd_lastupdate.lo CC librrd_th_la-rrd_first.lo CC librrd_th_la-rrd_dump.lo CC librrd_th_la-rrd_flushcached.lo CC librrd_th_la-rrd_fetch.lo rrd_fetch.c:370:29: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value] tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step ^ rrd_fetch.c:370:29: note: remove the call to 'labs' since unsigned values cannot be negative tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step ^~~~ 1 warning generated. CC librrd_th_la-rrd_fetch_cb.lo CC librrd_th_la-rrd_resize.lo CC librrd_th_la-rrd_tune.lo CC librrd_th_la-rrd_graph.lo rrd_graph.c:1696:17: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*f)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rrd_graph.c:1905:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1923:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1972:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ rrd_graph.c:1985:45: warning: comparison of array 'im->gdes[i].format' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].format == NULL || im->gdes[i].format[0] == '\0') ~~~~~~~~~~~~^~~~~~ ~~~~ 5 warnings generated. CC librrd_th_la-rrd_graph_helper.lo rrd_graph_helper.c:749:25: warning: comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (vname && (*vname>128)) { ~~~~~~^~~~ rrd_graph_helper.c:1440:31: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] dprintf("SHIFTBY : %li\n",gdp->shval); ~~~ ^~~~~~~~~~ %lli rrd_graph_helper.c:17:55: note: expanded from macro 'dprintf' #define dprintf(...) if (gdp->debug&1) fprintf(stderr,__VA_ARGS__); ^ 2 warnings generated. CC librrd_th_la-rrd_xport.lo rrd_xport.c:88:11: warning: missing field 'shortname' initializer [-Wmissing-field-initializers] {0} ^ rrd_xport.c:320:29: warning: comparison of array 'im->gdes[i].legend' equal to a null pointer is always false [-Wtautological-pointer-compare] if (im->gdes[i].legend == 0) ~~~~~~~~~~~~^~~~~~ ~ rrd_xport.c:545:33: warning: array subscript is of type 'char' [-Wchar-subscripts] char *t=legend_v[i]; while (isspace(*t)) { t++;} ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_xport.c:688:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*entry)){entry++;} ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_xport.c:975:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while(isspace(*entry)){entry++;} ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 5 warnings generated. CC librrd_th_la-optparse.lo optparse.c:4:39: warning: named variadic macros are a GNU extension [-Wvariadic-macros] #define opterror(options, format, args...) \ ^ 1 warning generated. CC librrd_th_la-rrd_gfx.lo CC librrd_th_la-pngsize.lo CC librrd_th_la-rrd_restore.lo rrd_restore.c:107:12: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isprint(*c)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ 1 warning generated. CC librrd_th_la-rrd_thread_safe.lo CCLD librrd_th.la CC rrd_tool.o CCLD rrdtool CC rrdupdate.o CCLD rrdupdate CC rrd_cgi.o rrd_cgi.c:1233:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isspace(*((*buf) + i + taglen))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ rrd_cgi.c:1344:21: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(*(cp + 1))) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ rrd_cgi.c:1345:33: warning: array subscript is of type 'char' [-Wchar-subscripts] *(cp + 1) = toupper(*(cp + 1)); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ rrd_cgi.c:1346:21: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(*(cp + 2))) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ rrd_cgi.c:1347:33: warning: array subscript is of type 'char' [-Wchar-subscripts] *(cp + 2) = toupper(*(cp + 2)); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 5 warnings generated. CCLD rrdcgi CC rrdcached-rrd_daemon.o rrd_daemon.c:347:17: error: passing 'sigset_t' to parameter of incompatible type 'const sigset_t *'; take the address with & if (sigwait(signal_set, &status) < 0 ){ ^~~~~~~~~~ & /usr/pkgsrc/work/databases/rrdtool/work/.buildlink/include/pthread.h:499:61: note: passing argument to parameter here extern int __pthread_sigwait(const sigset_t *, int *); ^ 1 error generated. Makefile:1190: recipe for target 'rrdcached-rrd_daemon.o' failed gmake[2]: *** [rrdcached-rrd_daemon.o] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/src' Makefile:596: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/usr/pkgsrc/work/databases/rrdtool/work/rrdtool-1.5.4/src' Makefile:557: recipe for target 'all-recursive' failed gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/rrdtool *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/rrdtool