>>> ntpsec 1.2.3 Extracting bzcat /home/buildroot/autobuild/instance-1/dl/ntpsec/ntpsec-NTPsec_1_2_3.tar.bz2 | /home/buildroot/autobuild/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3 -xf - >>> ntpsec 1.2.3 Patching Applying 0001-wscript-remove-checks-for-bsd-string.h-fixes-host-co.patch using patch: patching file include/ntp_stdlib.h patching file wscript Hunk #1 succeeded at 683 (offset 23 lines). Hunk #2 succeeded at 701 (offset 23 lines). Applying 0003-disable-PIE-support.patch using patch: patching file wscript >>> ntpsec 1.2.3 Configuring cd /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/ && GIT_DIR=. PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" AR="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc-ar" AS="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-as" LD="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-ld" NM="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc-nm" CC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-g++" FC="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-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-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-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 -Og -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/host/mips-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl /home/buildroot/autobuild/instance-1/output-1/host/bin/python3 ./waf configure --prefix=/usr --libdir=/usr/lib CC="/usr/bin/gcc" PYTHON_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/bin/python3-config" --libdir=/usr/lib/python3.11/site-packages/ntp --cross-compiler="/home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc" --cross-cflags="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -std=gnu99" --cross-ldflags="" --notests --enable-early-droproot --disable-mdns-registration --enable-pylib=ffi --nopyc --nopyo --nopycache --disable-doc --disable-manpage --disable-nts Setting top to : /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3 Setting out to : /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/build AsciiDoc processor : unnecessary --- Configuring host --- Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking compiler version : 12.3.1 Checking for program 'ldconfig' : /usr/sbin/ldconfig Checking for program 'm4' : /home/buildroot/autobuild/instance-1/output-1/host/bin/m4 Checking for program 'bison' : /home/buildroot/autobuild/instance-1/output-1/host/bin/bison Checking for program 'awk' : /usr/bin/awk Checking for program 'sh' : /usr/bin/sh Checking for program 'pkg-config' : /home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config Checking for systemd : yes systemd unit directory: : /usr/lib/systemd/system --- Configuring main --- Using Cross compiler CC: : /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc Checking for endianness : big Checking for library m : yes Checking for library rt : yes Checking for library pthread : yes Checking for library execinfo : not found Checking for library bsd : not found Checking for library ssp : not found Checking for library ssp_nonshared : not found Checking if C compiler supports -fPIC : yes Checking if C compiler supports -Qunused-arguments : no Checking if C compiler supports -Wcast-qual : yes Checking if C compiler supports -Wdisabled-optimization : yes Checking if C compiler supports -Wfloat-equal : yes Checking if C compiler supports -Wformat : yes Checking if C compiler supports -Wformat-security : yes Checking if C compiler supports -Wformat-signedness : yes Checking if C compiler supports -Wimplicit-function-declaration : yes Checking if C compiler supports -Winit-self : yes Checking if C compiler supports -Winvalid-pch : yes Checking if C compiler supports -Wmissing-declarations : yes Checking if C compiler supports -Wmultichar : yes Checking if C compiler supports -Wpacked : yes Checking if C compiler supports -Wpointer-arith : yes Checking if C compiler supports -Wshadow : yes Checking if C compiler supports -Wsuggest-attribute=noreturn : yes Checking if C compiler supports -Wwrite-strings : yes Checking if linker supports -fstack-protector-all : yes Checking if linker supports -Wl,-z,now : yes Checking for type struct if_laddrconf : no Checking for type struct if_laddrreq : no Checking for type struct timex : yes Checking for type struct ntptimeval : yes Checking for field time_tick in struct timex : no Checking for field modes in struct timex : yes Checking for field time.tv_nsec in struct ntptimeval : no Checking for field tai in struct ntptimeval : yes Checking sizeof long : 4 Checking sizeof time_t (time.h) : 4 Checking for OpenSSL/libcrypto (via pkg-config) : yes Checking for function _Unwind_Backtrace : yes Checking for function adjtimex : yes Checking for function backtrace_symbols_fd : yes Checking for function ntp_adjtime : yes Checking for function ntp_gettime : yes Checking for function res_init : yes Checking for function strlcpy : yes Checking for function strlcat : yes Checking for function timegm : yes Checking for function PRIV_NTP_ADJTIME : no Checking for function timer_create : yes Checking for function CMAC_CTX_new : yes Checking for function EVP_PKEY_new_CMAC_key : yes Checking for header stdbool.h : yes Checking for header alloca.h : yes Checking for header arpa/nameser.h : yes Checking for header ifaddrs.h : yes Checking for header linux/if_addr.h : yes Checking for header linux/rtnetlink.h : yes Checking for header linux/serial.h : yes Checking for header net/if6.h : not found Checking for header net/route.h : yes Checking for header openssl/opensslv.h : yes Checking for header priv.h : not found Checking for header stdatomic.h : yes Checking for header sys/clockctl.h : not found Checking for header sys/ioctl.h : yes Checking for header sys/modem.h : not found Checking for header sys/sockio.h : not found Checking for header sys/sysctl.h : no Checking for header timepps.h : no Checking for header sys/timepps.h : no Checking for header sys/timex.h : yes Checking for sockaddr->sa_len : no Checking if strerror_r returns char* : no Checking for header libscf.h : not found Checking for header sys/prctl.h : yes Checking for header sys/capability.h : yes Checking for library cap : yes WARNING: This system has a 32-bit time_t. WARNING: Your ntpd will fail on 2038-01-19T03:14:07Z. Writing configuration header: : config.h Build Options CC : /home/buildroot/autobuild/instance-1/output-1/host/bin/mips-linux-gcc CFLAGS : -DUNITY_EXCLUDE_FLOAT_PRINT -Wshadow -Wpacked -Wcast-qual -Wmissing-declarations -Wdisabled-optimization -Wimplicit-function-declaration -Winvalid-pch -Wpointer-arith -Wwrite-strings -Winit-self -Wfloat-equal -Wformat -Wformat-signedness -Wformat-security -Wsuggest-attribute=noreturn -fPIC -O1 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wundef -Wunused -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -std=gnu99 LDFLAGS : -fstack-protector-all -Wl,-z,now LINKFLAGS_NTPD : PREFIX : /usr LIBDIR : /usr/lib/python3.11/site-packages/ntp Droproot Support : Linux Debug Support : No Refclocks : Build Docs : No Build Manpages : No Checking for program 'python' : /home/buildroot/autobuild/instance-1/output-1/host/bin/python3 Checking for python version : 3.11.8 python-config : /home/buildroot/autobuild/instance-1/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/bin/python3-config Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Testing pyext configuration : yes Checking for python module 'curses' : not found WARNING: ntpmon will not be built/installed since python curses module was not found Checking for python module 'argparse' : 1.1 Checking for python module 'gps' (ver >= num(3, 18)) : not found WARNING: ntploggps will not be built/installed since python gps module >= 3.18 was not found PYSHEBANG : /usr/bin/env python PYTHONDIR : /usr/lib/python3.11/site-packages PYTHONARCHDIR : /usr/lib/python3.11/site-packages 'configure' finished successfully (9.018s) >>> ntpsec 1.2.3 Building cd /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/ && GIT_DIR=. PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /home/buildroot/autobuild/instance-1/output-1/host/bin/python3 ./waf build -j 4 --- building host --- Waf: Entering directory `/home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/build/host' [1/2] Processing ntpd/ntp_parser.y [2/2] Compiling build/host/ntpd/ntp_parser.tab.c [3/4] Compiling ntpd/keyword-gen.c [4/4] Linking build/host/ntpd/keyword-gen [5/5] Compiling build/host/ntpd/ntp_parser.tab.h 166 keywords consumed 723 states of 2047 max. Waf: Leaving directory `/home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/build/host' --- building main --- Waf: Entering directory `/home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/build/main' Unit test runner skipped on a cross-compiled build. --- PYTHONPATH is not set, loading the Python ntp library may be troublesome --- [ 1/88] Compiling libntp/socktoa.c [ 2/88] Compiling libntp/initnetwork.c [ 3/88] Compiling libntp/clocktime.c [ 4/88] Compiling libntp/authkeys.c [ 5/88] Compiling libntp/timespecops.c [ 6/88] Compiling libntp/socket.c [ 7/88] Compiling libntp/statestr.c [ 8/88] Compiling libntp/ntp_random.c [ 9/88] Compiling libntp/hextolfp.c [10/88] Compiling libntp/macencrypt.c [11/88] Compiling libntp/emalloc.c [12/88] Compiling libntp/clockwork.c [13/88] Compiling libntp/isc_net.c [14/88] Compiling libntp/decodenetnum.c [15/88] Compiling libntp/assert.c [16/88] Compiling libntp/syssignal.c [17/88] Compiling libntp/isc_interfaceiter.c [18/88] Compiling libntp/ssl_init.c [19/88] Compiling libntp/lib_strbuf.c [20/88] Compiling libntp/prettydate.c [21/88] Compiling libntp/authreadkeys.c [22/88] Compiling libntp/dolfptoa.c [23/88] Compiling libntp/systime.c [24/88] Compiling libntp/getopt.c [25/88] Compiling libntp/ntp_endian.c ../../libntp/authreadkeys.c: In function 'check_cmac_mac_length': ../../libntp/authreadkeys.c:181:9: error: unknown type name 'CMAC_CTX'; did you mean 'HMAC_CTX'? 181 | CMAC_CTX *ctx; | ^~~~~~~~ | HMAC_CTX ../../libntp/authreadkeys.c:184:15: warning: implicit declaration of function 'CMAC_CTX_new'; did you mean 'BN_CTX_new'? [-Wimplicit-function-declaration] 184 | ctx = CMAC_CTX_new(); | ^~~~~~~~~~~~ | BN_CTX_new ../../libntp/authreadkeys.c:184:13: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 184 | ctx = CMAC_CTX_new(); | ^ ../../libntp/authreadkeys.c:185:14: warning: implicit declaration of function 'CMAC_Init' [-Wimplicit-function-declaration] 185 | if (!CMAC_Init(ctx, key, EVP_CIPHER_key_length(cmac_cipher), cmac_cipher, NULL)) { | ^~~~~~~~~ ../../libntp/authreadkeys.c:193:9: warning: implicit declaration of function 'CMAC_Final' [-Wimplicit-function-declaration] 193 | CMAC_Final(ctx, mac, &length); | ^~~~~~~~~~ ../../libntp/authreadkeys.c:194:9: warning: implicit declaration of function 'CMAC_CTX_free'; did you mean 'BN_CTX_free'? [-Wimplicit-function-declaration] 194 | CMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | BN_CTX_free Waf: Leaving directory `/home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/build/main' Build failed -> task in 'ntp' failed with exit status 1 (run with -v to display more information) make: *** [package/pkg-generic.mk:283: /home/buildroot/autobuild/instance-1/output-1/build/ntpsec-1.2.3/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'