=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for bird6-1.6.3 /usr/pkg/bin/gmake -C obj all gmake[1]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj' echo >sysdep/paths.h "/* Generated by Makefile, don't edit manually! */" /usr/pkg/bin/gmake depend echo >>sysdep/paths.h "#define PATH_CONFIG_FILE \"/usr/pkg/etc/bird6.conf\"" gmake[2]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj' echo >>sysdep/paths.h "#define PATH_CONTROL_SOCKET \"/var/run/bird6.ctl\"" if test -n "" ; then echo >>sysdep/paths.h "#define PATH_IPROUTE_DIR \"\"" ; fi mkdir -p nest filter proto/bfd proto/bgp proto/ospf proto/pipe proto/radv proto/rip proto/static proto/babel client doc mkdir -p nest filter proto/bfd proto/bgp proto/ospf proto/pipe proto/radv proto/rip proto/static proto/babel client doc touch .dir-stamp touch .dir-stamp set -e ; for a in lib conf ; do /usr/pkg/bin/gmake -C $a depend ; done gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/lib' clang -I../ -I../.. -I/usr/pkg/include -I/usr/include -MM bitops.c checksum.c event.c io.c ip.c krt-sock.c krt.c lists.c log.c mac.c main.c md5.c mempool.c patmatch.c printf.c random.c resource.c sha1.c sha256.c sha512.c slab.c slists.c tbf.c xmalloc.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/lib' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/conf' gm4 -P ../../conf/gen_keywords.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/bsd/krt-sock.Y ../../sysdep/unix/krt.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/radv/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y ../../proto/babel/config.Y >keywords.h gm4 -P ../../conf/gen_commands.m4 ../../client/cmds.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/bsd/krt-sock.Y ../../sysdep/unix/krt.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/radv/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y ../../proto/babel/config.Y | sort >commands.h gm4 -P ../../conf/gen_parser.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/bsd/krt-sock.Y ../../sysdep/unix/krt.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/radv/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y ../../proto/babel/config.Y >cf-parse.y /data/scratch/net/bird6/work/.tools/bin/flex -s -B -8 -ocf-lex.c -Pcf_ cf-lex.l /data/scratch/net/bird6/work/.tools/bin/bison -bcf-parse -dv -pcf_ cf-parse.y clang -I../ -I../.. -I/usr/pkg/include -I/usr/include -MM cf-parse.tab.c cf-lex.c conf.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/conf' set -e ; for a in nest filter proto/bfd proto/bgp proto/ospf proto/pipe proto/radv proto/rip proto/static proto/babel client ; do /usr/pkg/bin/gmake -C $a -f /data/scratch/net/bird6/work/bird-1.6.3/$a/Makefile depend ; done gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/nest' clang -I../ -I../.. -I/usr/pkg/include -I/usr/include -MM ../../nest/rt-table.c ../../nest/rt-fib.c ../../nest/rt-attr.c ../../nest/rt-roa.c ../../nest/proto.c ../../nest/iface.c ../../nest/rt-dev.c ../../nest/password.c ../../nest/cli.c ../../nest/locks.c ../../nest/cmds.c ../../nest/neighbor.c ../../nest/a-path.c ../../nest/a-set.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/nest' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/filter' clang -I../ -I../.. -I/usr/pkg/include -I/usr/include -MM ../../filter/f-util.c ../../filter/filter.c ../../filter/tree.c ../../filter/trie.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/filter' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/bfd' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/bfd/bfd.c ../../../proto/bfd/packets.c ../../../proto/bfd/io.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/bfd' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/bgp' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/bgp/bgp.c ../../../proto/bgp/attrs.c ../../../proto/bgp/packets.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/bgp' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/ospf' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/ospf/ospf.c ../../../proto/ospf/topology.c ../../../proto/ospf/packet.c ../../../proto/ospf/hello.c ../../../proto/ospf/neighbor.c ../../../proto/ospf/iface.c ../../../proto/ospf/dbdes.c ../../../proto/ospf/lsreq.c ../../../proto/ospf/lsupd.c ../../../proto/ospf/lsack.c ../../../proto/ospf/lsalib.c ../../../proto/ospf/rt.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/ospf' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/pipe' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/pipe/pipe.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/pipe' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/radv' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/radv/radv.c ../../../proto/radv/packets.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/radv' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/rip' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/rip/rip.c ../../../proto/rip/packets.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/rip' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/static' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/static/static.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/static' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/babel' clang -I../../ -I../../.. -I/usr/pkg/include -I/usr/include -MM ../../../proto/babel/babel.c ../../../proto/babel/packets.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/proto/babel' gmake[3]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/client' clang -I../ -I../.. -I/usr/pkg/include -I/usr/include -MM ../../client/commands.c ../../client/util.c ../../client/client.c ../../client/birdc.c ../../client/birdcl.c >depend gmake[3]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/client' gmake[2]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj' touch .dep-stamp set -e ; for a in lib conf ; do /usr/pkg/bin/gmake -C $a subdir ; done gmake[2]: Entering directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/lib' CC -o event.o -c event.c CC -o checksum.o -c checksum.c CC -o io.o -c io.c CC -o ip.o -c ip.c CC -o krt-sock.o -c krt-sock.c CC -o krt.o -c krt.c CC -o mac.o -c mac.c CC -o log.o -c log.c CC -o main.o -c main.c CC -o mempool.o -c mempool.c CC -o lists.o -c lists.c CC -o md5.o -c md5.c CC -o random.o -c random.c CC -o printf.o -c printf.c CC -o bitops.o -c bitops.c CC -o patmatch.o -c patmatch.c io.c:351:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (m = n->next) ~~^~~~~~~~~ io.c:351:16: note: place parentheses around the assignment to silence this warning while (m = n->next) ^ ( ) io.c:351:16: note: use '==' to turn this assignment into an equality comparison while (m = n->next) ^ == krt.c:158:49: warning: passing 'char [16]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!it->pattern || patmatch(it->pattern, i->name)) ^~~~~~~ ../lib/string.h:25:43: note: passing argument to parameter 'str' here int patmatch(const byte *pat, const byte *str); ^ krt.c:159:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = find_preferred_ifa(i, it->prefix, ipa_mkmask(it->pxlen))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ krt.c:159:8: note: place parentheses around the assignment to silence this warning if (a = find_preferred_ifa(i, it->prefix, ipa_mkmask(it->pxlen))) ^ ( ) krt.c:159:8: note: use '==' to turn this assignment into an equality comparison if (a = find_preferred_ifa(i, it->prefix, ipa_mkmask(it->pxlen))) ^ == krt.c:163:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = kif_get_primary_ip(i)) ~~^~~~~~~~~~~~~~~~~~~~~~~ krt.c:163:9: note: place parentheses around the assignment to silence this warning if (a = kif_get_primary_ip(i)) ^ ( ) krt.c:163:9: note: use '==' to turn this assignment into an equality comparison if (a = kif_get_primary_ip(i)) ^ == io.c:1298:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((getsockname(s->fd, &sa.sa, &sa_len) < 0) || ^~~~~~~ /usr/include/sys/socket.h:651:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:1314:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] int fd = accept(s->fd, ((type == SK_TCP) ? &rem_sa.sa : NULL), &rem_sa_len); ^~~~~~~~~~~ /usr/include/sys/socket.h:646:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:1333:38: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((getsockname(fd, &loc_sa.sa, &loc_sa_len) < 0) || ^~~~~~~~~~~ /usr/include/sys/socket.h:651:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:1382:12: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] s->ttx = ""; /* Force s->ttx != s->tpos */ ^ ~~ krt.c:376:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(mm=&n->routes; m = *mm; mm=&m->next) ~~^~~~~ krt.c:376:24: note: place parentheses around the assignment to silence this warning for(mm=&n->routes; m = *mm; mm=&m->next) ^ ( ) krt.c:376:24: note: use '==' to turn this assignment into an equality comparison for(mm=&n->routes; m = *mm; mm=&m->next) ^ == krt.c:430:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (e = *ee) ~~^~~~~ krt.c:430:16: note: place parentheses around the assignment to silence this warning while (e = *ee) ^ ( ) krt.c:430:16: note: use '==' to turn this assignment into an equality comparison while (e = *ee) ^ == krt.c:491:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(gg=&n->routes; g = *gg; gg = &g->next) ~~^~~~~ krt.c:491:24: note: place parentheses around the assignment to silence this warning for(gg=&n->routes; g = *gg; gg = &g->next) ^ ( ) krt.c:491:24: note: use '==' to turn this assignment into an equality comparison for(gg=&n->routes; g = *gg; gg = &g->next) ^ == krt.c:529:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(gg=&n->routes; g=*gg; gg=&g->next) ~^~~~ krt.c:529:23: note: place parentheses around the assignment to silence this warning for(gg=&n->routes; g=*gg; gg=&g->next) ^ ( ) krt.c:529:23: note: use '==' to turn this assignment into an equality comparison for(gg=&n->routes; g=*gg; gg=&g->next) ^ == io.c:1863:54: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(s->fd, SOL_SOCKET, SO_ERROR, &se, &sse) < 0) ^~~~ /usr/include/sys/socket.h:652:71: note: passing argument to parameter here int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^ krt.c:1250:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bsprintf(buf, "source"); ^~~ ../lib/string.h:16:20: note: passing argument to parameter 'str' here int bsprintf(char *str, const char *fmt, ...); ^ krt.c:1254:14: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bsprintf(buf, "metric"); ^~~ ../lib/string.h:16:20: note: passing argument to parameter 'str' here int bsprintf(char *str, const char *fmt, ...); ^ mempool.c:194:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = m->first_large) ~~^~~~~~~~~~~~~~~~ mempool.c:194:12: note: place parentheses around the assignment to silence this warning while (c = m->first_large) ^ ( ) mempool.c:194:12: note: use '==' to turn this assignment into an equality comparison while (c = m->first_large) ^ == ip.c:309:44: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (*a == '.' && (i == 6 || i < 6 && hfil >= 0)) ~~ ~~~~~~^~~~~~~~~~~~ ip.c:309:44: note: place parentheses around the '&&' expression to silence this warning else if (*a == '.' && (i == 6 || i < 6 && hfil >= 0)) ^ ( ) krt-sock.c:352:15: error: use of undeclared identifier 'RTF_LLINFO' if (flags & RTF_LLINFO) ^ 1 error generated. CC -o resource.o -c resource.c ../Rules:77: recipe for target 'krt-sock.o' failed gmake[2]: *** [krt-sock.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 1 warning generated. main.c:194:38: warning: passing 'char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] struct config *conf = config_alloc(name); ^~~~ ../conf/conf.h:64:41: note: passing argument to parameter 'name' here struct config *config_alloc(const byte *name); ^ log.c:109:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(buf->end - 100, " ... "); ^~~~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ log.c:123:27: warning: passing 'byte [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tm_format_datetime(tbuf, &config->tf_log, now); ^~~~ ../lib/timer.h:78:26: note: passing argument to parameter 'x' here tm_format_datetime(char *x, struct timeformat *fmt_spec, bird_clock_t t); ^ log.c:126:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fputs(buf->start, l->fh); ^~~~~~~~~~ /usr/include/stdio.h:234:35: note: passing argument to parameter here int fputs(const char * __restrict, FILE * __restrict); ^ 1 warning generated. 3 warnings generated. resource.c:79:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (rr = (resource *) r->n.next) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ resource.c:79:13: note: place parentheses around the assignment to silence this warning while (rr = (resource *) r->n.next) ^ ( ) resource.c:79:13: note: use '==' to turn this assignment into an equality comparison while (rr = (resource *) r->n.next) ^ == resource.c:246:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = pool_lookup(&root_pool.r, a)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.c:246:9: note: place parentheses around the assignment to silence this warning if (r = pool_lookup(&root_pool.r, a)) ^ ( ) resource.c:246:9: note: use '==' to turn this assignment into an equality comparison if (r = pool_lookup(&root_pool.r, a)) ^ == 1 warning generated. 9 warnings generated. 2 warnings generated. 6 warnings generated. gmake[2]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj/lib' Makefile:36: recipe for target 'subdir' failed gmake[1]: *** [subdir] Error 2 gmake[1]: Leaving directory '/data/scratch/net/bird6/work/bird-1.6.3/obj' Makefile:7: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/bird6 *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/bird6