* Package: net-misc/bird-1.6.3 * Repository: gentoo * Maintainer: chainsaw@gentoo.org * USE: abi_x86_64 amd64 debug elibc_glibc ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bird-1.6.3.tar.gz to /var/tmp/portage/net-misc/bird-1.6.3/work >>> Source unpacked in /var/tmp/portage/net-misc/bird-1.6.3/work >>> Preparing source in /var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3 ... * econf: updating bird-1.6.3/ipv6/tools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating bird-1.6.3/ipv6/tools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bird-1.6.3/tools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bird-1.6.3/tools/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/bird-1.6.3 --htmldir=/usr/share/doc/bird-1.6.3/html --libdir=/usr/lib64 --enable-client --disable-ipv6 --localstatedir=/var --enable-debug configure: loading site script /usr/share/config.site checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for library containing clock_gettime... none required checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether POSIX threads are available... yes checking CFLAGS... -O2 -pipe -march=native -Wall -pthread checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for flex... flex checking for bison... bison checking for gm4... no checking for m4... m4 checking which OS configuration should we use... ./sysdep/cf/linux.h checking system-dependent directories... sysdep/linux sysdep/unix lib checking protocols... ok checking for linux/rtnetlink.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether 'struct sockaddr' has sa_len... no checking whether byte ordering is bigendian... no checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking for 8-bit type... char checking for 16-bit type... short int checking for 32-bit type... int checking for 64-bit type... long int checking usual alignment of structures... 16 checking characteristics of time_t... 64-bit signed checking for struct ip_mreqn... yes checking for dmalloc_debug in -ldmalloc... yes checking for add_history in -lhistory... yes checking for tgetent in -lncurses... yes checking for rl_callback_read_char in -lreadline... yes checking for rl_crlf in -lreadline... yes checking for rl_ding in -lreadline... yes configure: creating ./config.status config.status: creating Makefile config.status: creating obj/Makefile config.status: creating obj/Rules config.status: creating obj/sysdep/autoconf.h config.status: executing merge commands Merging system-dependent modules (sysdep/linux sysdep/unix lib) BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: /etc/iproute2 System configuration: ./sysdep/cf/linux.h Debugging: yes POSIX threads: yes Routing protocols: bfd bgp ospf pipe rip static Client: yes * econf: updating bird-1.6.3/ipv6/tools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bird-1.6.3/ipv6/tools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating bird-1.6.3/tools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating bird-1.6.3/tools/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/bird-1.6.3 --htmldir=/usr/share/doc/bird-1.6.3/html --libdir=/usr/lib64 --enable-client --enable-ipv6 --localstatedir=/var --enable-debug configure: loading site script /usr/share/config.site checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for library containing clock_gettime... none required checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether POSIX threads are available... yes checking CFLAGS... -O2 -pipe -march=native -Wall -pthread checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for flex... flex checking for bison... bison checking for gm4... no checking for m4... m4 checking which OS configuration should we use... ./sysdep/cf/linux-v6.h checking system-dependent directories... sysdep/linux sysdep/unix lib checking protocols... ok checking for linux/rtnetlink.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether 'struct sockaddr' has sa_len... no checking whether byte ordering is bigendian... no checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking for 8-bit type... char checking for 16-bit type... short int checking for 32-bit type... int checking for 64-bit type... long int checking usual alignment of structures... 16 checking characteristics of time_t... 64-bit signed checking for struct ip_mreqn... yes checking for dmalloc_debug in -ldmalloc... yes checking for add_history in -lhistory... yes checking for tgetent in -lncurses... yes checking for rl_callback_read_char in -lreadline... yes checking for rl_crlf in -lreadline... yes checking for rl_ding in -lreadline... yes configure: creating ./config.status config.status: creating Makefile config.status: creating obj/Makefile config.status: creating obj/Rules config.status: creating obj/sysdep/autoconf.h config.status: executing merge commands Merging system-dependent modules (sysdep/linux sysdep/unix lib) BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: /etc/iproute2 System configuration: ./sysdep/cf/linux-v6.h Debugging: yes POSIX threads: yes Routing protocols: bfd bgp ospf pipe radv rip static babel Client: yes >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3 ... make -j1 make -C obj all make[1]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj' echo >sysdep/paths.h "/* Generated by Makefile, don't edit manually! */" echo >>sysdep/paths.h "#define PATH_CONFIG_FILE \"bird.conf\"" echo >>sysdep/paths.h "#define PATH_CONTROL_SOCKET \"bird.ctl\"" if test -n "/etc/iproute2" ; then echo >>sysdep/paths.h "#define PATH_IPROUTE_DIR \"/etc/iproute2\"" ; fi make depend make[2]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj' mkdir -p nest filter proto/bfd proto/bgp proto/ospf proto/pipe proto/rip proto/static client doc touch .dir-stamp set -e ; for a in lib conf ; do make -C $a depend ; done make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/lib' x86_64-pc-linux-gnu-gcc -I../ -I../.. -MM bitops.c checksum.c event.c io.c ip.c krt.c lists.c log.c mac.c main.c md5.c mempool.c netlink.c patmatch.c printf.c random.c resource.c sha1.c sha256.c sha512.c slab.c slists.c tbf.c xmalloc.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/lib' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/conf' m4 -P ../../conf/gen_keywords.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/unix/krt.Y ../../sysdep/linux/netlink.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y >keywords.h m4 -P ../../conf/gen_commands.m4 ../../client/cmds.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/unix/krt.Y ../../sysdep/linux/netlink.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y | sort >commands.h m4 -P ../../conf/gen_parser.m4 ../../conf/confbase.Y ../../sysdep/unix/config.Y ../../sysdep/unix/krt.Y ../../sysdep/linux/netlink.Y ../../nest/config.Y ../../filter/config.Y ../../proto/bfd/config.Y ../../proto/bgp/config.Y ../../proto/ospf/config.Y ../../proto/pipe/config.Y ../../proto/rip/config.Y ../../proto/static/config.Y >cf-parse.y bison -bcf-parse -dv -pcf_ cf-parse.y flex -s -B -8 -ocf-lex.c -Pcf_ cf-lex.l x86_64-pc-linux-gnu-gcc -I../ -I../.. -MM cf-parse.tab.c cf-lex.c conf.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/conf' set -e ; for a in nest filter proto/bfd proto/bgp proto/ospf proto/pipe proto/rip proto/static client ; do make -C $a -f /var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/$a/Makefile depend ; done make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/nest' x86_64-pc-linux-gnu-gcc -I../ -I../.. -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 make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/nest' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/filter' x86_64-pc-linux-gnu-gcc -I../ -I../.. -MM ../../filter/f-util.c ../../filter/filter.c ../../filter/tree.c ../../filter/trie.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/filter' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/bfd' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -MM ../../../proto/bfd/bfd.c ../../../proto/bfd/packets.c ../../../proto/bfd/io.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/bfd' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/bgp' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -MM ../../../proto/bgp/bgp.c ../../../proto/bgp/attrs.c ../../../proto/bgp/packets.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/bgp' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/ospf' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -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 make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/ospf' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/pipe' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -MM ../../../proto/pipe/pipe.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/pipe' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/rip' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -MM ../../../proto/rip/rip.c ../../../proto/rip/packets.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/rip' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/static' x86_64-pc-linux-gnu-gcc -I../../ -I../../.. -MM ../../../proto/static/static.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/proto/static' make[3]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/client' x86_64-pc-linux-gnu-gcc -I../ -I../.. -MM ../../client/commands.c ../../client/util.c ../../client/client.c ../../client/birdc.c ../../client/birdcl.c >depend make[3]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/client' make[2]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj' touch .dep-stamp set -e ; for a in lib conf ; do make -C $a subdir ; done make[2]: Entering directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/lib' CC -o bitops.o -c bitops.c In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from bitops.c:9: ../lib/string.h: In function ‘xstrdup’: ../lib/resource.h:92:23: warning: implicit declaration of function ‘_xmalloc_leap’ [-Wimplicit-function-declaration] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ ../lib/resource.h:92:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ CC -o checksum.o -c checksum.c In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from checksum.c:15: ../lib/string.h: In function ‘xstrdup’: ../lib/resource.h:92:23: warning: implicit declaration of function ‘_xmalloc_leap’ [-Wimplicit-function-declaration] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ ../lib/resource.h:92:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ CC -o event.o -c event.c In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from event.c:22: ../lib/string.h: In function ‘xstrdup’: ../lib/resource.h:92:23: warning: implicit declaration of function ‘_xmalloc_leap’ [-Wimplicit-function-declaration] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ ../lib/resource.h:92:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ CC -o io.o -c io.c In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from io.c:34: ../lib/string.h: In function ‘xstrdup’: ../lib/resource.h:92:23: warning: implicit declaration of function ‘_xmalloc_leap’ [-Wimplicit-function-declaration] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ ../lib/resource.h:92:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ ../lib/string.h:37:13: note: in expansion of macro ‘xmalloc’ char *z = xmalloc(l); ^~~~~~~ In file included from io.c:44:0: ../lib/sysio.h: In function ‘sk_process_cmsg4_ttl’: ../lib/sysio.h:149:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] s->rcv_ttl = * (int *) CMSG_DATA(cm); ^ io.c: In function ‘tm_shot’: io.c:351:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (m = n->next) ^~~~~ io.c: In function ‘sk_process_cmsg6_ttl’: io.c:707:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] s->rcv_ttl = * (int *) CMSG_DATA(cm); ^ io.c: In function ‘sk_alloc_bufs’: io.c:1052:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s->rbuf = s->rbuf_alloc = xmalloc(s->rbsize); ^ io.c:1055:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s->tbuf = s->tbuf_alloc = xmalloc(s->tbsize); ^ In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from io.c:34: io.c: In function ‘sk_free_bufs’: ../lib/resource.h:94:20: warning: implicit declaration of function ‘_xfree_leap’ [-Wimplicit-function-declaration] #define xfree(ptr) _xfree_leap(__FILE__, __LINE__, ptr) ^ io.c:1064:5: note: in expansion of macro ‘xfree’ xfree(s->rbuf_alloc); ^~~~~ io.c: In function ‘sk_set_rbsize’: io.c:1106:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s->rbuf_alloc = xmalloc(val); ^ io.c: In function ‘sk_set_tbsize’: io.c:1121:56: error: macro "xrealloc" passed 2 arguments, but takes just 1 s->tbuf = s->tbuf_alloc = xrealloc(s->tbuf_alloc, val); ^ io.c:1121:29: error: ‘xrealloc’ undeclared (first use in this function) s->tbuf = s->tbuf_alloc = xrealloc(s->tbuf_alloc, val); ^~~~~~~~ io.c:1121:29: note: each undeclared identifier is reported only once for each function it appears in io.c: In function ‘sk_tcp_connected’: io.c:1298:35: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] if ((getsockname(s->fd, &sa.sa, &sa_len) < 0) || ^ In file included from io.c:21:0: /usr/include/sys/socket.h:121:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ io.c: In function ‘sk_passive_connected’: io.c:1314:66: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] int fd = accept(s->fd, ((type == SK_TCP) ? &rem_sa.sa : NULL), &rem_sa_len); ^ In file included from io.c:21:0: /usr/include/sys/socket.h:237:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ io.c:1333:38: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness [-Wpointer-sign] if ((getsockname(fd, &loc_sa.sa, &loc_sa_len) < 0) || ^ In file included from io.c:21:0: /usr/include/sys/socket.h:121:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ io.c: In function ‘sk_open’: io.c:1382:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s->ttx = ""; /* Force s->ttx != s->tpos */ ^ io.c: In function ‘sk_err’: io.c:1863:54: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness [-Wpointer-sign] if (getsockopt(s->fd, SOL_SOCKET, SO_ERROR, &se, &sse) < 0) ^ In file included from io.c:21:0: /usr/include/sys/socket.h:213:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ In file included from ../lib/timer.h:14:0, from ../lib/birdlib.h:12, from ../../nest/bird.h:13, from io.c:34: io.c: In function ‘io_loop’: ../lib/resource.h:92:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define xmalloc(size) _xmalloc_leap(__FILE__, __LINE__, size) ^ io.c:2079:24: note: in expansion of macro ‘xmalloc’ struct pollfd *pfd = xmalloc(fdmax * sizeof(struct pollfd)); ^~~~~~~ io.c:2123:57: error: macro "xrealloc" passed 2 arguments, but takes just 1 pfd = xrealloc(pfd, fdmax * sizeof(struct pollfd)); ^ io.c:2123:14: error: ‘xrealloc’ undeclared (first use in this function) pfd = xrealloc(pfd, fdmax * sizeof(struct pollfd)); ^~~~~~~~ make[2]: *** [../Rules:78: io.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj/lib' make[1]: *** [Makefile:36: subdir] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3/obj' make: *** [Makefile:7: all] Error 2 * ERROR: net-misc/bird-1.6.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/bird-1.6.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/bird-1.6.3::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:bird-1.6.3:20170620-123855.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/bird-1.6.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/bird-1.6.3/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3' * S: '/var/tmp/portage/net-misc/bird-1.6.3/work/bird-1.6.3'