=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for spreadlogd-2.0.0nb20 --- y.tab.c --- --- perlxsi.c --- --- spreadlogd.o --- --- y.tab.c --- /usr/bin/yacc -p sld_ -d config_gram.y --- perlxsi.c --- /usr/pkg/bin/perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c --- spreadlogd.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c spreadlogd.c --- lex.sld_.c --- flex -Psld_ config_gram.l --- config.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c config.c --- hash.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c hash.c --- spreadlogd.o --- In file included from spreadlogd.c:11: In file included from ./sld_config.h:42: --- config.o --- In file included from config.c:11: --- spreadlogd.o --- In file included from ./sld_defines.h:104: --- config.o --- In file included from ./sld_config.h:42: In file included from ./sld_defines.h:104: --- hash.o --- In file included from hash.c:14: --- spreadlogd.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- hash.o --- In file included from ./sld_config.h:42: --- spreadlogd.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- hash.o --- In file included from ./sld_defines.h:104: --- config.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " --- spreadlogd.o --- In file included from spreadlogd.c:11: --- config.o --- ^ --- spreadlogd.o --- In file included from ./sld_config.h:42: --- config.o --- In file included from config.c:11: --- hash.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " --- spreadlogd.o --- In file included from ./sld_defines.h:111: --- config.o --- In file included from ./sld_config.h:42: --- hash.o --- ^ --- spreadlogd.o --- In file included from ./config.h:17: --- config.o --- In file included from ./sld_defines.h:111: --- hash.o --- In file included from hash.c:14: --- config.o --- In file included from ./config.h:17: --- hash.o --- In file included from ./sld_config.h:42: --- spreadlogd.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- hash.o --- In file included from ./sld_defines.h:111: --- spreadlogd.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- config.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- hash.o --- In file included from ./config.h:17: --- config.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- spreadlogd.o --- 2 warnings generated. --- timefuncs.o --- --- hash.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- timefuncs.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c timefuncs.c --- hash.o --- 2 warnings generated. --- module.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c module.c --- timefuncs.o --- In file included from timefuncs.c:11: In file included from ./sld_config.h:42: --- module.o --- In file included from module.c:11: --- timefuncs.o --- In file included from ./sld_defines.h:104: --- module.o --- In file included from ./sld_config.h:42: In file included from ./sld_defines.h:104: --- timefuncs.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- module.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " --- timefuncs.o --- In file included from timefuncs.c:11: --- module.o --- ^ --- timefuncs.o --- In file included from ./sld_config.h:42: --- module.o --- In file included from module.c:11: --- timefuncs.o --- In file included from ./sld_defines.h:111: --- module.o --- In file included from ./sld_config.h:42: --- timefuncs.o --- In file included from ./config.h:17: --- module.o --- In file included from ./sld_defines.h:111: In file included from ./config.h:17: --- timefuncs.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- module.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- config.o --- config.c:235:16: warning: incompatible pointer to integer conversion passing 'const char *' to parameter of type 'int' [-Wint-conversion] --- module.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- timefuncs.o --- 2 warnings generated. --- nethelp.o --- --- config.o --- regerror(ret, &lf->match_expression[lf->nmatches], errbuf, sizeof errbuf); ^~~ /usr/include/gnu/posix/regex.h:572:29: note: passing argument to parameter '__errcode' here extern size_t regerror (int __errcode, const regex_t *__restrict __preg, ^ config.c:236:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, errbuf); ^~~~~~ config.c:236:23: note: treat the string as an argument to avoid this fprintf(stderr, errbuf); ^ "%s", --- nethelp.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c nethelp.c --- module.o --- 2 warnings generated. --- skiplist.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c skiplist.c --- nethelp.o --- In file included from nethelp.c:11: --- config.o --- 4 warnings generated. --- echash.o --- --- nethelp.o --- In file included from ./sld_config.h:42: In file included from ./sld_defines.h:104: /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- echash.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c echash.c --- nethelp.o --- In file included from nethelp.c:11: --- skiplist.o --- In file included from skiplist.c:11: --- nethelp.o --- In file included from ./sld_config.h:42: --- skiplist.o --- In file included from ./sld_config.h:42: --- nethelp.o --- In file included from ./sld_defines.h:111: --- skiplist.o --- In file included from ./sld_defines.h:104: --- nethelp.o --- In file included from ./config.h:17: --- echash.o --- In file included from echash.c:27: In file included from ./sld_config.h:42: --- skiplist.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " --- nethelp.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- echash.o --- In file included from ./sld_defines.h:104: --- skiplist.o --- ^ --- nethelp.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- skiplist.o --- In file included from skiplist.c:11: --- nethelp.o --- 2 warnings generated. --- skiplist.o --- In file included from ./sld_config.h:42: --- echash.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- perl.o --- --- echash.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- skiplist.o --- In file included from ./sld_defines.h:111: In file included from ./config.h:17: /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ skiplist.c:232:15: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') if(comp < SL_INLINE_MAX) { ~~~~ ^ ~~~~~~~~~~~~~ skiplist.c:234:22: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') compared = indexing_comp(data, t->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:50:32: note: expanded from macro 'indexing_comp' ((((Skiplist *) a)->compare) < (((Skiplist *) b)->compare))?-1: \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:236:22: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') compared = indexing_compk(data, t->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:54:28: note: expanded from macro 'indexing_compk' ((SkiplistComparator)(a) < (((Skiplist *) b)->compare))?-1: \ ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:364:15: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') if(comp < SL_INLINE_MAX) { ~~~~ ^ ~~~~~~~~~~~~~ skiplist.c:366:22: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') compared = indexing_comp(data, m->level[level].next->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:50:32: note: expanded from macro 'indexing_comp' ((((Skiplist *) a)->compare) < (((Skiplist *) b)->compare))?-1: \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:368:22: warning: ordered comparison of function pointers ('SkiplistComparator' (aka 'int (*)(const void *, const void *)') and 'SkiplistComparator') compared = indexing_compk(data, m->level[level].next->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:54:28: note: expanded from macro 'indexing_compk' ((SkiplistComparator)(a) < (((Skiplist *) b)->compare))?-1: \ ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ skiplist.c:435:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *((int *) 0) = 0; ^~~~~~~~~~~~ skiplist.c:435:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' --- perl.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c perl.c --- echash.o --- In file included from echash.c:27: In file included from ./sld_config.h:42: In file included from ./sld_defines.h:111: --- skiplist.o --- 9 warnings generated. --- echash.o --- In file included from ./config.h:17: --- y.tab.o --- --- echash.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- y.tab.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c y.tab.c --- perlxsi.o --- --- echash.o --- 2 warnings generated. --- lex.sld_.o --- --- perlxsi.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c perlxsi.c --- lex.sld_.o --- clang -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPERL -O2 -I/usr/pkg/include/spread -I/usr/pkg/include -I/usr/include `/usr/pkg/bin/perl -MExtUtils::Embed -e ccopts` -c lex.sld_.c --- y.tab.o --- In file included from config_gram.y:12: In file included from ./sld_config.h:42: --- lex.sld_.o --- In file included from config_gram.l:12: --- y.tab.o --- In file included from ./sld_defines.h:104: --- lex.sld_.o --- In file included from ./sld_config.h:42: In file included from ./sld_defines.h:104: --- y.tab.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- lex.sld_.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] --- y.tab.o --- In file included from config_gram.y:12: --- lex.sld_.o --- #warning "Use -I/usr/include/gnu and instead of " ^ --- y.tab.o --- In file included from ./sld_config.h:42: --- lex.sld_.o --- In file included from config_gram.l:12: --- y.tab.o --- In file included from ./sld_defines.h:111: --- lex.sld_.o --- In file included from ./sld_config.h:42: --- y.tab.o --- In file included from ./config.h:17: --- lex.sld_.o --- In file included from ./sld_defines.h:111: In file included from ./config.h:17: --- y.tab.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- lex.sld_.o --- /usr/include/gnuregex.h:31:2: warning: "Use -I/usr/include/gnu and instead of " [-W#warnings] #warning "Use -I/usr/include/gnu and instead of " ^ --- y.tab.o --- y.tab.c:454:18: warning: implicit declaration of function 'sld_lex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:153:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ y.tab.c:22:20: note: expanded from macro 'yylex' #define yylex sld_lex ^ config_gram.y:51:4: warning: implicit declaration of function 'module_load' is invalid in C99 [-Wimplicit-function-declaration] { module_load(yystack.l_mark[0], NULL); } ^ config_gram.y:53:4: warning: implicit declaration of function 'module_load' is invalid in C99 [-Wimplicit-function-declaration] { module_load(yystack.l_mark[-1], yystack.l_mark[0]); } ^ config_gram.y:57:4: warning: implicit declaration of function 'perl_inc' is invalid in C99 [-Wimplicit-function-declaration] perl_inc(yystack.l_mark[0]); ^ config_gram.y:66:4: warning: implicit declaration of function 'perl_use' is invalid in C99 [-Wimplicit-function-declaration] perl_use(yystack.l_mark[0]); ^ y.tab.c:732:22: warning: implicit declaration of function 'sld_lex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ y.tab.c:153:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ y.tab.c:22:20: note: expanded from macro 'yylex' #define yylex sld_lex ^ 8 warnings generated. --- lex.sld_.o --- 2 warnings generated. --- spreadlogd --- clang -g -o spreadlogd spreadlogd.o lex.sld_.o y.tab.o config.o hash.o timefuncs.o module.o nethelp.o skiplist.o echash.o perl.o perlxsi.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-freebsd-thread-multi/CORE `/usr/pkg/bin/perl -MExtUtils::Embed -e ldopts` -lspread -levent -ldl config.o: In function `config_add_logfacility_match': config.c:(.text+0x592): undefined reference to `re_set_syntax' config.c:(.text+0x5b5): undefined reference to `re_compile_pattern' config.o: In function `config_get_fd': config.c:(.text+0xd36): undefined reference to `re_search' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [spreadlogd] Error code 1 bmake: stopped in /var/pkgsrc/work/net/spreadlogd/work/spreadlogd-2.0.0 1 error bmake: stopped in /var/pkgsrc/work/net/spreadlogd/work/spreadlogd-2.0.0 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/spreadlogd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/spreadlogd