[package - main-riscv64-default][net/zebra] Failed for zebra-0.95a_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 12 Aug 2021 18:50:09 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     bdrewery@FreeBSD.org
Log URL:        http://beefy7.nyi.freebsd.org/data/main-riscv64-default/p507d4271e0bb_sa3ff18e271/logs/zebra-0.95a_10.log
Build URL:      http://beefy7.nyi.freebsd.org/build.html?mastername=main-riscv64-default&build=p507d4271e0bb_sa3ff18e271
Log:

=>> Building net/zebra
build started at Thu Aug 12 18:49:31 UTC 2021
port directory: /usr/ports/net/zebra
package name: zebra-0.95a_10
building for: FreeBSD main-riscv64-default-job-15 14.0-CURRENT FreeBSD 14.0-CURRENT 1400029 riscv
maintained by: bdrewery@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400029
Job Id: 15




!!! Jail is newer than host. (Jail: 1400029, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=riscv64
UNAME_m=riscv
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400029
UNAME_v=FreeBSD 14.0-CURRENT 1400029
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-riscv64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-riscv64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-riscv64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for zebra-0.95a_10:
     IPV6=on: IPv6 protocol support
     PAM=off: PAM authentication for vtysh
     OSPFNSSA=off: undergoing NSSA feature
     SNMP=off: SNMP network protocol support
     TCPZEBRA=off: TCP/IP socket connection
     BGPD=on: BGPD support
     OSPF6D=on: OSPF6D support
     OSPFD=on: OSPFD support
     RIPD=on: RIPD support
     RIPNGD=on: RIPNGD support
     VTYSH=on: VTYSH support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bdrewery@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--sysconfdir=/usr/local/etc/zebra --enable-bgpd --enable-ipv6 --enable-ospf6d --enable-ospfd --disable-nssa --without-pam --enable-ripd --enable-ripngd --disable-snmp --disable-tcp-zebra --enable-vtysh --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/zebra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/zebra/work  HOME=/wrkdirs/usr/ports/net/zebra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/zebra/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/zebra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/zebra/work  HOME=/wrkdirs/usr/ports/net/zebra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/zebra/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -march=rv64imafdc -mabi=lp64d -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
BGPD="" NO_BGPD="@comment " IPV6="" NO_IPV6="@comment " OSPF6D="" NO_OSPF6D="@comment " OSPFD="" NO_OSPFD="@comment " OSPFNSSA="@comment " NO_OSPFNSSA="" PAM="@comment " NO_PAM="" RIPD="" NO_RIPD="@comment " RIPNGD="" NO_RIPNGD="@comment " SNMP="@comment " NO_SNMP="" TCPZEBRA="@comment " NO_TCPZEBRA="" VTYSH="" NO_VTYSH="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zebra"  EXAMPLESDIR="share/examples/zebra"  DATADIR="share/zebra"  WWWDIR="www/zebra"  ETCDIR="etc/zebra"
--End PLIST_SUB--

--SUB_LIST--
BGPDARGS=-d  OSPFDARGS=-d  OSPF6DARGS=-d  RIPDARGS=-d  RIPNGDARGS=-d  ZEBRAARGS=-d BGPD="" NO_BGPD="@comment " IPV6="" NO_IPV6="@comment " OSPF6D="" NO_OSPF6D="@comment " OSPFD="" NO_OSPFD="@comment " OSPFNSSA="@comment " NO_OSPFNSSA="" PAM="@comment " NO_PAM="" RIPD="" NO_RIPD="@comment " RIPNGD="" NO_RIPNGD="@comment " SNMP="@comment " NO_SNMP="" TCPZEBRA="@comment " NO_TCPZEBRA="" VTYSH="" NO_VTYSH="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/zebra DOCSDIR=/usr/local/share/doc/zebra EXAMPLESDIR=/usr/local/share/examples/zebra  WWWDIR=/usr/local/www/zebra ETCDIR=/usr/local/etc/zebra
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=riscv
MACHINE_ARCH=riscv64
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf64lriscv" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: riscv64-unknown-freebsd14.0 Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=riscv64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400029
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zebra-0.95a_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-riscv64-default-job-15] Installing pkg-1.17.1...
<snip>
echo 'char *host_name = "";' >>version.c
source='version.c' object='version.o' libtool=no  depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'version.c' || echo './'`version.c
source='network.c' object='network.o' libtool=no  depfile='.deps/network.Po' tmpdepfile='.deps/network.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'network.c' || echo './'`network.c
source='pid_output.c' object='pid_output.o' libtool=no  depfile='.deps/pid_output.Po' tmpdepfile='.deps/pid_output.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'pid_output.c' || echo './'`pid_output.c
source='getopt.c' object='getopt.o' libtool=no  depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'getopt.c' || echo './'`getopt.c
source='getopt1.c' object='getopt1.o' libtool=no  depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'getopt1.c' || echo './'`getopt1.c
source='daemon.c' object='daemon.o' libtool=no  depfile='.deps/daemon.Po' tmpdepfile='.deps/daemon.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'daemon.c' || echo './'`daemon.c
source='print_version.c' object='print_version.o' libtool=no  depfile='.deps/print_version.Po' tmpdepfile='.deps/print_version.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'print_version.c' || echo './'`print_version.c
source='checksum.c' object='checksum.o' libtool=no  depfile='.deps/checksum.Po' tmpdepfile='.deps/checksum.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'checksum.c' || echo './'`checksum.c
source='vector.c' object='vector.o' libtool=no  depfile='.deps/vector.Po' tmpdepfile='.deps/vector.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vector.c' || echo './'`vector.c
source='linklist.c' object='linklist.o' libtool=no  depfile='.deps/linklist.Po' tmpdepfile='.deps/linklist.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'linklist.c' || echo './'`linklist.c
source='vty.c' object='vty.o' libtool=no  depfile='.deps/vty.Po' tmpdepfile='.deps/vty.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'vty.c' || echo './'`vty.c
vty.c:220:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    vty_out (vty, host.motd);
                  ^~~~~~~~~
