checking for --disable-wchar or broken wchar usability... no (default) checking size of wchar_t... 4 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libsafec.pc config.status: creating include/safe_config.h config.status: creating include/safe_lib_errno.h config.status: creating include/safe_types.h config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> safeclib 08112019 Building PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-4/output-1/build/safeclib-08112019/ make[1]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' Making all in src make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' CC mem/mem_primitives_lib.lo CC abort_handler_s.lo CC ignore_handler_s.lo CC mem/safe_mem_constraint.lo CC mem/memset_s.lo CC mem/memcpy_s.lo CC mem/memmove_s.lo CC str/safe_str_constraint.lo CC str/sprintf_s.lo CC str/strcat_s.lo CC str/strcpy_s.lo CC str/strncat_s.lo CC str/strncpy_s.lo CC str/strnlen_s.lo CC str/strtok_s.lo CC str/strerror_s.lo CC str/vsprintf_s.lo CC str/snprintf_s.lo CC str/vsnprintf_s.lo CC io/sscanf_s.lo CC io/fscanf_s.lo CC io/scanf_s.lo CC io/vfscanf_s.lo CC io/vsscanf_s.lo CC io/vscanf_s.lo CC io/printf_s.lo CC io/fprintf_s.lo CC io/tmpfile_s.lo CC io/vfprintf_s.lo CC io/vprintf_s.lo CC io/fopen_s.lo CC io/freopen_s.lo CC io/gets_s.lo CC os/gmtime_s.lo CC os/localtime_s.lo CC os/asctime_s.lo CC os/ctime_s.lo CC os/getenv_s.lo CC misc/bsearch_s.lo CC misc/qsort_s.lo CC wchar/mbsrtowcs_s.lo CC wchar/mbstowcs_s.lo CC wchar/wcsrtombs_s.lo CC wchar/wcstombs_s.lo CC wchar/wcrtomb_s.lo CC wchar/wctomb_s.lo CC wchar/wcsnlen_s.lo CC wchar/wcscpy_s.lo CC wchar/wcsncpy_s.lo CC wchar/wcscat_s.lo CC wchar/wcsncat_s.lo CC wchar/wmemcpy_s.lo CC wchar/wmemmove_s.lo CC wchar/wcstok_s.lo CC wchar/vswprintf_s.lo CC wchar/swprintf_s.lo CC wchar/vfwprintf_s.lo CC wchar/vwprintf_s.lo CC wchar/wprintf_s.lo CC wchar/fwprintf_s.lo CC wchar/swscanf_s.lo CC wchar/vswscanf_s.lo CC wchar/wscanf_s.lo CC wchar/vfwscanf_s.lo CC wchar/fwscanf_s.lo CC wchar/vwscanf_s.lo CC wchar/snwprintf_s.lo CC wchar/vsnwprintf_s.lo CC extwchar/wcsstr_s.lo CC extwchar/wmemcmp_s.lo CC extwchar/wcscmp_s.lo CC extwchar/wcsncmp_s.lo CC extwchar/wcsicmp_s.lo CC extwchar/wcsnatcmp_s.lo CC extwchar/wcsset_s.lo CC extwchar/wcsnset_s.lo CC extwchar/wcscoll_s.lo CC extwchar/wcslwr_s.lo CC extwchar/wcsupr_s.lo CC extwchar/towfc_s.lo CC extwchar/towctrans.lo CC extwchar/wcsfc_s.lo CC extwchar/wcsnorm_s.lo CC extmem/memset16_s.lo CC extmem/memset32_s.lo CC extmem/memcpy16_s.lo CC extmem/memcpy32_s.lo CC extmem/memmove16_s.lo CC extmem/memmove32_s.lo CC extmem/memcmp_s.lo CC extmem/memcmp16_s.lo CC extmem/memcmp32_s.lo CC extmem/memzero_s.lo CC extmem/memzero16_s.lo CC extmem/memzero32_s.lo CC extmem/memchr_s.lo CC extmem/memrchr_s.lo CC extmem/memccpy_s.lo CC extmem/timingsafe_memcmp.lo CC extmem/timingsafe_bcmp.lo CC extstr/strcasecmp_s.lo CC extstr/strcasestr_s.lo CC extstr/strcmp_s.lo CC extstr/strcmpfld_s.lo CC extstr/strcpyfld_s.lo CC extstr/strcpyfldin_s.lo CC extstr/strcpyfldout_s.lo CC extstr/strcspn_s.lo CC extstr/strfirstchar_s.lo CC extstr/strfirstdiff_s.lo CC extstr/strfirstsame_s.lo CC extstr/strisalphanumeric_s.lo CC extstr/strisascii_s.lo CC extstr/strisdigit_s.lo CC extstr/strishex_s.lo CC extstr/strislowercase_s.lo CC extstr/strismixedcase_s.lo CC extstr/strispassword_s.lo CC extstr/strisuppercase_s.lo CC extstr/strlastchar_s.lo CC extstr/strlastdiff_s.lo CC extstr/strlastsame_s.lo CC extstr/strljustify_s.lo CC extstr/strnatcmp_s.lo CC extstr/strnterminate_s.lo CC extstr/strpbrk_s.lo CC extstr/strprefix_s.lo CC extstr/strremovews_s.lo CC extstr/strspn_s.lo CC extstr/strchr_s.lo CC extstr/strrchr_s.lo CC extstr/strstr_s.lo CC extstr/strtolowercase_s.lo CC extstr/strtouppercase_s.lo CC extstr/strzero_s.lo CC extstr/strset_s.lo CC extstr/strnset_s.lo CC extstr/strcoll_s.lo CCLD libmemprims.la CCLD libsafeccore.la CCLD libsafec-3.5.1.la make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' Making all in tests make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' CC perf_memcpy_s.o CC perf_memset_s.o CC perf_strcpy_s.o CC perf_memcpy32_s.o CCLD p_strcpy_s CCLD p_memcpy_s CCLD p_memset_s CCLD p_memcpy32_s make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[2]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[1]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' >>> safeclib 08112019 Installing to staging directory PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot install -C /tmp/instance-4/output-1/build/safeclib-08112019/ make[1]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' /usr/bin/make install-recursive make[2]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' Making install in src make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' make[4]: Nothing to be done for 'install-data-am'. /bin/bash ../libtool --mode=install /usr/bin/install -c libsafec-3.5.1.la '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' libtool: install: /usr/bin/install -c .libs/libsafec-3.5.1.so.3.0.6 /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libsafec-3.5.1.so.3.0.6 libtool: install: (cd /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib && { ln -s -f libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so.3 || { rm -f libsafec-3.5.1.so.3 && ln -s libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so.3; }; }) libtool: install: (cd /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib && { ln -s -f libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so || { rm -f libsafec-3.5.1.so && ln -s libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so; }; }) libtool: install: /usr/bin/install -c .libs/libsafec-3.5.1.lai /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libsafec-3.5.1.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' Making install in tests make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/bin' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libsafec' /usr/bin/install -c ./scripts/check_for_unsafe_apis '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/bin' /usr/bin/install -c -m 644 include/safe_config.h include/safe_types.h include/safe_lib_errno.h '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libsafec' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/pkgconfig' /usr/bin/mkdir -p '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libsafec' /usr/bin/install -c -m 644 libsafec.pc '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/pkgconfig' /usr/bin/install -c -m 644 include/safe_compile.h include/safe_lib.h include/safe_mem_lib.h include/safe_str_lib.h '/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libsafec' make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[2]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[1]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' >>> safeclib 08112019 Fixing libtool files for la in $(find /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-4/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-4/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/tmp/instance-4/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-4/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> safeclib 08112019 Installing to target PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-4/output-1/target install -C /tmp/instance-4/output-1/build/safeclib-08112019/ make[1]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' /usr/bin/make install-recursive make[2]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' Making install in src make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' /usr/bin/mkdir -p '/tmp/instance-4/output-1/target/usr/lib' make[4]: Nothing to be done for 'install-data-am'. /bin/bash ../libtool --mode=install /usr/bin/install -c libsafec-3.5.1.la '/tmp/instance-4/output-1/target/usr/lib' libtool: install: /usr/bin/install -c .libs/libsafec-3.5.1.so.3.0.6 /tmp/instance-4/output-1/target/usr/lib/libsafec-3.5.1.so.3.0.6 libtool: install: (cd /tmp/instance-4/output-1/target/usr/lib && { ln -s -f libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so.3 || { rm -f libsafec-3.5.1.so.3 && ln -s libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so.3; }; }) libtool: install: (cd /tmp/instance-4/output-1/target/usr/lib && { ln -s -f libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so || { rm -f libsafec-3.5.1.so && ln -s libsafec-3.5.1.so.3.0.6 libsafec-3.5.1.so; }; }) libtool: install: /usr/bin/install -c .libs/libsafec-3.5.1.lai /tmp/instance-4/output-1/target/usr/lib/libsafec-3.5.1.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/src' Making install in tests make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019/tests' make[3]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[4]: Entering directory '/tmp/instance-4/output-1/build/safeclib-08112019' /usr/bin/mkdir -p '/tmp/instance-4/output-1/target/usr/bin' /usr/bin/mkdir -p '/tmp/instance-4/output-1/target/usr/include/libsafec' /usr/bin/install -c ./scripts/check_for_unsafe_apis '/tmp/instance-4/output-1/target/usr/bin' /usr/bin/install -c -m 644 include/safe_config.h include/safe_types.h include/safe_lib_errno.h '/tmp/instance-4/output-1/target/usr/include/libsafec' /usr/bin/mkdir -p '/tmp/instance-4/output-1/target/usr/lib/pkgconfig' /usr/bin/mkdir -p '/tmp/instance-4/output-1/target/usr/include/libsafec' /usr/bin/install -c -m 644 libsafec.pc '/tmp/instance-4/output-1/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 include/safe_compile.h include/safe_lib.h include/safe_mem_lib.h include/safe_str_lib.h '/tmp/instance-4/output-1/target/usr/include/libsafec' make[4]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[3]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[2]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' make[1]: Leaving directory '/tmp/instance-4/output-1/build/safeclib-08112019' tzcode2020f.tar.gz: OK (sha512: 5f6bf1b508434842eb9dacacc744b5f3375c35b88e401ef372b5fde80ad2f523484fe52a6e99460e402230406ebf6a9261a97efde45a610f8e8085893d55c4ed) >>> host-zic 2020f Extracting gzip -d -c /tmp/instance-4/dl/zic/tzcode2020f.tar.gz | tar --strip-components=0 -C /tmp/instance-4/output-1/build/host-zic-2020f -xf - >>> host-zic 2020f Patching Applying 0001-remove-dependency-check-on-version-file.patch using patch: patching file Makefile >>> host-zic 2020f Configuring >>> host-zic 2020f Building PATH="/tmp/instance-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/tmp/instance-4/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/tmp/instance-4/output-1/host/lib/pkgconfig:/tmp/instance-4/output-1/host/share/pkgconfig" /usr/bin/make -j96 -C /tmp/instance-4/output-1/build/host-zic-2020f zic make[1]: Entering directory '/tmp/instance-4/output-1/build/host-zic-2020f' VERSION=`cat version` && printf '%s\n' \ 'static char const PKGVERSION[]="(tzcode) ";' \ "static char const TZVERSION[]=\"$VERSION\";" \ 'static char const REPORT_BUGS_TO[]="tz@iana.org";' \ >version.h.out mv version.h.out version.h cc -DTZDIR='"/usr/share/zoneinfo"' -c -o zic.o zic.c cc -DTZDIR='"/usr/share/zoneinfo"' -o zic zic.o make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-zic-2020f' >>> host-zic 2020f Installing to host directory /usr/bin/install -D -m 755 /tmp/instance-4/output-1/build/host-zic-2020f/zic /tmp/instance-4/output-1/host/sbin/zic /usr/bin/install -D -m 644 /tmp/instance-4/output-1/build/host-zic-2020f/tzfile.h /tmp/instance-4/output-1/host/include/tzfile.h tzdata2021a.tar.gz: OK (sha512: 7cdd762ec90ce12a30fa36b1d66d1ea82d9fa21e514e2b9c7fcbe2541514ee0fadf30843ff352c65512fb270857b51d1517b45e1232b89c6f954ba9ff1833bb3) >>> host-tzdata 2021a Extracting gzip -d -c /tmp/instance-4/dl/tzdata/tzdata2021a.tar.gz | tar --strip-components=0 -C /tmp/instance-4/output-1/build/host-tzdata-2021a -xf - >>> host-tzdata 2021a Patching >>> host-tzdata 2021a Configuring >>> host-tzdata 2021a Building (cd /tmp/instance-4/output-1/build/host-tzdata-2021a; for zone in africa antarctica asia australasia europe northamerica southamerica etcetera backward factory; do /tmp/instance-4/output-1/host/sbin/zic -b fat -d _output/posix $zone || exit 1; /tmp/instance-4/output-1/host/sbin/zic -b fat -d _output/right -L leapseconds $zone || exit 1; done; ) warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" >>> host-tzdata 2021a Installing to host directory /usr/bin/install -d -m 0755 /tmp/instance-4/output-1/host/share/zoneinfo cp -a /tmp/instance-4/output-1/build/host-tzdata-2021a/_output/* /tmp/instance-4/output-1/build/host-tzdata-2021a/*.tab /tmp/instance-4/output-1/host/share/zoneinfo tzdata2021a.tar.gz: OK (sha512: 7cdd762ec90ce12a30fa36b1d66d1ea82d9fa21e514e2b9c7fcbe2541514ee0fadf30843ff352c65512fb270857b51d1517b45e1232b89c6f954ba9ff1833bb3) >>> tzdata 2021a Extracting gzip -d -c /tmp/instance-4/dl/tzdata/tzdata2021a.tar.gz | tar --strip-components=0 -C /tmp/instance-4/output-1/build/tzdata-2021a -xf - >>> tzdata 2021a Patching >>> tzdata 2021a Configuring >>> tzdata 2021a Building >>> tzdata 2021a Installing to target /usr/bin/install -d -m 0755 /tmp/instance-4/output-1/target/usr/share/zoneinfo cp -a /tmp/instance-4/output-1/host/share/zoneinfo/* /tmp/instance-4/output-1/target/usr/share/zoneinfo cd /tmp/instance-4/output-1/target/usr/share/zoneinfo; for zone in posix/*; do ln -sfn "${zone}" "${zone##*/}"; done if [ ! -f /tmp/instance-4/output-1/target/usr/share/zoneinfo/Etc/UTC ]; then printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" "Etc/UTC"; exit 1; fi ln -sf ../usr/share/zoneinfo/Etc/UTC /tmp/instance-4/output-1/target/etc/localtime echo "Etc/UTC" >/tmp/instance-4/output-1/target/etc/timezone >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-4/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-4/output-1/host/bin/riscv64-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-4/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-4/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-4/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-4/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-4/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-4/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-4/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-4/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-4/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-4/output-1/target/etc/shells; fi mkdir -p /tmp/instance-4/output-1/target/etc echo "buildroot" > /tmp/instance-4/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-4/output-1/target/etc/hosts mkdir -p /tmp/instance-4/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-4/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-4/output-1/target/etc/shadow rm -f /tmp/instance-4/output-1/target/bin/sh if [ -x /tmp/instance-4/output-1/target/sbin/swapon -a -x /tmp/instance-4/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-4/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-4/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-4/output-1/build/locales.nopurge for dir in /tmp/instance-4/output-1/target/usr/share/locale /tmp/instance-4/output-1/target/usr/share/X11/locale /tmp/instance-4/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-4/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-4/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-4/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-4/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-4/output-1/target/usr/include /tmp/instance-4/output-1/target/usr/share/aclocal \ /tmp/instance-4/output-1/target/usr/lib/pkgconfig /tmp/instance-4/output-1/target/usr/share/pkgconfig \ /tmp/instance-4/output-1/target/usr/lib/cmake /tmp/instance-4/output-1/target/usr/share/cmake \ /tmp/instance-4/output-1/target/usr/doc find /tmp/instance-4/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-4/output-1/target/lib/ /tmp/instance-4/output-1/target/usr/lib/ /tmp/instance-4/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-4/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-4/output-1/target/usr/share/gdb rm -rf /tmp/instance-4/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-4/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-4/output-1/target/usr/share/zsh rm -rf /tmp/instance-4/output-1/target/usr/man /tmp/instance-4/output-1/target/usr/share/man rm -rf /tmp/instance-4/output-1/target/usr/info /tmp/instance-4/output-1/target/usr/share/info rm -rf /tmp/instance-4/output-1/target/usr/doc /tmp/instance-4/output-1/target/usr/share/doc rm -rf /tmp/instance-4/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-4/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-4/output-1/target/lib/debug /tmp/instance-4/output-1/target/usr/lib/debug find /tmp/instance-4/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-4/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-4/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-4/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-4/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-4/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-4/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-1103-g3418a068be"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.08-rc1"; \ echo "PRETTY_NAME=\"Buildroot 2021.08-rc1\"" \ ) > /tmp/instance-4/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-4/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-4/output-1/per-package /tmp/instance-4/buildroot/support/scripts/fix-rpath target touch /tmp/instance-4/output-1/target/usr ln -snf /tmp/instance-4/output-1/host/riscv64-buildroot-linux-musl/sysroot /tmp/instance-4/output-1/staging make: Leaving directory '/tmp/instance-4/buildroot' make: Entering directory '/tmp/instance-4/buildroot' >>> Buildroot 2021.05-1103-g3418a068be Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> musl-compat-headers Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-bootlin 2020.08-1 Collecting legal info >>> toolchain Collecting legal info >>> aer-inject 9bd5e2c7886fca72f139cd8402488a2235957d41 Collecting legal info README: OK (sha256: 659a191d8775e05c6c6a9a4ba66b3577c577342bb83f20d393135eb6633c8973) >>> host-bison 3.7.6 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> cctz 2.3 Collecting legal info LICENSE.txt: OK (sha256: c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> cxxtest 4.4 Collecting legal info COPYING: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-cxxtest 4.4 Collecting legal info COPYING: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-python 2.7.18 Collecting legal info LICENSE: OK (sha256: de4d1f2d2ad5ad0cfd1657a106476b31cb5db5ef9d1ff842b237c0c81f0c8a23) >>> host-expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> czmq 4.2.1 Collecting legal info LICENSE: OK (sha256: 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5) >>> zeromq 4.3.4 Collecting legal info COPYING: OK (sha256: 4fd86507c9b486764343065a9e035222869a27b5789efeb4fd93edc85412d7a3) COPYING.LESSER: OK (sha256: 83f32abe61ee58ffb1b007412c08415168c052501dbf56d7a47aaaac52b03ef6) >>> initscripts Collecting legal info >>> jpeg Collecting legal info >>> libjpeg 9d Collecting legal info README: OK (sha256: 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c) >>> jsmn 1.1.0 Collecting legal info LICENSE: OK (sha256: 4675b94a50d2afe811c52785463c854f1156056632cce17cc7133939eac8ed55) >>> libaacs 0.11.0 Collecting legal info COPYING: OK (sha256: 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c) >>> libgcrypt 1.9.3 Collecting legal info COPYING.LIB: OK (sha256: ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532) >>> libgpg-error 1.42 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libev 4.27 Collecting legal info LICENSE: OK (sha256: c4dd1a5bc38b041a320b93c5d6c08f5c41a63f2ce718ee16cfcb757fad448199) >>> libmng 2.0.3 Collecting legal info LICENSE: OK (sha256: ba280734838eb3f22a85b92a7e62de357d4d4c325029dce723b0cb125c417c35) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libnetfilter_conntrack 1.0.8 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libnfnetlink 1.0.1 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> neon 0.30.2 Collecting legal info src/COPYING.LIB: OK (sha256: d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f) test/COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) README: OK (sha256: 95f77624e96f6728145826fc895142275451f43f41c073766db3dbbcc8b790b0) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> safeclib 08112019 Collecting legal info COPYING: OK (sha256: c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b) >>> tzdata 2021a Collecting legal info LICENSE: OK (sha256: 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf) >>> host-tzdata 2021a Collecting legal info LICENSE: OK (sha256: 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf) >>> host-zic 2020f Collecting legal info LICENSE: OK (sha256: 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-bootlin-2020.08-1: cannot save license (TOOLCHAIN_EXTERNAL_BOOTLIN_LICENSE_FILES not defined) Legal info produced in /tmp/instance-4/output-1/legal-info make: Leaving directory '/tmp/instance-4/buildroot'