>>> frr 7.5.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/frr/frr-7.5.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1 -xf - >>> frr 7.5.1 Patching >>> frr 7.5.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> frr 7.5.1 Configuring >>> frr 7.5.1 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:171: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:171: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:171: the top level configure.ac:1193: warning: The macro `AC_WORDS_BIGENDIAN' is obsolete. configure.ac:1193: You should run autoupdate. ./lib/autoconf/oldnames.m4:83: AC_WORDS_BIGENDIAN is expanded from... configure.ac:1193: the top level configure.ac:1454: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:1454: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:1454: the top level configure.ac:1464: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:1464: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:1464: the top level configure.ac:1978: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:1978: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:1978: the top level configure.ac:1991: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:1991: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:1991: the top level configure.ac:2004: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2004: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:2004: the top level configure.ac:2017: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2017: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:2017: the top level configure.ac:2030: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2030: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:2030: the top level configure.ac:2061: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:668: AM_PROG_LEX is expanded from... configure.ac:2061: the top level configure.ac:2131: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2131: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:2131: the top level configure.ac:2147: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2147: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:651: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.ac:2147: the top level configure.ac:164: installing './compile' configure.ac:25: installing './config.guess' configure.ac:25: installing './config.sub' configure.ac:100: installing './install-sh' configure.ac:100: installing './missing' Makefile.am: installing './depcomp' configure.ac: installing './ylwrap' >>> frr 7.5.1 Patching libtool patching file /home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-readelf" STRIP="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes LIBS=-latomic CONFIG_SITE=/dev/null ./configure --target=x86_64-buildroot-linux-musl --host=x86_64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-clippy=/home/buildroot/autobuild/instance-0/output-1/host/bin/clippy --sysconfdir=/etc/frr --localstatedir=/var/run/frr --with-moduledir=/usr/lib/frr/modules --enable-configfile-mask=0640 --enable-logfile-mask=0640 --enable-multipath=256 --disable-ospfclient --enable-shell-access --enable-user=frr --enable-group=frr --enable-vty-group=frrvty --disable-capabilities --enable-fpm ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-buildroot-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-buildroot-linux-musl-strip... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for perl... /usr/bin/perl checking pkg-config is at least version 0.9.0... yes checking for x86_64-buildroot-linux-musl-gcc... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc... none checking how to run the C preprocessor... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-cpp checking whether the compiler supports GNU C++... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ accepts -g... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ option to enable C++11 features... none needed checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++... none checking pkg-config is at least version 0.9.0... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc supports -diag-error 10006... no checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc supports -std=gnu11... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -fno-omit-frame-pointer... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -funwind-tables... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wall... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wextra... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wmissing-prototypes... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wmissing-declarations... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wpointer-arith... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wbad-function-cast... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wwrite-strings... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wundef... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wno-unused-result... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wno-unused-parameter... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wno-missing-field-initializers... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -Wc++-compat... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -diag-disable 3179... no checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -fplugin=tools/gcc-plugins/frr-format.so... no checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -fplugin=frr-format... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing pthread_condattr_setclock... none required checking whether ln -s works... yes checking for x86_64-buildroot-linux-musl-ar... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ar checking how to print strings... printf checking for a sed that does not truncate output... sed checking for egrep... /bin/egrep checking for fgrep... /bin/fgrep checking for ld used by /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-nm checking the name lister (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-buildroot-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld option to reload object files... -r checking for x86_64-buildroot-linux-musl-objdump... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-buildroot-linux-musl-ar... (cached) /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ar checking for archiver @FILE support... @ checking for x86_64-buildroot-linux-musl-strip... (cached) /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-strip checking for x86_64-buildroot-linux-musl-ranlib... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ranlib checking command to parse /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-nm output from /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-buildroot-linux-musl-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 static flag -static works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ -E checking for ld used by /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld -m elf_x86_64 checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld -m elf_x86_64) is GNU ld... yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld -m elf_x86_64) supports shared libraries... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ static flag -static works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-g++ linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ar supports D option... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-ranlib supports D option... yes checking for json-c/json.h... yes checking for json_object_get in -ljson-c... yes checking python interpreter python3... /home/buildroot/autobuild/instance-0/output-1/host/bin/python3 (python3) checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/python3 module pytest is available... no checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/python3 module sphinx is executable... no checking if zebra should be configurable to send Route Advertisements... yes checking for x86_64-buildroot-linux-musl-objcopy... /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-objcopy checking for .interp value to use... /lib/ld-musl-x86_64.so.1 checking for stropts.h... yes checking for sys/ksym.h... no checking for linux/version.h... yes checking for asm/types.h... yes checking for stdatomic.h... yes checking whether _Atomic qualifier works... yes checking for pthread_np.h... no checking for pthread_setname_np... yes checking for pthread_set_name_np... no checking for pthread_getthreadid_np... no checking for Linux futex() support... yes checking for net/if_var.h... no checking for netinet/in_var.h... no checking for net/if_dl.h... no checking for net/netopt.h... no checking for inet/nd.h... no checking for netinet/ip_icmp.h... yes checking for sys/sysctl.h... no checking for sys/sockio.h... no checking for sys/conf.h... no checking for ucontext.h... yes checking for ucontext_t.uc_mcontext.uc_regs... no checking for ucontext_t.uc_mcontext.regs... no checking for ucontext_t.uc_mcontext.gregs... yes checking which operating system interface to use... Linux checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... (cached) no checking for strlcat... yes checking for strlcpy... yes checking for getgrouplist... yes checking for openat... yes checking for unlinkat... yes checking for posix_fallocate... yes checking for main in -lreadline... yes checking for readline/history.h... yes checking for rl_completion_matches in -lreadline... yes checking for append_history in -lreadline... yes checking for library containing pow... none required checking for ppoll... yes checking for pollts... no checking for asm-generic/unistd.h... yes checking whether __NR_setns is declared... yes checking for setns... yes checking for net/bpf.h... no checking for sys/dlpi.h... no checking zebra IS-IS I/O method... pfpacket checking for struct ip_mreqn.imr_ifindex... yes checking for linux/mroute.h... yes checking for netinet/ip_mroute.h... no checking for BSD struct ip_mreq hack... no checking for RFC3678 protocol-independed API... yes checking for net/if_media.h... no checking for struct if_data.ifi_link_state... no checking for netinet/tcp.h... yes checking whether TCP_MD5SIG is declared... yes checking for crypt in -lcrypt... yes checking for res_init in -lresolv... yes checking for CARES (libcares)... yes checking for struct utsname.domainname... yes checking for netinet6/in6.h... no checking for netinet/in6_var.h... no checking for netinet6/in6_var.h... no checking for netinet6/nd6.h... no checking for LIBYANG (libyang >= 1.0.184)... yes checking for struct lyd_node.priv... yes checking for ZEROMQ (libzmq >= 4.0.0)... no checking for pimd OS support... yes checking for VRRP OS support... yes checking whether the RTR Library is compiled with SSH... no checking for library containing dlopen... none required checking for link.h... yes checking for dlinfo(RTLD_DI_ORIGIN)... no checking for dlinfo(RTLD_DI_LINKMAP)... yes checking for struct sockaddr_dl... no checking for struct vifctl... yes checking for struct mfcctl... yes checking for struct sioc_sg_req... yes checking for vifi_t... yes checking for struct sioc_vif_req... yes checking for struct igmpmsg... yes checking for struct ifaliasreq... no checking for struct if6_aliasreq... no checking for struct in6_aliasreq... no checking for struct nd_opt_adv_interval... yes checking for struct nd_opt_homeagent_info... no checking for struct nd_opt_adv_interval... (cached) yes checking for struct nd_opt_rdnss... no checking for struct nd_opt_dnssl... no checking for struct sockaddr.sa_len... no checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_un.sun_len... no checking for struct sockaddr_dl.sdl_len... no checking for struct if6_aliasreq.ifra_lifetime... no checking for struct nd_opt_adv_interval.nd_opt_ai_type... no checking for struct in_pktinfo... yes checking for struct icmphdr... yes checking for IP_PKTINFO... yes checking for IP_RECVDSTADDR... no checking for IP_RECVIF... no checking for SO_BINDANY... no checking for IP_FREEBIND... yes checking whether be32enc is declared... no checking whether be32dec is declared... no checking whether CLOCK_MONOTONIC is declared... yes checking for clock_gettime in -lrt... yes checking for library containing clock_nanosleep... none required checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes checking version of flex... 2.6.4 checking for bison... bison -y checking version of bison... 3.8.2 - 3.3 or newer configure: WARNING: Running FRR without libcap support built in causes a huge performance penalty. checking for UNWIND (libunwind)... no checking for unwind.h... yes checking for library containing unw_getcontext... no checking for execinfo.h... no checking for malloc.h... yes checking for malloc_np.h... no checking for malloc/malloc.h... no checking whether mallinfo is available... no checking whether malloc_usable_size is available... yes checking directory to use for state file... /var/run/frr checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.version config.status: creating changelog-auto config.status: creating redhat/frr.spec config.status: creating solaris/Makefile config.status: creating alpine/APKBUILD config.status: creating snapcraft/snapcraft.yaml config.status: creating lib/version.h config.status: creating tests/lib/cli/test_cli.refout config.status: creating pkgsrc/bgpd.sh config.status: creating pkgsrc/ospf6d.sh config.status: creating pkgsrc/ospfd.sh config.status: creating pkgsrc/ripd.sh config.status: creating pkgsrc/ripngd.sh config.status: creating pkgsrc/zebra.sh config.status: creating pkgsrc/eigrpd.sh config.status: creating vtysh/extract.pl config.status: creating tools/frr config.status: creating tools/watchfrr.sh config.status: creating tools/frrinit.sh config.status: creating tools/frrcommon.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing lib/route_types.h commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls FRRouting configuration ------------------------------ FRR version : 7.5.1 host operating system : linux-musl source code location : . compiler : /home/buildroot/autobuild/instance-0/output-1/host/bin/x86_64-linux-gcc -std=gnu11 compiler flags : -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers make : make linker flags : -lresolv -lcrypt -latomic -ljson-c -lrt -lreadline state file directory : /var/run/frr config file directory : /etc/frr example directory : /etc/frr module directory : /usr/lib/frr/modules user to run as : frr group to run as : frr group for vty sockets : frrvty config file mask : 0640 log file mask : 0640 zebra protobuf enabled : no The above user and group must have read/write access to the state file directory and to the config files in the config file directory. configure: WARNING: pytest is missing, unit tests cannot be performed >>> frr 7.5.1 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1' true /usr/bin/make all-am make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1' LEX lib/command_lex.c YACC lib/command_parse.c CLIPPY lib/filter_cli_clippy.c CC lib/filter_nb.lo CC lib/frrcu.lo CC lib/frrlua.lo CC lib/frr_pthread.lo In file included from ./lib/northbound.h:27, from lib/filter_nb.c:25: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/frrstr.lo CC lib/getopt.lo CC lib/getopt1.lo CC lib/grammar_sandbox.lo CC lib/graph.lo CC lib/hash.lo CC lib/hook.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/command.h:26, from lib/grammar_sandbox.c:30: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/id_alloc.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/hash.c:28: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CLIPPY lib/if_clippy.c CC lib/if_rmap.lo CC lib/imsg-buffer.lo CC lib/imsg.lo In file included from ./lib/northbound.h:27, from ./lib/vty.h:36, from ./lib/ferr.h:28, from lib/lib_errors.h:24, from lib/id_alloc.c:27: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/command.h:26, from lib/if_rmap.c:24: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/jhash.lo CC lib/json.lo CC lib/keychain.lo CC lib/lib_errors.lo CC lib/lib_vty.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/command.h:26, from lib/json.c:23: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/command.h:26, from lib/keychain.c:23: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/libfrr.lo In file included from ./lib/northbound.h:27, from ./lib/vty.h:36, from ./lib/ferr.h:28, from lib/lib_errors.h:24, from lib/lib_errors.c:25: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/linklist.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/lib_vty.c:43: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/log.lo In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/libfrr.c:27: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/log_filter.lo CLIPPY lib/log_vty_clippy.c In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/vrf.h:28, from lib/zclient.h:31, from lib/log.c:26: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/md5.lo CC lib/memory.lo CC lib/mlag.lo CC lib/module.lo CC lib/mpls.lo In file included from ./lib/northbound.h:27, from ./lib/vty.h:36, from ./lib/vrf.h:28, from ./lib/mlag.h:30, from lib/mlag.c:24: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/srv6.lo CC lib/network.lo CC lib/nexthop.lo CC lib/netns_linux.lo In file included from ./lib/northbound.h:27, from ./lib/vty.h:36, from ./lib/ferr.h:28, from lib/lib_errors.h:24, from lib/network.c:25: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CC lib/netns_other.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/command.h:26, from lib/nexthop.c:25: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CLIPPY lib/nexthop_group_clippy.c CC lib/northbound.lo In file included from lib/northbound.h:27, from lib/vty.h:36, from lib/ns.h:27, from lib/netns_linux.c:35: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ CLIPPY lib/northbound_cli_clippy.c CC lib/northbound_db.lo CC lib/ntop.lo CC lib/openbsd-tree.lo In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ In file included from lib/northbound.c:20: lib/northbound.c: In function 'nb_node_check_config_only': lib/northbound.c:97:22: error: dereferencing pointer to incomplete type 'const struct lys_node' 97 | if (CHECK_FLAG(snode->flags, LYS_CONFIG_R)) { | ^~ ./lib/zebra.h:392:32: note: in definition of macro 'CHECK_FLAG' 392 | #define CHECK_FLAG(V,F) ((V) & (F)) | ^ lib/northbound.c: In function 'nb_node_new_cb': lib/northbound.c:111:22: warning: passing argument 1 of 'yang_snode_get_path' from incompatible pointer type [-Wincompatible-pointer-types] 111 | yang_snode_get_path(snode, YANG_PATH_DATA, nb_node->xpath, | ^~~~~ | | | const struct lys_node * In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:242:56: note: expected 'const struct lys_node *' but argument is of type 'const struct lys_node *' 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:116:28: error: dereferencing pointer to incomplete type 'struct lys_node' 116 | nb_node->parent = sparent->priv; | ^~ lib/northbound.c:125:31: warning: passing argument 1 of 'yang_snodes_iterate_subtree' from incompatible pointer type [-Wincompatible-pointer-types] 125 | yang_snodes_iterate_subtree(snode, nb_node_check_config_only, | ^~~~~ | | | const struct lys_node * In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:183:63: note: expected 'const struct lys_node *' but argument is of type 'const struct lys_node *' 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:125:38: warning: passing argument 2 of 'yang_snodes_iterate_subtree' from incompatible pointer type [-Wincompatible-pointer-types] 125 | yang_snodes_iterate_subtree(snode, nb_node_check_config_only, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(const struct lys_node *, void *) In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:184:28: note: expected 'yang_iterate_cb' {aka 'int (*)(const struct lys_node *, void *)'} but argument is of type 'int (*)(const struct lys_node *, void *)' 184 | yang_iterate_cb cb, uint16_t flags, | ~~~~~~~~~~~~~~~~^~ lib/northbound.c:135:12: error: dereferencing pointer to incomplete type 'struct lys_node_list' 135 | if (slist->keys_size == 0) | ^~ lib/northbound.c:144:2: warning: implicit declaration of function 'lys_set_private'; did you mean 'ly_set_erase'? [-Wimplicit-function-declaration] 144 | lys_set_private(snode, nb_node); | ^~~~~~~~~~~~~~~ | ly_set_erase lib/northbound.c: In function 'nb_nodes_create': lib/northbound.c:162:26: warning: passing argument 1 of 'yang_snodes_iterate_all' from incompatible pointer type [-Wincompatible-pointer-types] 162 | yang_snodes_iterate_all(nb_node_new_cb, 0, NULL); | ^~~~~~~~~~~~~~ | | | int (*)(const struct lys_node *, void *) In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:224:52: note: expected 'yang_iterate_cb' {aka 'int (*)(const struct lys_node *, void *)'} but argument is of type 'int (*)(const struct lys_node *, void *)' 224 | extern int yang_snodes_iterate_all(yang_iterate_cb cb, uint16_t flags, | ~~~~~~~~~~~~~~~~^~ lib/northbound.c: In function 'nb_nodes_delete': lib/northbound.c:167:26: warning: passing argument 1 of 'yang_snodes_iterate_all' from incompatible pointer type [-Wincompatible-pointer-types] 167 | yang_snodes_iterate_all(nb_node_del_cb, 0, NULL); | ^~~~~~~~~~~~~~ | | | int (*)(const struct lys_node *, void *) In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:224:52: note: expected 'yang_iterate_cb' {aka 'int (*)(const struct lys_node *, void *)'} but argument is of type 'int (*)(const struct lys_node *, void *)' 224 | extern int yang_snodes_iterate_all(yang_iterate_cb cb, uint16_t flags, | ~~~~~~~~~~~~~~~~^~ lib/northbound.c: In function 'nb_node_find': lib/northbound.c:178:10: warning: implicit declaration of function 'ly_ctx_get_node'; did you mean 'ly_ctx_get_module'? [-Wimplicit-function-declaration] 178 | snode = ly_ctx_get_node(ly_native_ctx, NULL, xpath, 0); | ^~~~~~~~~~~~~~~ | ly_ctx_get_module lib/northbound.c:178:8: warning: assignment to 'const struct lys_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 178 | snode = ly_ctx_get_node(ly_native_ctx, NULL, xpath, 0); | ^ lib/northbound.c: In function 'nb_config_merge': lib/northbound.c:337:8: warning: implicit declaration of function 'lyd_merge'; did you mean 'lyd_target'? [-Wimplicit-function-declaration] 337 | ret = lyd_merge(config_dst->dnode, config_src->dnode, LYD_OPT_EXPLICIT); | ^~~~~~~~~ | lyd_target lib/northbound.c:337:56: error: 'LYD_OPT_EXPLICIT' undeclared (first use in this function); did you mean 'LYD_PRINT_WD_EXPLICIT'? 337 | ret = lyd_merge(config_dst->dnode, config_src->dnode, LYD_OPT_EXPLICIT); | ^~~~~~~~~~~~~~~~ | LYD_PRINT_WD_EXPLICIT lib/northbound.c:337:56: note: each undeclared identifier is reported only once for each function it appears in lib/northbound.c: In function 'nb_config_diff_created': lib/northbound.c:449:7: warning: implicit declaration of function 'lyd_wd_default'; did you mean 'lyd_is_default'? [-Wimplicit-function-declaration] 449 | if (lyd_wd_default((struct lyd_node_leaf_list *)dnode)) | ^~~~~~~~~~~~~~ | lyd_is_default lib/northbound.c:452:48: warning: passing argument 2 of 'nb_operation_is_valid' from incompatible pointer type [-Wincompatible-pointer-types] 452 | if (nb_operation_is_valid(NB_OP_CREATE, dnode->schema)) | ~~~~~^~~~~~~~ | | | const struct lysc_node * const In file included from lib/libfrr.h:31, from lib/northbound.c:22: lib/northbound.h:1090:30: note: expected 'const struct lys_node *' but argument is of type 'const struct lysc_node * const' 1090 | const struct lys_node *snode); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:454:53: warning: passing argument 2 of 'nb_operation_is_valid' from incompatible pointer type [-Wincompatible-pointer-types] 454 | else if (nb_operation_is_valid(NB_OP_MODIFY, dnode->schema)) | ~~~~~^~~~~~~~ | | | const struct lysc_node * const In file included from lib/libfrr.h:31, from lib/northbound.c:22: lib/northbound.h:1090:30: note: expected 'const struct lys_node *' but argument is of type 'const struct lysc_node * const' 1090 | const struct lys_node *snode); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:463:48: warning: passing argument 2 of 'nb_operation_is_valid' from incompatible pointer type [-Wincompatible-pointer-types] 463 | if (nb_operation_is_valid(NB_OP_CREATE, dnode->schema)) | ~~~~~^~~~~~~~ | | | const struct lysc_node * const In file included from lib/libfrr.h:31, from lib/northbound.c:22: lib/northbound.h:1090:30: note: expected 'const struct lys_node *' but argument is of type 'const struct lysc_node * const' 1090 | const struct lys_node *snode); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:468:3: warning: implicit declaration of function 'LY_TREE_FOR'; did you mean 'LY_TREE_H_'? [-Wimplicit-function-declaration] 468 | LY_TREE_FOR (dnode->child, child) { | ^~~~~~~~~~~ | LY_TREE_H_ lib/northbound.c:468:21: error: 'const struct lyd_node' has no member named 'child' 468 | LY_TREE_FOR (dnode->child, child) { | ^~ lib/northbound.c:468:36: error: expected ';' before '{' token 468 | LY_TREE_FOR (dnode->child, child) { | ^~ | ; lib/northbound.c: In function 'nb_config_diff_deleted': lib/northbound.c:484:48: warning: passing argument 2 of 'nb_operation_is_valid' from incompatible pointer type [-Wincompatible-pointer-types] 484 | if (nb_operation_is_valid(NB_OP_DESTROY, dnode->schema)) | ~~~~~^~~~~~~~ | | | const struct lysc_node * const In file included from lib/libfrr.h:31, from lib/northbound.c:22: lib/northbound.h:1090:30: note: expected 'const struct lys_node *' but argument is of type 'const struct lysc_node * const' 1090 | const struct lys_node *snode); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c:495:21: error: 'const struct lyd_node' has no member named 'child' 495 | LY_TREE_FOR (dnode->child, child) { | ^~ lib/northbound.c:495:36: error: expected ';' before '{' token 495 | LY_TREE_FOR (dnode->child, child) { | ^~ | ; lib/northbound.c: In function 'nb_config_diff': lib/northbound.c:509:9: warning: implicit declaration of function 'lyd_diff' [-Wimplicit-function-declaration] 509 | diff = lyd_diff(config1->dnode, config2->dnode, | ^~~~~~~~ lib/northbound.c:510:4: error: 'LYD_DIFFOPT_WITHDEFAULTS' undeclared (first use in this function); did you mean 'LYD_DIFF_DEFAULTS'? 510 | LYD_DIFFOPT_WITHDEFAULTS); | ^~~~~~~~~~~~~~~~~~~~~~~~ | LYD_DIFF_DEFAULTS lib/northbound.c:513:22: error: dereferencing pointer to incomplete type 'struct lyd_difflist' 513 | for (int i = 0; diff->type[i] != LYD_DIFF_END; i++) { | ^~ lib/northbound.c:513:35: error: 'LYD_DIFF_END' undeclared (first use in this function); did you mean 'LYS_IFF_AND'? 513 | for (int i = 0; diff->type[i] != LYD_DIFF_END; i++) { | ^~~~~~~~~~~~ | LYS_IFF_AND lib/northbound.c:514:3: error: unknown type name 'LYD_DIFFTYPE'; did you mean 'LY_IN_TYPE'? 514 | LYD_DIFFTYPE type; | ^~~~~~~~~~~~ | LY_IN_TYPE lib/northbound.c:520:8: error: 'LYD_DIFF_CREATED' undeclared (first use in this function) 520 | case LYD_DIFF_CREATED: | ^~~~~~~~~~~~~~~~ lib/northbound.c:524:8: error: 'LYD_DIFF_DELETED' undeclared (first use in this function); did you mean 'LYS_DEV_DELETE'? 524 | case LYD_DIFF_DELETED: | ^~~~~~~~~~~~~~~~ | LYS_DEV_DELETE lib/northbound.c:528:8: error: 'LYD_DIFF_CHANGED' undeclared (first use in this function); did you mean 'LYS_IFF_AND'? 528 | case LYD_DIFF_CHANGED: | ^~~~~~~~~~~~~~~~ | LYS_IFF_AND lib/northbound.c:533:8: error: 'LYD_DIFF_MOVEDAFTER1' undeclared (first use in this function) 533 | case LYD_DIFF_MOVEDAFTER1: | ^~~~~~~~~~~~~~~~~~~~ lib/northbound.c:534:8: error: 'LYD_DIFF_MOVEDAFTER2' undeclared (first use in this function) 534 | case LYD_DIFF_MOVEDAFTER2: | ^~~~~~~~~~~~~~~~~~~~ lib/northbound.c:540:2: warning: implicit declaration of function 'lyd_free_diff'; did you mean 'lyd_free_tree'? [-Wimplicit-function-declaration] 540 | lyd_free_diff(diff); | ^~~~~~~~~~~~~ | lyd_free_tree lib/northbound.c: In function 'nb_candidate_edit': lib/northbound.c:563:3: error: 'ly_errno' undeclared (first use in this function); did you mean 'h_errno'? 563 | ly_errno = 0; | ^~~~~~~~ | h_errno lib/northbound.c:566:10: error: 'LYD_PATH_OPT_UPDATE' undeclared (first use in this function); did you mean 'LYD_PATH_TYPE'? 566 | LYD_PATH_OPT_UPDATE); | ^~~~~~~~~~~~~~~~~~~ | LYD_PATH_TYPE lib/northbound.c:611:5: warning: implicit declaration of function 'lyd_free'; did you mean 'ly_in_free'? [-Wimplicit-function-declaration] 611 | lyd_free(dep_dnode); | ^~~~~~~~ | ly_in_free lib/northbound.c: In function 'nb_candidate_validate_yang': lib/northbound.c:658:6: warning: implicit declaration of function 'lyd_validate'; did you mean 'lyd_validate_op'? [-Wimplicit-function-declaration] 658 | if (lyd_validate(&candidate->dnode, | ^~~~~~~~~~~~ | lyd_validate_op In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound_db.c:22: lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ lib/northbound.c:659:5: error: 'LYD_OPT_STRICT' undeclared (first use in this function); did you mean 'LYD_PARSE_STRICT'? 659 | LYD_OPT_STRICT | LYD_OPT_CONFIG | LYD_OPT_WHENAUTODEL, | ^~~~~~~~~~~~~~ | LYD_PARSE_STRICT lib/northbound.c:659:22: error: 'LYD_OPT_CONFIG' undeclared (first use in this function); did you mean 'LYS_SET_CONFIG'? 659 | LYD_OPT_STRICT | LYD_OPT_CONFIG | LYD_OPT_WHENAUTODEL, | ^~~~~~~~~~~~~~ | LYS_SET_CONFIG lib/northbound.c:659:39: error: 'LYD_OPT_WHENAUTODEL' undeclared (first use in this function) 659 | LYD_OPT_STRICT | LYD_OPT_CONFIG | LYD_OPT_WHENAUTODEL, | ^~~~~~~~~~~~~~~~~~~ lib/northbound.c: In function 'nb_candidate_validate_code': lib/northbound.c:680:38: error: expected ';' before '{' token 680 | LY_TREE_FOR (candidate->dnode, root) { | ^~ | ; lib/northbound.c:677:6: warning: unused variable 'ret' [-Wunused-variable] 677 | int ret; | ^~~ lib/northbound.c:676:33: warning: unused variable 'child' [-Wunused-variable] 676 | struct lyd_node *root, *next, *child; | ^~~~~ lib/northbound.c:676:26: warning: unused variable 'next' [-Wunused-variable] 676 | struct lyd_node *root, *next, *child; | ^~~~ lib/northbound.c:675:23: warning: unused variable 'cb' [-Wunused-variable] 675 | struct nb_config_cb *cb; | ^~ lib/northbound.c:709:1: warning: no return statement in function returning non-void [-Wreturn-type] 709 | } | ^ lib/northbound.c: In function 'nb_log_config_callback': lib/northbound.c:891:39: warning: passing argument 1 of 'yang_snode_is_typeless_data' from incompatible pointer type [-Wincompatible-pointer-types] 891 | if (yang_snode_is_typeless_data(dnode->schema)) | ~~~~~^~~~~~~~ | | | const struct lysc_node * const In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:279:64: note: expected 'const struct lys_node *' but argument is of type 'const struct lysc_node * const' 279 | extern bool yang_snode_is_typeless_data(const struct lys_node *snode); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ lib/northbound.c: In function 'nb_transaction_apply_finish': lib/northbound.c:1434:10: warning: assignment to 'const struct lyd_node *' from incompatible pointer type 'struct lyd_node_inner * const' [-Wincompatible-pointer-types] 1434 | dnode = dnode->parent; | ^ lib/northbound.c:1465:10: warning: assignment to 'const struct lyd_node *' from incompatible pointer type 'struct lyd_node_inner * const' [-Wincompatible-pointer-types] 1465 | dnode = dnode->parent; | ^ lib/northbound.c: In function 'nb_oper_data_iter_children': lib/northbound.c:1491:35: error: expected ';' before '{' token 1491 | LY_TREE_FOR (snode->child, child) { | ^~ | ; lib/northbound.c:1502:1: warning: no return statement in function returning non-void [-Wreturn-type] 1502 | } | ^ lib/northbound.c: In function 'nb_oper_data_iter_leaf': lib/northbound.c:1516:6: warning: implicit declaration of function 'lys_is_key'; did you mean 'lysc_is_key'? [-Wimplicit-function-declaration] 1516 | if (lys_is_key((struct lys_node_leaf *)nb_node->snode, NULL)) | ^~~~~~~~~~ | lysc_is_key lib/northbound.c: In function 'nb_oper_data_iter_list': lib/northbound.c:1636:25: error: dereferencing pointer to incomplete type 'struct lys_node_list' 1636 | "[%s='%s']", slist->keys[i]->name, | ^~ lib/northbound.c: In function 'nb_oper_data_iterate': lib/northbound.c:1764:2: error: 'ly_errno' undeclared (first use in this function); did you mean 'h_errno'? 1764 | ly_errno = 0; | ^~~~~~~~ | h_errno CC lib/pid_output.lo lib/northbound.c:1766:9: error: 'LYD_PATH_OPT_UPDATE' undeclared (first use in this function); did you mean 'LYD_PATH_TYPE'? 1766 | LYD_PATH_OPT_UPDATE | LYD_PATH_OPT_NOPARENTRET); | ^~~~~~~~~~~~~~~~~~~ | LYD_PATH_TYPE lib/northbound.c:1766:31: error: 'LYD_PATH_OPT_NOPARENTRET' undeclared (first use in this function) 1766 | LYD_PATH_OPT_UPDATE | LYD_PATH_OPT_NOPARENTRET); | ^~~~~~~~~~~~~~~~~~~~~~~~ lib/northbound.c:1777:26: warning: assignment to 'struct lyd_node *' from incompatible pointer type 'struct lyd_node_inner *' [-Wincompatible-pointer-types] 1777 | for (dn = dnode; dn; dn = dn->parent) { | ^ lib/northbound.c:1778:46: error: 'struct lyd_node' has no member named 'child' 1778 | if (dn->schema->nodetype != LYS_LIST || !dn->child) | ^~ lib/northbound.c:1793:18: error: 'struct lyd_node' has no member named 'child' 1793 | LY_TREE_FOR (dn->child, child) { | ^~ lib/northbound.c:1793:33: error: expected ';' before '{' token 1793 | LY_TREE_FOR (dn->child, child) { | ^~ | ; lib/northbound.c:1804:46: error: dereferencing pointer to incomplete type 'struct lys_node_list' 1804 | != ((struct lys_node_list *)dn->schema)->keys_size) { | ^~ lib/northbound.c:1789:16: warning: unused variable 'n' [-Wunused-variable] 1789 | unsigned int n = 0; | ^ lib/northbound.c:1822:50: error: 'struct lyd_node' has no member named 'child' 1822 | if (dnode->schema->nodetype == LYS_LIST && dnode->child) | ^~ lib/northbound.c: In function 'nb_operation_is_valid': lib/northbound.c:1852:13: error: dereferencing pointer to incomplete type 'struct lys_node_leaf' 1852 | if (sleaf->type.base != LY_TYPE_EMPTY) | ^~ lib/northbound.c:1857:19: error: dereferencing pointer to incomplete type 'struct lys_node_container' 1857 | if (!scontainer->presence) | ^~ In file included from lib/northbound.c:20: lib/northbound.c:1928:34: error: 'LYS_USERORDERED' undeclared (first use in this function); did you mean 'LYD_PARSE_ORDERED'? 1928 | if (!CHECK_FLAG(snode->flags, LYS_USERORDERED)) | ^~~~~~~~~~~~~~~ ./lib/zebra.h:392:38: note: in definition of macro 'CHECK_FLAG' 392 | #define CHECK_FLAG(V,F) ((V) & (F)) | ^ lib/northbound.c: In function 'nb_running_unset_entry_helper': lib/northbound.c:2099:21: error: 'const struct lyd_node' has no member named 'child' 2099 | LY_TREE_FOR (dnode->child, child) { | ^~ lib/northbound.c:2099:36: error: expected ';' before '{' token 2099 | LY_TREE_FOR (dnode->child, child) { | ^~ | ; lib/northbound.c: In function 'nb_running_get_entry_worker': lib/northbound.c:2141:9: warning: assignment to 'const struct lyd_node *' from incompatible pointer type 'struct lyd_node_inner * const' [-Wincompatible-pointer-types] 2141 | dnode = dnode->parent; | ^ lib/northbound.c: In function 'nb_init': lib/northbound.c:2301:26: warning: passing argument 1 of 'yang_snodes_iterate_all' from incompatible pointer type [-Wincompatible-pointer-types] 2301 | yang_snodes_iterate_all(nb_node_validate, 0, &errors); | ^~~~~~~~~~~~~~~~ | | | int (*)(const struct lys_node *, void *) In file included from lib/northbound.h:27, from lib/libfrr.h:31, from lib/northbound.c:22: lib/yang.h:224:52: note: expected 'yang_iterate_cb' {aka 'int (*)(const struct lys_node *, void *)'} but argument is of type 'int (*)(const struct lys_node *, void *)' 224 | extern int yang_snodes_iterate_all(yang_iterate_cb cb, uint16_t flags, | ~~~~~~~~~~~~~~~~^~ lib/northbound.c: In function 'nb_node_find': lib/northbound.c:183:1: warning: control reaches end of non-void function [-Wreturn-type] 183 | } | ^ At top level: lib/northbound.c:1087:12: warning: 'nb_callback_pre_validate' defined but not used [-Wunused-function] 1087 | static int nb_callback_pre_validate(struct nb_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~ Makefile:7962: recipe for target 'lib/northbound.lo' failed make[2]: *** [lib/northbound.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ./lib/northbound.h:27, from ./lib/vty.h:36, from ./lib/ferr.h:28, from lib/lib_errors.h:24, from lib/pid_output.c:27: ./lib/yang.h:111:45: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 111 | typedef int (*yang_iterate_cb)(const struct lys_node *snode, void *arg); | ^~~~~~~~ ./lib/yang.h:183:53: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 183 | extern int yang_snodes_iterate_subtree(const struct lys_node *snode, | ^~~~~~~~ ./lib/yang.h:242:46: warning: 'struct lys_node' declared inside parameter list will not be visible outside of this definition or declaration 242 | extern void yang_snode_get_path(const struct lys_node *snode, | ^~~~~~~~ make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1' Makefile:4721: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1' package/pkg-generic.mk:292: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/frr-7.5.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'