vty.c:220:19: note: treat the string as an argument to avoid this
    vty_out (vty, host.motd);
                  ^
                  "%s", 
vty.c:811:24: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
    vector_set (vline, '\0');
                       ^~~~
vty.c:925:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
      vector_set (vline, '\0');
                         ^~~~
vty.c:929:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
      vector_set (vline, '\0');
                         ^~~~
vty.c:1924:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  sock = accept (accept_sock, (struct sockaddr *) &client, &client_len);
                                                           ^~~~~~~~~~~
/usr/include/sys/socket.h:680:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
5 warnings generated.
source='command.c' object='command.o' libtool=no  depfile='.deps/command.Po' tmpdepfile='.deps/command.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'command.c' || echo './'`command.c
command.c:1735:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
      if (vector_slot (vline, index) == '\0')
                                        ^~~~
                                        (void *)0
1 warning generated.
source='sockunion.c' object='sockunion.o' libtool=no  depfile='.deps/sockunion.Po' tmpdepfile='.deps/sockunion.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'sockunion.c' || echo './'`sockunion.c
sockunion.c:305:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
      snprintf (buf, BUFSIZ, "%s", inet_ntoa (su->sin.sin_addr));
      ^
sockunion.c:309:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
      snprintf (buf, BUFSIZ, "%s",
      ^
sockunion.c:314:7: warning: 'snprintf' size argument is too large; destination buffer has size 46, but size argument is 1024 [-Wfortify-source]
      snprintf (buf, BUFSIZ, "af_unknown %d ", su->sa.sa_family);
      ^
sockunion.c:570:52: 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 (fd, (struct sockaddr *)&name, &len);
                                                   ^~~~
/usr/include/sys/socket.h:689:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
sockunion.c:624:52: 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 (fd, (struct sockaddr *)&name, &len);
                                                   ^~~~
/usr/include/sys/socket.h:688:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
5 warnings generated.
source='prefix.c' object='prefix.o' libtool=no  depfile='.deps/prefix.Po' tmpdepfile='.deps/prefix.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'prefix.c' || echo './'`prefix.c
source='thread.c' object='thread.o' libtool=no  depfile='.deps/thread.Po' tmpdepfile='.deps/thread.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'thread.c' || echo './'`thread.c
thread.c:256:10: warning: address of stack memory associated with local variable 'buf' returned [-Wreturn-stack-address]
  return buf;
         ^~~
1 warning generated.
source='if.c' object='if.o' libtool=no  depfile='.deps/if.Po' tmpdepfile='.deps/if.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'if.c' || echo './'`if.c
if.c:513:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  zlog (NULL, LOG_INFO, logbuf);
                        ^~~~~~
if.c:513:25: note: treat the string as an argument to avoid this
  zlog (NULL, LOG_INFO, logbuf);
                        ^
                        "%s", 
1 warning generated.
source='memory.c' object='memory.o' libtool=no  depfile='.deps/memory.Po' tmpdepfile='.deps/memory.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'memory.c' || echo './'`memory.c
source='buffer.c' object='buffer.o' libtool=no  depfile='.deps/buffer.Po' tmpdepfile='.deps/buffer.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'buffer.c' || echo './'`buffer.c
buffer.c:202:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  buffer_write (b, (char *)&c, 2);
                   ^~~~~~~~~~
buffer.c:152:41: note: passing argument to parameter 'ptr' here
buffer_write (struct buffer *b, u_char *ptr, size_t size)
                                        ^
1 warning generated.
source='table.c' object='table.o' libtool=no  depfile='.deps/table.Po' tmpdepfile='.deps/table.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'table.c' || echo './'`table.c
source='hash.c' object='hash.o' libtool=no  depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'hash.c' || echo './'`hash.c
source='filter.c' object='filter.o' libtool=no  depfile='.deps/filter.Po' tmpdepfile='.deps/filter.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'filter.c' || echo './'`filter.c
source='routemap.c' object='routemap.o' libtool=no  depfile='.deps/routemap.Po' tmpdepfile='.deps/routemap.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'routemap.c' || echo './'`routemap.c
source='distribute.c' object='distribute.o' libtool=no  depfile='.deps/distribute.Po' tmpdepfile='.deps/distribute.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'distribute.c' || echo './'`distribute.c
source='stream.c' object='stream.o' libtool=no  depfile='.deps/stream.Po' tmpdepfile='.deps/stream.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'stream.c' || echo './'`stream.c
stream.c:325:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  nbytes = readn (fd, s->data + s->putp, size);
                      ^~~~~~~~~~~~~~~~~
./network.h:26:23: note: passing argument to parameter here
int readn (int, char *, int);
                      ^
1 warning generated.
source='str.c' object='str.o' libtool=no  depfile='.deps/str.Po' tmpdepfile='.deps/str.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'str.c' || echo './'`str.c
source='log.c' object='log.o' libtool=no  depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'log.c' || echo './'`log.c
source='plist.c' object='plist.o' libtool=no  depfile='.deps/plist.Po' tmpdepfile='.deps/plist.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'plist.c' || echo './'`plist.c
source='zclient.c' object='zclient.o' libtool=no  depfile='.deps/zclient.Po' tmpdepfile='.deps/zclient.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'zclient.c' || echo './'`zclient.c
zclient.c:213:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  return writen (zclient->sock, s->data, 3);
                                ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:348:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  return writen (zclient->sock, s->data, stream_get_endp (s));
                                ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:408:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  return writen (zclient->sock, s->data, stream_get_endp (s));
                                ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:463:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  return writen (zclient->sock, s->data, stream_get_endp (s));
                                ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:517:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  return writen (zclient->sock, s->data, stream_get_endp (s));
                                ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:536:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  ret = writen (sock, s->data, 4);
                      ^~~~~~~
./network.h:27:24: note: passing argument to parameter here
int writen (int, char *, int);
                       ^
zclient.c:554:28: warning: passing 'u_char [20]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  ifp = if_lookup_by_name (ifname_tmp);
                           ^~~~~~~~~~
./if.h:185:44: note: passing argument to parameter here
struct interface *if_lookup_by_name (char *);
                                           ^
zclient.c:560:27: warning: passing 'u_char [20]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      strncpy (ifp->name, ifname_tmp, IFNAMSIZ);
                          ^~~~~~~~~~
/usr/include/string.h:112:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
zclient.c:593:28: warning: passing 'u_char [20]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  ifp = if_lookup_by_name (ifname_tmp);
                           ^~~~~~~~~~
./if.h:185:44: note: passing argument to parameter here
struct interface *if_lookup_by_name (char *);
                                           ^
9 warnings generated.
source='sockopt.c' object='sockopt.o' libtool=no  depfile='.deps/sockopt.Po' tmpdepfile='.deps/sockopt.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'sockopt.c' || echo './'`sockopt.c
source='smux.c' object='smux.o' libtool=no  depfile='.deps/smux.Po' tmpdepfile='.deps/smux.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'smux.c' || echo './'`smux.c
source='md5.c' object='md5.o' libtool=no  depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'md5.c' || echo './'`md5.c
source='keychain.c' object='keychain.o' libtool=no  depfile='.deps/keychain.Po' tmpdepfile='.deps/keychain.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'keychain.c' || echo './'`keychain.c
keychain.c:286:13: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
  if (index == ULONG_MAX || *endptr != '\0')
      ~~~~~ ^  ~~~~~~~~~
keychain.c:313:13: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
  if (index == ULONG_MAX || *endptr != '\0')
      ~~~~~ ^  ~~~~~~~~~
keychain.c:521:16: warning: result of comparison of constant 18446744073709551615 with expression of type 'u_int32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
  if (duration == ULONG_MAX || *endptr != '\0')
      ~~~~~~~~ ^  ~~~~~~~~~
3 warnings generated.
source='pqueue.c' object='pqueue.o' libtool=no  depfile='.deps/pqueue.Po' tmpdepfile='.deps/pqueue.TPo'  depmode=gcc3 /bin/sh ../depcomp  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib   -I/usr/local/include  -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing -c `test -f 'pqueue.c' || echo './'`pqueue.c
rm -f libzebra.a
ar cru libzebra.a version.o network.o  pid_output.o getopt.o getopt1.o  daemon.o print_version.o checksum.o  vector.o linklist.o vty.o  command.o sockunion.o prefix.o  thread.o if.o memory.o buffer.o  table.o hash.o filter.o  routemap.o distribute.o stream.o  str.o log.o plist.o zclient.o  sockopt.o smux.o md5.o  keychain.o pqueue.o 
ranlib libzebra.a
Assertion failed: (mode == 'p' || mode == 't' || mode == 'x'), function ar_read_archive, file /usr/local/poudriere/jails/main-riscv64/usr/src/usr.bin/ar/read.c, line 68.
qemu: uncaught target signal 6 (Abort trap) - core dumped
*** Signal 6

Stop.
make[4]: stopped in /wrkdirs/usr/ports/net/zebra/work/zebra-0.95a/lib
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net/zebra/work/zebra-0.95a
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net/zebra/work/zebra-0.95a
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/zebra
*** Error code 1

Stop.
make: stopped in /usr/ports/net/zebra