make package/feeds/packages/frr/host/{clean,compile} -j 1 V=s make[2]: Entering directory '/Volumes/test/m/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/Volumes/test/m/openwrt/scripts/config' make[1]: Entering directory '/Volumes/test/m/openwrt' make[2]: Entering directory '/Volumes/test/m/openwrt/feeds/packages/net/frr' rm -rf /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af/.built rm -rf /Volumes/test/m/openwrt/staging_dir/hostpkg/stamp/.frr_installed make[2]: Leaving directory '/Volumes/test/m/openwrt/feeds/packages/net/frr' time: package/feeds/packages/frr/host-clean#0.75#1.99#3.15 make[1]: Leaving directory '/Volumes/test/m/openwrt' make[2]: Entering directory '/Volumes/test/m/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/Volumes/test/m/openwrt/scripts/config' make[1]: Entering directory '/Volumes/test/m/openwrt' make[2]: Entering directory '/Volumes/test/m/openwrt/feeds/packages/libs/libffi' make[2]: Leaving directory '/Volumes/test/m/openwrt/feeds/packages/libs/libffi' time: package/feeds/packages/libffi/host-compile#0.68#0.65#1.80 make[2]: Entering directory '/Volumes/test/m/openwrt/package/utils/bzip2' make[2]: Leaving directory '/Volumes/test/m/openwrt/package/utils/bzip2' time: package/utils/bzip2/host-compile#1.11#0.70#2.83 make[2]: Entering directory '/Volumes/test/m/openwrt/feeds/packages/lang/python/python3' make[2]: Leaving directory '/Volumes/test/m/openwrt/feeds/packages/lang/python/python3' time: package/feeds/packages/python3/host-compile#1.01#0.90#2.38 make[2]: Entering directory '/Volumes/test/m/openwrt/feeds/packages/net/frr' . /Volumes/test/m/openwrt/include/shell.sh; /Volumes/test/m/openwrt/staging_dir/host/bin/libdeflate-gzip -dc /Volumes/test/m/openwrt/dl/frr-2023-08-12.tar.gz | tar -C /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/* /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af Applying /Volumes/test/m/openwrt/feeds/packages/net/frr/patches/098-fix_mips_libyang.patch using plaintext: patching file lib/northbound.h Applying /Volumes/test/m/openwrt/feeds/packages/net/frr/patches/996-qpb_header_fix.patch using plaintext: patching file qpb/qpb_allocator.h Applying /Volumes/test/m/openwrt/feeds/packages/net/frr/patches/997-reverse_python_test.patch using plaintext: patching file configure.ac Applying /Volumes/test/m/openwrt/feeds/packages/net/frr/patches/998-lib-fix-error-on-MacOS.patch using plaintext: patching file lib/compiler.h patching file lib/memory.h touch /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af/.prepared7fba56b5efdeee3ceb79da97fefa6624_6664517399ebbbc92a37c5bb081b5c53 (cd /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -d ./autom4te.cache ] && rm -rf ./autom4te.cache; [ -e ./config.rpath ] || ln -s /Volumes/test/m/openwrt/scripts/config.rpath ./config.rpath; touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; AUTOM4TE=/Volumes/test/m/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/Volumes/test/m/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/Volumes/test/m/openwrt/staging_dir/host/bin/automake ACLOCAL=/Volumes/test/m/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/Volumes/test/m/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/Volumes/test/m/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/Volumes/test/m/openwrt/staging_dir/host/bin/libtool M4=/Volumes/test/m/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true GTKDOCIZE=true LIBTOOLIZE='/Volumes/test/m/openwrt/staging_dir/host/bin/libtoolize --install' /Volumes/test/m/openwrt/staging_dir/host/bin/autoreconf -v -f -i -s -B /Volumes/test/m/openwrt/staging_dir/host/share/aclocal -I m4 -I . . || true; fi; ); autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/aclocal -I m4 -I . --force -I m4 -Wall,no-override autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory m4/ac autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'm4/ac'. OpenWrt-libtoolize: linking file 'm4/ac/config.guess' OpenWrt-libtoolize: linking file 'm4/ac/config.sub' OpenWrt-libtoolize: linking file 'm4/ac/install-sh' OpenWrt-libtoolize: linking file 'm4/ac/ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: linking file 'm4/libtool.m4' OpenWrt-libtoolize: linking file 'm4/ltoptions.m4' OpenWrt-libtoolize: linking file 'm4/ltsugar.m4' OpenWrt-libtoolize: linking file 'm4/ltversion.m4' OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/aclocal -I m4 -I . --force -I m4 -Wall,no-override autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/autoconf --include=m4 --include=. --prepend-include=/Volumes/test/m/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/autoheader --include=m4 --include=. --prepend-include=/Volumes/test/m/openwrt/staging_dir/host/share/aclocal --force autoreconf: running: /Volumes/test/m/openwrt/staging_dir/host/bin/automake --add-missing --force-missing configure.ac:176: installing 'm4/ac/compile' configure.ac:108: installing 'm4/ac/missing' Makefile.am: installing 'm4/ac/depcomp' configure.ac: installing 'm4/ac/ylwrap' parallel-tests: installing 'm4/ac/test-driver' autoreconf: Leaving directory '.' (cd /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af/; if [ -x configure ]; then cp -fpR /Volumes/test/m/openwrt/scripts/config.{guess,sub} /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af// && CC="/Volumes/test/m/openwrt/staging_dir/host/bin/gcc" CFLAGS="-O2 -I/Volumes/test/m/openwrt/staging_dir/host/include -I/Volumes/test/m/openwrt/staging_dir/hostpkg/include -I/Volumes/test/m/openwrt/staging_dir/target-x86_64_musl/host/include" CXX="/Volumes/test/m/openwrt/staging_dir/host/bin/g++" CPPFLAGS="-I/Volumes/test/m/openwrt/staging_dir/host/include -I/Volumes/test/m/openwrt/staging_dir/hostpkg/include -I/Volumes/test/m/openwrt/staging_dir/target-x86_64_musl/host/include -I/Volumes/test/m/openwrt/staging_dir/host/include/libelf" CXXFLAGS="" LDFLAGS="-L/Volumes/test/m/openwrt/staging_dir/host/lib -L/Volumes/test/m/openwrt/staging_dir/hostpkg/lib -L/Volumes/test/m/openwrt/staging_dir/target-x86_64_musl/host/lib" CONFIG_SHELL="/usr/bin/env bash" bash ./configure --target=x86_64-apple-darwin23.4.0 --host=x86_64-apple-darwin23.4.0 --build=x86_64-apple-darwin23.4.0 --disable-dependency-tracking --program-prefix="" --program-suffix="" --prefix=/Volumes/test/m/openwrt/staging_dir/hostpkg --exec-prefix=/Volumes/test/m/openwrt/staging_dir/hostpkg --sysconfdir=/Volumes/test/m/openwrt/staging_dir/hostpkg/etc --localstatedir=/Volumes/test/m/openwrt/staging_dir/hostpkg/var --sbindir=/Volumes/test/m/openwrt/staging_dir/hostpkg/bin --enable-clippy-only ; fi ) configure: loading site script /Volumes/test/m/openwrt/include/site/darwin checking build system type... x86_64-apple-darwin23.4.0 checking host system type... x86_64-apple-darwin23.4.0 checking for a BSD-compatible install... /Volumes/test/m/openwrt/staging_dir/host/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/local/bin/gmkdir -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... /Volumes/test/m/openwrt/staging_dir/host/bin/perl checking pkg-config is at least version 0.9.0... yes checking for x86_64-apple-darwin23.4.0-gcc... /Volumes/test/m/openwrt/staging_dir/host/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc accepts -g... yes checking for /Volumes/test/m/openwrt/staging_dir/host/bin/gcc option to enable C11 features... none needed checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /Volumes/test/m/openwrt/staging_dir/host/bin/gcc... none checking how to run the C preprocessor... /Volumes/test/m/openwrt/staging_dir/host/bin/gcc -E checking whether the compiler supports GNU C++... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/g++ accepts -g... yes checking for /Volumes/test/m/openwrt/staging_dir/host/bin/g++ option to enable C++11 features... none needed checking dependency style of /Volumes/test/m/openwrt/staging_dir/host/bin/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 /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -fms-extensions... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -fno-omit-frame-pointer... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -funwind-tables... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wall... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wextra... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wformat-nonliteral... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wformat-security... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wswitch-enum... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wstrict-prototypes... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wmissing-prototypes... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wmissing-declarations... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wpointer-arith... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wbad-function-cast... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wwrite-strings... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wundef... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wno-unused-result... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wno-unused-parameter... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wno-missing-field-initializers... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -Wc++-compat... yes checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -fplugin=tools/gcc-plugins/frr-format.so... no checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -fplugin=frr-format... no checking whether linker supports __start/stop_section symbols... no checking for egrep... /Volumes/test/m/openwrt/staging_dir/host/bin/egrep checking whether /Volumes/test/m/openwrt/staging_dir/host/bin/gcc is Clang... yes checking whether pthreads work with "-pthread" and "-lpthread"... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for library containing pthread_condattr_setclock... no 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 whether ln -s works... yes checking for x86_64-apple-darwin23.4.0-ar... no checking for ar... ar checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /usr/local/bin/fgrep checking for ld used by /Volumes/test/m/openwrt/staging_dir/host/bin/gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 786432 checking how to convert x86_64-apple-darwin23.4.0 file names to x86_64-apple-darwin23.4.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin23.4.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for x86_64-apple-darwin23.4.0-file... no checking for file... file checking for x86_64-apple-darwin23.4.0-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-apple-darwin23.4.0-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-apple-darwin23.4.0-ar... ar checking for archiver @FILE support... no checking for x86_64-apple-darwin23.4.0-strip... no checking for strip... strip checking for x86_64-apple-darwin23.4.0-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from /Volumes/test/m/openwrt/staging_dir/host/bin/gcc 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-apple-darwin23.4.0-mt... no checking for mt... no checking if : is a manifest tool... no checking for x86_64-apple-darwin23.4.0-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin23.4.0-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin23.4.0-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin23.4.0-otool... no checking for otool... otool checking for x86_64-apple-darwin23.4.0-otool64... no checking for otool64... no checking for -single_module linker flag... ld: warning: -single_module is obsolete no checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -fno-rtti -fno-exceptions... yes checking for /Volumes/test/m/openwrt/staging_dir/host/bin/gcc option to produce PIC... -fno-common -DPIC checking if /Volumes/test/m/openwrt/staging_dir/host/bin/gcc PIC flag -fno-common -DPIC works... yes checking if /Volumes/test/m/openwrt/staging_dir/host/bin/gcc static flag -static works... no checking if /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -c -o file.o... yes checking if /Volumes/test/m/openwrt/staging_dir/host/bin/gcc supports -c -o file.o... (cached) yes checking whether the /Volumes/test/m/openwrt/staging_dir/host/bin/gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin23.4.0 dyld 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... yes checking how to run the C++ preprocessor... /Volumes/test/m/openwrt/staging_dir/host/bin/g++ -E checking for ld used by /Volumes/test/m/openwrt/staging_dir/host/bin/g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the /Volumes/test/m/openwrt/staging_dir/host/bin/g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for /Volumes/test/m/openwrt/staging_dir/host/bin/g++ option to produce PIC... -fno-common -DPIC checking if /Volumes/test/m/openwrt/staging_dir/host/bin/g++ PIC flag -fno-common -DPIC works... yes checking if /Volumes/test/m/openwrt/staging_dir/host/bin/g++ static flag -static works... no checking if /Volumes/test/m/openwrt/staging_dir/host/bin/g++ supports -c -o file.o... yes checking if /Volumes/test/m/openwrt/staging_dir/host/bin/g++ supports -c -o file.o... (cached) yes checking whether the /Volumes/test/m/openwrt/staging_dir/host/bin/g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin23.4.0 dyld checking how to hardcode library paths into programs... immediate checking whether ar supports D option... no checking whether ranlib supports D option... no checking for gelf.h... yes checking for elf_memory in -lelf... no configure: error: libelf is required for building clippy. (Host only when cross-compiling.) make[2]: *** [Makefile:244: /Volumes/test/m/openwrt/build_dir/hostpkg/frr-9852228d1e87bdbad13e0fed8313203f00bf26af/.configured] Error 1 make[2]: Leaving directory '/Volumes/test/m/openwrt/feeds/packages/net/frr' time: package/feeds/packages/frr/host-compile#28.10#7.87#39.89 ERROR: package/feeds/packages/frr [host] failed to build. make[1]: *** [package/Makefile:127: package/feeds/packages/frr/host/compile] Error 1 make[1]: Leaving directory '/Volumes/test/m/openwrt' make: *** [/Volumes/test/m/openwrt/include/toplevel.mk:233: package/feeds/packages/frr/host/compile] Error 2