+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Installing for mrt-2.2.2a.20000811nb1
=> Generating pre-install file lists
=> Creating installation directories
Making lib
cd bgp_attr; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include aspath.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from aspath.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from aspath.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from aspath.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from aspath.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from aspath.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from aspath.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/bgp_attr
cd bgp_proto; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include bgp_util.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from bgp_util.c:6:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from bgp_util.c:6:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from bgp_util.c:6:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from bgp_util.c:6:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from bgp_util.c:6:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from bgp_util.c:6:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
bgp_util.c: In function 'bgp_start_transport_connection':
bgp_util.c:222:10: warning: variable 'llen' set but not used [-Wunused-but-set-variable]
  222 |      int llen;
      |          ^~~~
bgp_util.c: In function 'bgp_schedule_recv_in':
bgp_util.c:405:13: warning: variable 'authcode' set but not used [-Wunused-but-set-variable]
  405 |         int authcode;
      |             ^~~~~~~~
bgp_util.c:404:16: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable]
  404 |         u_long holdtime;
      |                ^~~~~~~~
bgp_util.c:403:13: warning: variable 'as' set but not used [-Wunused-but-set-variable]
  403 |         int as;
      |             ^~
bgp_util.c:402:13: warning: variable 'version' set but not used [-Wunused-but-set-variable]
  402 |         int version;
      |             ^~~~~~~
bgp_util.c: In function 'bgp_direct_in_recv_open':
bgp_util.c:464:9: warning: variable 'authcode' set but not used [-Wunused-but-set-variable]
  464 |     int authcode;
      |         ^~~~~~~~
bgp_util.c:463:12: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable]
  463 |     u_long holdtime;
      |            ^~~~~~~~
bgp_util.c:461:9: warning: variable 'version' set but not used [-Wunused-but-set-variable]
  461 |     int version;
      |         ^~~~~~~
bgp_util.c: In function 'bgp_make_tail':
bgp_util.c:2275:15: warning: pointer targets in initialization of 'char *' from 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
 2275 |  char *data = buffer->data;
      |               ^~~~~~
bgp_util.c: In function 'bgp_put_a_line':
bgp_util.c:2316:12: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign]
 2316 |      buffer->data);
      |      ~~~~~~^~~~~~
      |            |
      |            u_char * {aka unsigned char *}
In file included from ../../include/bgp.h:15,
                 from ../../include/aspath.h:182,
                 from ../../include/filter.h:8,
                 from ../../include/mrt.h:571,
                 from bgp_util.c:6:
../../include/rib.h:151:32: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  151 |  interface_t *interface, char *append);
      |                          ~~~~~~^~~~~~
bgp_util.c: In function 'bgp_dump_rtin':
bgp_util.c:2606:23: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign]
 2606 |           NULL, buffer->data);
      |                 ~~~~~~^~~~~~
      |                       |
      |                       u_char * {aka unsigned char *}
In file included from ../../include/bgp.h:15,
                 from ../../include/aspath.h:182,
                 from ../../include/filter.h:8,
                 from ../../include/mrt.h:571,
                 from bgp_util.c:6:
../../include/rib.h:151:32: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
  151 |  interface_t *interface, char *append);
      |                          ~~~~~~^~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/bgp_proto
cd config; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include config_file.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from config_file.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from config_file.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from config_file.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from config_file.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from config_file.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from config_file.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
config_file.c: In function 'config_del_module':
config_file.c:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   82 |  if (arg && (module->arg != arg))
      |  ^~
config_file.c:86:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   86 |      if (strcmp (module->name, "!") == 0)
      |      ^~
config_file.c: In function 'config_access_list':
config_file.c:301:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  301 |           (void *) num);
      |           ^
config_file.c:314:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  314 |       (void *) num);
      |       ^
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/config
cd filter; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include filter.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from filter.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from filter.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from filter.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from filter.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from filter.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from filter.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/filter
cd io; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include io.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from io.c:12:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from io.c:12:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from io.c:12:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from io.c:12:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from io.c:12:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from io.c:12:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/io
cd kernel; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include solaris.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from solaris.c:23:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/stat.h:35,
                 from /usr/include/fcntl.h:37,
                 from solaris.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from solaris.c:23:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from solaris.c:23:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from solaris.c:23:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from solaris.c:23:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
In file included from ../../include/mrt.h:82,
                 from solaris.c:23:
solaris.c: In function 'ifstatus':
../../include/assert.h:14:5: warning: statement with no effect [-Wunused-value]
   14 |     ((exp)?0: trace (FATAL, MRT->trace, \
      |     ^
solaris.c:64:5: note: in expansion of macro 'assert'
   64 |     assert (sizeof (ifr.ifr_flags) == 2);
      |     ^~~~~~
solaris.c:75: warning: "ifr_mtu" redefined
   75 | #define ifr_mtu ifr_metric
      | 
In file included from solaris.c:17:
/usr/include/net/if.h:508: note: this is the location of the previous definition
  508 | #define ifr_mtu  ifr_ifru.ifru_mtu /* mtu */
      | 
solaris.c: In function 'read_interface4':
solaris.c:282:11: warning: unused variable 'name' [-Wunused-variable]
  282 |     char *name, *buffer;
      |           ^~~~
solaris.c: In function 'kernel_rtmsg_rcv':
solaris.c:1069:28: warning: pointer targets in passing argument 1 of 'sys_kernel_rt_msg' differ in signedness [-Wpointer-sign]
 1069 |         sys_kernel_rt_msg (msgbuf, n);
      |                            ^~~~~~
      |                            |
      |                            char *
solaris.c:808:28: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *'
  808 | sys_kernel_rt_msg (u_char *buf, int bufsize)
      |                    ~~~~~~~~^~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/kernel
cd mrt; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include util.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from util.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from util.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from util.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from util.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from util.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from util.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/mrt
cd pim; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include dvmrp.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from dvmrp.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from dvmrp.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from dvmrp.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from dvmrp.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from dvmrp.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from dvmrp.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/pim
cd portserver; /opt/pkg/bin/bmake
cd radix; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include radix.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from radix.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from radix.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from radix.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from radix.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from radix.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from radix.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/radix
cd rib; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include rib.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from rib.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from rib.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from rib.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from rib.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from rib.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from rib.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
rib.c:932:1: warning: 'rib_if_call_fn' defined but not used [-Wunused-function]
  932 | rib_if_call_fn (int cmd, interface_t *interface, ll_addr_t *if_addr)
      | ^~~~~~~~~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/rib
cd rip; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include rip_proto.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from rip_proto.c:6:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from rip_proto.c:6:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from rip_proto.c:6:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from rip_proto.c:6:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from rip_proto.c:6:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from rip_proto.c:6:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/rip
cd struct; /opt/pkg/bin/bmake
cd timer; /opt/pkg/bin/bmake
gcc -c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include timer.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from timer.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from timer.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from timer.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from timer.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from timer.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from timer.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/timer
Installing programs
cd bgpsim; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c bgpsim.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from bgpsim.c:6:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from bgpsim.c:6:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from bgpsim.c:6:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from bgpsim.c:6:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from bgpsim.c:6:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from bgpsim.c:6:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
bgpsim.c: In function 'config_network_list':
bgpsim.c:106:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  106 |            get_config_network_list, (void *)num);
      |                                     ^
bgpsim.c:121:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  121 |              (void *)num);
      |              ^
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/bgpsim
cd mrtd; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c mrtd.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from mrtd.c:14:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from mrtd.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from mrtd.c:14:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from mrtd.c:14:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from mrtd.c:14:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from mrtd.c:14:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
mrtd.c:119:1: warning: return type of 'main' is not 'int' [-Wmain]
  119 | main  (int argc, char *argv[])
      | ^~~~
mrtd.c: In function 'main':
mrtd.c:139:12: warning: unused variable 'pp' [-Wunused-variable]
  139 |  prefix_t *pp;
      |            ^~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/mrtd
cd ricd; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c ricd.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from ricd.h:8,
                 from ricd.c:12:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from ricd.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from ricd.h:8,
                 from ricd.c:12:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from ricd.h:8,
                 from ricd.c:12:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from ricd.h:8,
                 from ricd.c:12:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from ricd.h:8,
                 from ricd.c:12:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
In file included from ricd.c:12:
ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
  164 | #endif _RICD_H_
      |        ^~~~~~~~
ricd.c:159:1: warning: return type of 'main' is not 'int' [-Wmain]
  159 | main (int argc, char *argv[])
      | ^~~~
ricd.c: In function 'main':
ricd.c:172:9: warning: variable 'rib_install_flag' set but not used [-Wunused-but-set-variable]
  172 |     int rib_install_flag = 1;
      |         ^~~~~~~~~~~~~~~~
ricd.c:171:9: warning: variable 'kernel_install_flag6' set but not used [-Wunused-but-set-variable]
  171 |     int kernel_install_flag6 = 1;
      |         ^~~~~~~~~~~~~~~~~~~~
