=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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'.
===> Installing for mrt-2.2.2a.20000811nb1
=> Generating pre-install file lists
=> Creating installation directories
Making lib
cd bgp_attr; /usr/bin/make
cd bgp_proto; /usr/bin/make
cd config; /usr/bin/make
cd filter; /usr/bin/make
cd io; /usr/bin/make
cd kernel; /usr/bin/make
gcc -c -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include socket.c
In file included from socket.c:5:
In file included from ../../include/mrt.h:82:
In file included from ../../include/assert.h:10:
In file included from ../../include/trace.h:14:
In file included from ../../include/mrt_thread.h:11:
../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined
#define pthread_sigmask(a,b,c)    sigprocmask(a,b,c)
        ^
/usr/include/signal.h:73:9: note: previous definition is here
#define pthread_sigmask         __libc_thr_sigsetmask
        ^
socket.c:144:12: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        &value, &len) < 0) {
                                ^~~~
/usr/include/sys/socket.h:618:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
socket.c:399:21: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        (char *) &value, &len) < 0) {
                                         ^~~~
/usr/include/sys/socket.h:618:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
socket.c:986:43: error: no member named 'ipi_spec_dst' in 'struct in_pktinfo'
                    dstaddr.sin.sin_addr.s_addr = info->ipi_spec_dst.s_addr;
                                                  ~~~~  ^
socket.c:1305:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        ret = getpeername (sockfd, (struct sockaddr *) &anyaddr, &len);
                                                                 ^~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
socket.c:1307:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        ret = getsockname (sockfd, (struct sockaddr *) &anyaddr, &len);
                                                                 ^~~~
/usr/include/sys/socket.h:617:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
5 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/mrt/work/mrt/src/lib/kernel
cd mrt; /usr/bin/make
cd pim; /usr/bin/make
cd portserver; /usr/bin/make
cd radix; /usr/bin/make
cd rib; /usr/bin/make
cd rip; /usr/bin/make
cd struct; /usr/bin/make
cd timer; /usr/bin/make
Installing programs
cd bgpsim; /usr/bin/make
gcc -Wl,-R/usr/pkg/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim -lresolv
../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway':
bgp_util.c:(.text+0x34): undefined reference to `get_socket_addr'
bgp_util.c:(.text+0x4b): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection':
bgp_util.c:(.text+0x32f): undefined reference to `socket_reuse'
../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open':
bgp_util.c:(.text+0x790): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen':
bgp_util.c:(.text+0x186b): undefined reference to `socket_reuse'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/net/mrt/work/mrt/src/programs/bgpsim
cd mrtd; /usr/bin/make
gcc -Wl,-R/usr/pkg/lib mrtd.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librip.a ../../lib/libpim.a ../../lib/librib.a ../../lib/libmrt.a -o mrtd -lresolv
mrtd.o: In function `main':
mrtd.c:(.text+0x398): undefined reference to `igmp_init'
mrtd.c:(.text+0x3a5): undefined reference to `igmp_init'
../../lib/libcfg.a(multiconf.o): In function `config_multicast_init':
multiconf.c:(.text+0x7): undefined reference to `IGMP'
multiconf.c:(.text+0x31): undefined reference to `IGMP'
multiconf.c:(.text+0x103): undefined reference to `IGMP'
multiconf.c:(.text+0x11b): undefined reference to `igmp_show_group'
multiconf.c:(.text+0x165): undefined reference to `IGMPv6'
multiconf.c:(.text+0x17d): undefined reference to `igmp6_show_group'
multiconf.c:(.text+0x1c7): undefined reference to `IGMPv6'
multiconf.c:(.text+0x1f1): undefined reference to `IGMPv6'
../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway':
bgp_util.c:(.text+0x34): undefined reference to `get_socket_addr'
bgp_util.c:(.text+0x4b): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection':
bgp_util.c:(.text+0x32f): undefined reference to `socket_reuse'
../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open':
bgp_util.c:(.text+0x790): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen':
bgp_util.c:(.text+0x186b): undefined reference to `socket_reuse'
../../lib/librip.a(rip2.o): In function `rip2_init_listen':
rip2.c:(.text+0x49f): undefined reference to `socket_open'
rip2.c:(.text+0x4b5): undefined reference to `socket_reuse'
rip2.c:(.text+0x4c1): undefined reference to `socket_broadcast'
rip2.c:(.text+0x4ca): undefined reference to `ip_multicast_loop'
rip2.c:(.text+0x4d6): undefined reference to `ip_recvttl'
rip2.c:(.text+0x4e2): undefined reference to `ip_pktinfo'
../../lib/librip.a(rip2.o): In function `rip2_send_request':
rip2.c:(.text+0x73f): undefined reference to `send_packet'
../../lib/librip.a(rip2.o): In function `rip2_interface':
rip2.c:(.text+0x807): undefined reference to `join_leave_group'
rip2.c:(.text+0x88a): undefined reference to `send_packet'
../../lib/librip.a(rip2.o): In function `rip2_send_update':
rip2.c:(.text+0xa7b): undefined reference to `send_packet'
rip2.c:(.text+0xc2f): undefined reference to `send_packet'
../../lib/librip.a(rip2.o): In function `rip2_receive_update':
rip2.c:(.text+0xd60): undefined reference to `recvmsgfrom'
../../lib/librip.a(ripng.o): In function `ripng_init_listen':
ripng.c:(.text+0x4cf): undefined reference to `socket_open'
ripng.c:(.text+0x4e5): undefined reference to `socket_reuse'
ripng.c:(.text+0x503): undefined reference to `socket_rcvbuf'
ripng.c:(.text+0x50c): undefined reference to `ipv6_multicast_loop'
ripng.c:(.text+0x518): undefined reference to `ipv6_pktinfo'
ripng.c:(.text+0x524): undefined reference to `ipv6_recvhops'
ripng.c:(.text+0x530): undefined reference to `ipv6_multicast_hops'
ripng.c:(.text+0x53c): undefined reference to `ipv6_unicast_hops'
../../lib/librip.a(ripng.o): In function `ripng_send_request':
ripng.c:(.text+0x766): undefined reference to `send_packet'
../../lib/librip.a(ripng.o): In function `ripng_interface':
ripng.c:(.text+0x7e5): undefined reference to `join_leave_group'
ripng.c:(.text+0x863): undefined reference to `send_packet'
../../lib/librip.a(ripng.o): In function `ripng_send_update':
ripng.c:(.text+0xcc6): undefined reference to `send_packet'
../../lib/librip.a(ripng.o): In function `ripng_receive_update':
ripng.c:(.text+0xe07): undefined reference to `recvmsgfrom'
../../lib/libpim.a(dvmrp.o): In function `recv_dvmrp':
dvmrp.c:(.text+0x9d4): undefined reference to `IGMP'
dvmrp.c:(.text+0x9dc): undefined reference to `igmp_is_querier'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_send':
dvmrp.c:(.text+0x1d10): undefined reference to `IGMP'
dvmrp.c:(.text+0x1da4): undefined reference to `igmp_send'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_advertise_route':
dvmrp.c:(.text+0x2315): undefined reference to `IGMP'
dvmrp.c:(.text+0x23b8): undefined reference to `igmp_send'
dvmrp.c:(.text+0x264d): undefined reference to `IGMP'
dvmrp.c:(.text+0x26d7): undefined reference to `igmp_send'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_init':
dvmrp.c:(.text+0x2972): undefined reference to `IGMP'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_start':
dvmrp.c:(.text+0x3024): undefined reference to `IGMP'
dvmrp.c:(.text+0x3042): undefined reference to `IGMP'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_update_call_fn':
dvmrp.c:(.text+0x33f5): undefined reference to `igmp_test_membership'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_stop':
dvmrp.c:(.text+0x368a): undefined reference to `IGMP'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_activate_interface':
dvmrp.c:(.text+0x4235): undefined reference to `igmp_interface'
dvmrp.c:(.text+0x4546): undefined reference to `IGMP'
dvmrp.c:(.text+0x45b4): undefined reference to `IGMP'
dvmrp.c:(.text+0x45c5): undefined reference to `join_leave_group'
dvmrp.c:(.text+0x4653): undefined reference to `igmp_interface'
../../lib/libpim.a(dvmrp.o): In function `dvmrp_send_probe':
dvmrp.c:(.text+0x4d0e): undefined reference to `IGMP'
dvmrp.c:(.text+0x4dae): undefined reference to `igmp_send'
../../lib/libpim.a(pim.o): In function `pim_receive':
pim.c:(.text+0xe4): undefined reference to `recvmsgfrom'
pim.c:(.text+0x25e): undefined reference to `recvmsgfrom'
pim.c:(.text+0x471): undefined reference to `inet_cksum'
../../lib/libpim.a(pim.o): In function `pim_send':
pim.c:(.text+0x2310): undefined reference to `inet_cksum'
pim.c:(.text+0x2325): undefined reference to `inet_cksum'
pim.c:(.text+0x2514): undefined reference to `inet6_cksum'
pim.c:(.text+0x2538): undefined reference to `inet_cksum'
pim.c:(.text+0x2582): undefined reference to `send_packet'
../../lib/libpim.a(pim.o): In function `pim_init':
pim.c:(.text+0x2617): undefined reference to `IGMPv6'
pim.c:(.text+0x263f): undefined reference to `IGMP'
../../lib/libpim.a(pim.o): In function `pim_activate_interface':
pim.c:(.text+0x34f2): undefined reference to `igmp_interface'
pim.c:(.text+0x354c): undefined reference to `socket_open'
pim.c:(.text+0x355f): undefined reference to `socket_reuse'
pim.c:(.text+0x356c): undefined reference to `socket_rcvbuf'
pim.c:(.text+0x3579): undefined reference to `ip_hdrincl'
pim.c:(.text+0x3583): undefined reference to `ip_multicast_loop'
pim.c:(.text+0x3590): undefined reference to `ip_pktinfo'
pim.c:(.text+0x359d): undefined reference to `ip_recvttl'
pim.c:(.text+0x35f4): undefined reference to `socket_open'
pim.c:(.text+0x3607): undefined reference to `socket_reuse'
pim.c:(.text+0x3614): undefined reference to `socket_rcvbuf'
pim.c:(.text+0x361e): undefined reference to `ipv6_multicast_loop'
pim.c:(.text+0x362b): undefined reference to `ipv6_pktinfo'
pim.c:(.text+0x3638): undefined reference to `ipv6_recvhops'
pim.c:(.text+0x3645): undefined reference to `ipv6_multicast_hops'
pim.c:(.text+0x3891): undefined reference to `join_leave_group'
pim.c:(.text+0x397b): undefined reference to `igmp_interface'
pim.c:(.text+0x3c31): undefined reference to `igmp_interface'
../../lib/libpim.a(pim.o): In function `pim_update_call_fn':
pim.c:(.text+0x4334): undefined reference to `igmp_test_membership'
pim.c:(.text+0x446b): undefined reference to `igmp_test_membership'
../../lib/libpim.a(cache.o): In function `cache_update_mfc':
cache.c:(.text+0x1b2): undefined reference to `mc_add_mfc'
cache.c:(.text+0x1d6): undefined reference to `mc6_add_mfc'
../../lib/libpim.a(cache.o): In function `cache_control_from_kernel':
cache.c:(.text+0xb5e): undefined reference to `mc_del_mfc'
cache.c:(.text+0xb76): undefined reference to `mc6_del_mfc'
../../lib/libpim.a(cache.o): In function `cache_init':
cache.c:(.text+0xd5a): undefined reference to `IGMPv6'
cache.c:(.text+0xd84): undefined reference to `IGMP'
../../lib/libpim.a(cache.o): In function `cache_timer_expire':
cache.c:(.text+0x1011): undefined reference to `mc6_req_mfc'
cache.c:(.text+0x1035): undefined reference to `mc_req_mfc'
cache.c:(.text+0x109a): undefined reference to `mc_del_mfc'
cache.c:(.text+0x10ae): undefined reference to `mc6_del_mfc'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/net/mrt/work/mrt/src/programs/mrtd
cd ricd; /usr/bin/make
gcc -Wl,-R/usr/pkg/lib ricd.o hqlip.o ricdconf.o area.o  srsvp.o qif.o  ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a -o ricd -lresolv
hqlip.o: In function `hqlip_activate_interface':
hqlip.c:(.text+0xc97): undefined reference to `join_leave_group'
hqlip.o: In function `hqlip_vif_udp_init':
hqlip.c:(.text+0xeb2): undefined reference to `socket_open'
hqlip.c:(.text+0xec8): undefined reference to `socket_reuse'
hqlip.c:(.text+0xeda): undefined reference to `socket_bind_port'
hqlip.c:(.text+0xeed): undefined reference to `ipv6_pktinfo'
hqlip.c:(.text+0xef9): undefined reference to `ipv6_recvhops'
hqlip.c:(.text+0xf07): undefined reference to `ip_pktinfo'
hqlip.c:(.text+0xf13): undefined reference to `ip_recvttl'
hqlip.c:(.text+0xf6a): undefined reference to `socket_open'
hqlip.c:(.text+0xf80): undefined reference to `socket_reuse'
hqlip.c:(.text+0xf9e): undefined reference to `join_leave_group'
hqlip.c:(.text+0xfb1): undefined reference to `socket_bind_port'
hqlip.c:(.text+0xfc4): undefined reference to `ipv6_multicast_loop'
hqlip.c:(.text+0xfd0): undefined reference to `ipv6_multicast_hops'
hqlip.c:(.text+0xfdc): undefined reference to `ipv6_pktinfo'
hqlip.c:(.text+0xfe8): undefined reference to `ipv6_recvhops'
hqlip.c:(.text+0xff6): undefined reference to `ip_multicast_loop'
hqlip.c:(.text+0x1002): undefined reference to `ip_multicast_hops'
hqlip.c:(.text+0x100e): undefined reference to `ip_pktinfo'
hqlip.c:(.text+0x101a): undefined reference to `ip_recvttl'
hqlip.o: In function `hqlip_vif_tcp_init':
hqlip.c:(.text+0x10ba): undefined reference to `socket_open'
hqlip.c:(.text+0x10cc): undefined reference to `socket_reuse'
hqlip.c:(.text+0x10de): undefined reference to `socket_bind_port'
hqlip.o: In function `hqlip_send_hello':
hqlip.c:(.text+0x1956): undefined reference to `send_packet'
hqlip.o: In function `hqlip_open_accept':
hqlip.c:(.text+0x5aeb): undefined reference to `get_socket_addr'
hqlip.o: In function `hqlip_register_neighbor':
hqlip.c:(.text+0x62cf): undefined reference to `socket_bind_port'
hqlip.o: In function `hqlip_recv_hello':
hqlip.c:(.text+0x965b): undefined reference to `recvmsgfrom'
srsvp.o: In function `srsvp_vif_tcp_init':
srsvp.c:(.text+0xb4a): undefined reference to `socket_open'
srsvp.c:(.text+0xb5c): undefined reference to `socket_reuse'
srsvp.c:(.text+0xb6e): undefined reference to `socket_bind_port'
srsvp.o: In function `srsvp_open_accept':
srsvp.c:(.text+0x38bb): undefined reference to `get_socket_addr'
srsvp.o: In function `srsvp_keep_alive':
srsvp.c:(.text+0x666f): undefined reference to `get_socket_addr'
srsvp.o: In function `srsvp_tcp_connect':
srsvp.c:(.text+0x6740): undefined reference to `socket_bind_port'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/net/mrt/work/mrt/src/programs/ricd
cd route_atob; /usr/bin/make
/usr/bin/install -c -o pbulkXXX -g users -m 755 route_atob /scratch/net/mrt/work/.destdir/usr/pkg/sbin/route_atob
cd route_btoa; /usr/bin/make
/usr/bin/install -c -o pbulkXXX -g users -m 755 route_btoa /scratch/net/mrt/work/.destdir/usr/pkg/sbin/route_btoa
cd sbgp; /usr/bin/make
gcc -Wl,-R/usr/pkg/lib simple_bgp.o ../../lib/libbgp.a ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a ../../lib/libbgp.a -o sbgp -lresolv
../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway':
bgp_util.c:(.text+0x34): undefined reference to `get_socket_addr'
bgp_util.c:(.text+0x4b): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection':
bgp_util.c:(.text+0x32f): undefined reference to `socket_reuse'
../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open':
bgp_util.c:(.text+0x790): undefined reference to `get_socket_addr'
../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen':
bgp_util.c:(.text+0x186b): undefined reference to `socket_reuse'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/net/mrt/work/mrt/src/programs/sbgp
/bin/cat /data/pkgsrc/net/mrt/PLIST.pre >/scratch/net/mrt/work/mrt/src/.PLIST_SRC
/usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/net/mrt/work/mrt/src/programs/*/*.conf  /scratch/net/mrt/work/.destdir/usr/pkg/share/examples/mrt
(cd /scratch/net/mrt/work/.destdir/usr/pkg; /usr/bin/find share/examples/mrt -type f -print  >> /scratch/net/mrt/work/mrt/src/.PLIST_SRC)
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim'
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/sbin/mrtd'
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/sbin/sbgp'
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/sbin/ricd'
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8'
pkg_create: can't stat `/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8'
=> Checking file-check results for mrt-2.2.2a.20000811nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /scratch/net/mrt/work/.destdir/usr/pkg:
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/sbin/mrtd
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/sbin/ricd
ERROR:         /scratch/net/mrt/work/.destdir/usr/pkg/sbin/sbgp
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/mrt
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/mrt
