DEBUG: Executing python function extend_recipe_sysroot NOTE: Direct dependencies are ['TOPDIR/sources/meta-clang/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', 'TOPDIR/sources/meta-clang/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'TOPDIR/sources/meta-clang/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-connectivity/openssl/openssl_3.1.0.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-core/musl/musl_git.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.72c.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/automake/automake_1.16.5.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot'] NOTE: Installed into sysroot: [] NOTE: Skipping as already exists in sysroot: ['clang-cross-x86_64', 'compiler-rt', 'libcxx', 'openssl', 'musl', 'systemd-systemctl-native', 'libtool-cross', 'libtool-native', 'quilt-native', 'autoconf-native', 'automake-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'attr-native', 'm4-native', 'texinfo-dummy-native', 'gnu-config-native', 'gcc-runtime', 'libgcc', 'linux-libc-headers', 'libssp-nonshared', 'bsd-headers', 'opkg-utils', 'binutils-cross-x86_64', 'clang-native', 'gettext-minimal-native', 'zlib-native', 'flex-native', 'libxml2-native', 'libedit-native', 'cmake-native', 'zstd-native', 'libffi-native', 'python3-native', 'swig-native', 'binutils-native', 'xz-native', 'ncurses-native', 'bzip2-native', 'openssl-native', 'util-linux-libuuid-native', 'expat-native', 'libtirpc-native', 'sqlite3-native', 'libnsl2-native', 'gdbm-native', 'libpcre2-native', 'elfutils-native', 'perl-native', 'libmicrohttpd-native', 'curl-native', 'libarchive-native', 'make-native', 'gnutls-native', 'libgcrypt-native', 'gmp-native', 'libidn2-native', 'nettle-native', 'libtasn1-native', 'libunistring-native', 'libcap-native', 'libgpg-error-native'] DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing shell function autotools_preconfigure DEBUG: Shell function autotools_preconfigure finished DEBUG: Executing python function autotools_aclocals DEBUG: SITE files ['endian-little', 'common-linux', 'common-musl', 'x86_64-linux', 'bit-64', 'x86_64-linux-musl', 'common'] DEBUG: Python function autotools_aclocals finished DEBUG: Executing shell function do_configure automake (GNU automake) 1.16.5 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>. AUTOV is 1.16 NOTE: Executing ACLOCAL="aclocal --system-acdir=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint --exclude=gtkdocize -I TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/share/aclocal/ autoreconf: export WARNINGS=cross,no-obsolete autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --system-acdir=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/share/aclocal/ --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/bin/autoconf --include=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/share/aclocal/ --force configure.ac:249: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:249: the top level configure.ac:249: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:249: the top level configure.ac:249: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:249: the top level configure.ac:269: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:269: the top level configure.ac:281: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:281: the top level configure.ac:381: warning: cannot check for file existence when cross compiling ../autoconf-2.72c/lib/autoconf/general.m4:3008: AC_CHECK_FILE is expanded from... ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... configure.ac:381: the top level autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:10: installing './compile' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' NOTE: Running ../git/configure --build=x86_64-linux --host=x86_64-yoe-linux-musl --target=x86_64-yoe-linux-musl --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot --with-pppd=/usr/sbin/pppd --disable-proc --disable-static --with-resolvconf=DISABLED --with-systemdsystemunitdir=/usr/lib/systemd/system configure: WARNING: unrecognized options: --with-libtool-sysroot, --disable-static configure: loading site script TOPDIR/sources/poky/meta/site/endian-little configure: loading site script TOPDIR/sources/poky/meta/site/common-linux configure: loading site script TOPDIR/sources/poky/meta/site/common-musl configure: loading site script TOPDIR/sources/poky/meta/site/x86_64-linux configure: loading site script TOPDIR/sources/poky/meta/site/common checking for a BSD-compatible install... TOPDIR/build/tmp/hosttools/install -c checking whether build environment is sane... yes checking for x86_64-yoe-linux-musl-strip... x86_64-yoe-linux-musl-strip checking for a race-free mkdir -p... TOPDIR/build/tmp/hosttools/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-yoe-linux-musl-gcc... x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot 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 x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot accepts -g... yes checking for x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot option to enable C11 features... none needed checking whether x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-yoe-linux-musl-clang -target x86_64-yoe-linux-musl -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot... none checking for a sed that does not truncate output... (cached) sed 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 for x86_64-yoe-linux-musl-pkg-config... no checking for pkg-config... TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/recipe-sysroot-native/usr/bin/pkg-config configure: WARNING: using cross tools not prefixed with host triplet checking pkg-config is at least version 0.9.0... yes checking whether make supports nested variables... (cached) yes checking for libssl >= 1.0.2 libcrypto >= 1.0.2... yes checking for pthread_create in -lpthread... yes checking for forkpty in -lutil... yes checking for libsystemd... no libsystemd not present checking for arpa/inet.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for ifaddrs.h... yes checking for netdb.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for pthread.h... yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for syslog.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for net/route.h... yes checking for libutil.h... no checking for mach/mach.h... no checking for pty.h... yes checking for semaphore.h... yes checking for util.h... no checking for net/if_var.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for struct termios... yes checking for access... yes checking for close... no configure: error: Required function not found NOTE: The following config.log files may provide further information. NOTE: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/build/config.log ERROR: configure failed WARNING: TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610:285 exit 1 from 'exit 1' WARNING: Backtrace (BB generated script): #1: bbfatal_log, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610, line 285 #2: oe_runconf, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610, line 261 #3: autotools_do_configure, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610, line 231 #4: do_configure, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610, line 151 #5: main, TOPDIR/build/tmp/work/core2-64-yoe-linux-musl/openfortivpn/1.20.3-r0/temp/run.do_configure.7610, line 289