ricd.c:170:9: warning: variable 'kernel_install_flag4' set but not used [-Wunused-but-set-variable]
  170 |     int kernel_install_flag4 = 1;
      |         ^~~~~~~~~~~~~~~~~~~~
ricd.c:169:9: warning: variable 'kernel_read_flag' set but not used [-Wunused-but-set-variable]
  169 |     int kernel_read_flag = 1;
      |         ^~~~~~~~~~~~~~~~
ricd.c:167:11: warning: variable 'rib_file' set but not used [-Wunused-but-set-variable]
  167 |     char *rib_file = NULL;
      |           ^~~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/ricd
cd route_atob; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c route_atob.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from route_atob.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from route_atob.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from route_atob.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from route_atob.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from route_atob.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from route_atob.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
route_atob.c:25:1: error: conflicting types for 'strptime'
   25 | strptime (char *buf, const char *format, struct tm *tm)
      | ^~~~~~~~
In file included from /usr/include/sys/time.h:490,
                 from /usr/include/sys/select.h:53,
                 from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from route_atob.c:5:
/usr/include/time.h:105:14: note: previous declaration of 'strptime' was here
  105 | extern char *strptime(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |              ^~~~~~~~
route_atob.c: In function 'strptime':
route_atob.c:41:17: error: 'struct tm' has no member named 'tm_gmtoff'
   41 |  tm_gmtoff = tmp->tm_gmtoff;
      |                 ^~
route_atob.c:42:25: error: 'struct tm' has no member named 'tm_zone'; did you mean 'tm_mon'?
   42 |  tm_zone = strdup (tmp->tm_zone);
      |                         ^~~~~~~
      |                         tm_mon
route_atob.c:51:7: error: 'struct tm' has no member named 'tm_gmtoff'
   51 |     tm->tm_gmtoff = tm_gmtoff;
      |       ^~
route_atob.c:52:9: error: 'struct tm' has no member named 'tm_zone'; did you mean 'tm_mon'?
   52 |     tm->tm_zone = tm_zone;
      |         ^~~~~~~
      |         tm_mon
route_atob.c:30:16: warning: variable 'tm_isdst' set but not used [-Wunused-but-set-variable]
   30 |     static int tm_isdst = 0;
      |                ^~~~~~~~
route_atob.c: In function 'read_ascii':
route_atob.c:315:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  315 |  if (MRT->force_exit_flag)
      |  ^~
route_atob.c:317:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  317 |      bgp_deref_attr (attr);
      |      ^~~~~~~~~~~~~~
route_atob.c:167:44: warning: variable 'optlen' set but not used [-Wunused-but-set-variable]
  167 |     int version = 0, as = 0, holdtime = 0, optlen = 0;
      |                                            ^~~~~~
route_atob.c: At top level:
route_atob.c:690:1: warning: return type of 'main' is not 'int' [-Wmain]
  690 | main (int argc, char *argv[])
      | ^~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_atob
cd route_btoa; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c route_btoa.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from route_btoa.c:5:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from route_btoa.c:5:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from route_btoa.c:5:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from route_btoa.c:5:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from route_btoa.c:5:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from route_btoa.c:5:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
route_btoa.c:698:1: warning: return type of 'main' is not 'int' [-Wmain]
  698 | main (int argc, char *argv[])
      | ^~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_btoa
cd sbgp; /opt/pkg/bin/bmake
gcc -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -Wno-char-subscripts -DHAVE_CONFIG_H  -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -I/usr/local/include -c simple_bgp.c
In file included from ../../include/trace.h:14,
                 from ../../include/assert.h:10,
                 from ../../include/mrt.h:82,
                 from simple_bgp.c:10:
../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t'
   19 | typedef unsigned long sigset_t;
      |                       ^~~~~~~~
In file included from /usr/include/sys/types.h:662,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from ../../include/mrt.h:14,
                 from simple_bgp.c:10:
/usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here
   76 | } sigset_t;
      |   ^~~~~~~~
In file included from simple_bgp.c:10:
../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop'
  676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from ../../include/mrt.h:673,
                 from simple_bgp.c:10:
/usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here
   66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
In file included from simple_bgp.c:10:
../../include/mrt.h:683:7: error: conflicting types for 'memmove'
  683 | char *memmove (char *dest, const char *src, size_t n);
      |       ^~~~~~~
In file included from /usr/include/string.h:34,
                 from ../../include/mrt.h:44,
                 from simple_bgp.c:10:
/usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here
   71 | extern void *memmove(void *, const void *, size_t);
      |              ^~~~~~~
*** Error code 1

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mrt
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mrt