^~~~ In file included from services.c:33: trace.h:32:13: warning: inline function 'start_log' declared but never defined inline void start_log (void); ^~~~~~~~~ In file included from services.c:28: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ cds.c: In function 'cds_browse': cds.c:485:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] int result_count = 0, index, count, id, sort_criteria; ^~~~~~~~~~~~~ In file included from trace.c:28: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ In file included from metadata.h:29, from presentation.c:30: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ cds.c: In function 'cds_search': cds.c:805:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] int result_count = 0, index, count, id, sort_criteria; ^~~~~~~~~~~~~ In file included from cds.c:28: cds.c: At top level: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ In file included from metadata.c:38: trace.h:32:13: warning: inline function 'start_log' declared but never defined inline void start_log (void); ^~~~~~~~~ In file included from metadata.h:29, from metadata.c:34: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ redblack.c: In function 'rbinit': redblack.c:143:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c; ^ In function 'cms_get_protocol_info.part.2', inlined from 'cms_get_protocol_info' at cms.c:87:1: cms.c:117:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy (respPtr, protocol, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cms.c: In function 'cms_get_protocol_info': cms.c:116:11: note: length computed here len = strlen (protocol); ^~~~~~~~~~~~~~~~~ In file included from http.c:42: trace.h:32:13: warning: inline function 'start_log' declared but never defined inline void start_log (void); ^~~~~~~~~ In file included from services.h:27, from http.c:35: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined inline void display_headers (void); ^~~~~~~~~~~~~~~ cds.c: In function 'matches_search': cds.c:615:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (keyword, search_criteria ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + strlen (SEARCH_PROTOCOL_CONTAINS_KEYWORD), sizeof (keyword)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cds.c:604:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (keyword, search_criteria ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + strlen (SEARCH_CLASS_DERIVED_KEYWORD), sizeof (keyword)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cds.c:593:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy (keyword, search_criteria ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + strlen (SEARCH_CLASS_MATCH_KEYWORD), sizeof (keyword)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ushare.c:73: trace.h:32:13: warning: inline function 'start_log' declared but never defined inline void start_log (void); ^~~~~~~~~ /tmp/instance-3/output-1/host/bin/mips64el-linux-gcc cds.o cms.o msr.o http.o presentation.o metadata.o mime.o services.o buffer.o util_iconv.o content.o cfgparser.o trace.o redblack.o osdep.o ctrl_telnet.o ushare.o -lixml -lpthread -lupnp -pthread -L/tmp/instance-3/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib -o ushare make[2]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1/src' make[1]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1' >>> ushare 2.1 Installing to target PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/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-3/output-1/build/ushare-2.1 DESTDIR=/tmp/instance-3/output-1/target install make[1]: Entering directory '/tmp/instance-3/output-1/build/ushare-2.1' for subdir in po scripts src ; do \ make -C $subdir install; \ done make[2]: Entering directory '/tmp/instance-3/output-1/build/ushare-2.1/po' for gmo in fr.gmo de.gmo; do \ lang=`echo $gmo | sed -e 's/\.gmo$//'`; \ /usr/bin/install -c -d /tmp/instance-3/output-1/target/usr/share/locale/$lang/LC_MESSAGES; \ /usr/bin/install -c -m 644 $lang.gmo /tmp/instance-3/output-1/target/usr/share/locale/$lang/LC_MESSAGES/ushare.mo; \ done make[2]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1/po' make[2]: Entering directory '/tmp/instance-3/output-1/build/ushare-2.1/scripts' /usr/bin/install -c -d /tmp/instance-3/output-1/target/etc /usr/bin/install -c -m 644 "ushare.conf" /tmp/instance-3/output-1/target/etc /usr/bin/install -c -d /tmp/instance-3/output-1/target/etc/init.d /usr/bin/install -c -m 755 "ushare" /tmp/instance-3/output-1/target/etc/init.d make[2]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1/scripts' make[2]: Entering directory '/tmp/instance-3/output-1/build/ushare-2.1/src' /usr/bin/install -c -d /tmp/instance-3/output-1/target/usr/bin /usr/bin/install -c ushare /tmp/instance-3/output-1/target/usr/bin echo ignoring strip /tmp/instance-3/output-1/target/usr/bin/ushare ignoring strip /tmp/instance-3/output-1/target/usr/bin/ushare make[2]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1/src' make[1]: Leaving directory '/tmp/instance-3/output-1/build/ushare-2.1' rm -f /tmp/instance-3/output-1/target/etc/init.d/ushare xmlstarlet-1.6.1.tar.gz: OK (sha1: 87bb104f546caca71b9540807c5b2738944cb219) xmlstarlet-1.6.1.tar.gz: OK (md5: f3c5dfa3b1a2ee06cd57c255cc8b70a0) >>> xmlstarlet 1.6.1 Extracting gzip -d -c /tmp/instance-3/dl/xmlstarlet/xmlstarlet-1.6.1.tar.gz | tar --strip-components=1 -C /tmp/instance-3/output-1/build/xmlstarlet-1.6.1 -xf - >>> xmlstarlet 1.6.1 Patching >>> xmlstarlet 1.6.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-3/output-1/build/xmlstarlet-1.6.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xmlstarlet 1.6.1 Patching libtool >>> xmlstarlet 1.6.1 Configuring (cd /tmp/instance-3/output-1/build/xmlstarlet-1.6.1/ && rm -rf config.cache && PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-3/output-1/host/bin/mips64el-linux-ar" AS="/tmp/instance-3/output-1/host/bin/mips64el-linux-as" LD="/tmp/instance-3/output-1/host/bin/mips64el-linux-ld" NM="/tmp/instance-3/output-1/host/bin/mips64el-linux-nm" CC="/tmp/instance-3/output-1/host/bin/mips64el-linux-gcc" GCC="/tmp/instance-3/output-1/host/bin/mips64el-linux-gcc" CPP="/tmp/instance-3/output-1/host/bin/mips64el-linux-cpp" CXX="/tmp/instance-3/output-1/host/bin/mips64el-linux-g++" FC="/tmp/instance-3/output-1/host/bin/mips64el-linux-gfortran" F77="/tmp/instance-3/output-1/host/bin/mips64el-linux-gfortran" RANLIB="/tmp/instance-3/output-1/host/bin/mips64el-linux-ranlib" READELF="/tmp/instance-3/output-1/host/bin/mips64el-linux-readelf" STRIP="/tmp/instance-3/output-1/host/bin/mips64el-linux-strip" OBJCOPY="/tmp/instance-3/output-1/host/bin/mips64el-linux-objcopy" OBJDUMP="/tmp/instance-3/output-1/host/bin/mips64el-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/tmp/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-3/output-1/host/lib -Wl,-rpath,/tmp/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-3/output-1/host/bin/mips64el-linux-as" DEFAULT_LINKER="/tmp/instance-3/output-1/host/bin/mips64el-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="/tmp/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes 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 CONFIG_SITE=/dev/null ./configure --target=mips64el-buildroot-linux-uclibc --host=mips64el-buildroot-linux-uclibc --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-libxml-prefix=/tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr --with-libxslt-prefix=/tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr --with-libiconv-prefix=/tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr --disable-static-libs ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mips64el-buildroot-linux-uclibc-strip... /tmp/instance-3/output-1/host/bin/mips64el-linux-strip checking for a thread-safe mkdir -p... /usr/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 whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... mips64el-buildroot-linux-uclibc checking for mips64el-buildroot-linux-uclibc-gcc... /tmp/instance-3/output-1/host/bin/mips64el-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 we are using the GNU C compiler... yes checking whether /tmp/instance-3/output-1/host/bin/mips64el-linux-gcc accepts -g... yes checking for /tmp/instance-3/output-1/host/bin/mips64el-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-3/output-1/host/bin/mips64el-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /tmp/instance-3/output-1/host/bin/mips64el-linux-gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) gawk checking for xml2-config... /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/bin/xml2-config configure: using libxml-2.9.12 checking for xslt-config... /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/bin/xslt-config configure: using libxslt-1.1.34 checking how to run the C preprocessor... /tmp/instance-3/output-1/host/bin/mips64el-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether lstat correctly handles trailing slash... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for mode_t... yes checking for size_t... yes checking for lstat... yes checking for stat... yes checking for setmode... no checking whether O_BINARY is declared... no checking whether exsltDateXpathCtxtRegister is declared... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating xmlstarlet.spec config.status: creating Makefile config.status: creating solaris/package/sol8-sparc/pkginfo config.status: creating solaris/package/sol9-sparc/pkginfo config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> xmlstarlet 1.6.1 Building PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/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-3/output-1/build/xmlstarlet-1.6.1/ make[1]: Entering directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' /usr/bin/make all-am make[2]: Entering directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' GEN src/usage.c GEN src/c14n-usage.c GEN src/depyx-usage.c GEN src/edit-usage.c GEN src/elem-usage.c GEN src/escape-usage.c GEN src/format-usage.c GEN src/ls-usage.c GEN src/pyx-usage.c GEN src/select-usage.c GEN src/unescape-usage.c GEN src/trans-usage.c GEN src/validate-usage.c CC src/trans.o CC src/xml.o CC src/xml_depyx.o CC src/xml_C14N.o CC src/xml_edit.o CC src/xml_elem.o CC src/xml_escape.o CC src/xml_format.o CC src/xml_ls.o CC src/xml_pyx.o CC src/xml_select.o CC src/xml_trans.o CC src/xml_validate.o CC src/usage.o CC src/depyx-usage.o CC src/c14n-usage.o CC src/edit-usage.o CC src/elem-usage.o CC src/escape-usage.o CC src/format-usage.o CC src/pyx-usage.o CC src/select-usage.o CC src/ls-usage.o CC src/trans-usage.o CC src/unescape-usage.o CC src/validate-usage.o src/xml_elem.c: In function 'elMain': src/xml_elem.c:271:27: warning: passing argument 2 of 'xmlHashScan' from incompatible pointer type [-Wincompatible-pointer-types] xmlHashScan(uniq, hash_key_put, &lines); ^~~~~~~~~~~~ In file included from src/xml_elem.c:32: /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/libxml2/libxml/hash.h:213:22: note: expected 'xmlHashScanner' {aka 'void (*)(void *, void *, const unsigned char *)'} but argument is of type 'void (*)(void *, void *, xmlChar *)' {aka 'void (*)(void *, void *, unsigned char *)'} xmlHashScanner f, ~~~~~~~~~~~~~~~^ src/xml_ls.c: In function 'xml_print_dir': src/xml_ls.c:165:62: warning: passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types] strftime(atime, sizeof atime, "%Y%m%dT%H%M%SZ", gmtime(&stats.st_atime)); ^~~~~~~~~~~~~~~ In file included from src/xml_ls.c:38: /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/time.h:232:19: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int *' extern struct tm *gmtime (const time_t *__timer) __THROW; ^~~~~~ src/xml_ls.c:166:62: warning: passing argument 1 of 'gmtime' from incompatible pointer type [-Wincompatible-pointer-types] strftime(mtime, sizeof mtime, "%Y%m%dT%H%M%SZ", gmtime(&stats.st_mtime)); ^~~~~~~~~~~~~~~ In file included from src/xml_ls.c:38: /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/time.h:232:19: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int *' extern struct tm *gmtime (const time_t *__timer) __THROW; ^~~~~~ In file included from /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/libxml2/libxml/tree.h:18, from src/xml_select.c:38: src/xml_select.c: In function 'selPrepareXslt': /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/libxml2/libxml/xmlstring.h:35:18: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign] #define BAD_CAST (xmlChar *) src/xml_select.c:552:55: note: in expansion of macro 'BAD_CAST' xmlStrPrintf(num_buf, sizeof num_buf, BAD_CAST "t%d", t); ^~~~~~~~ /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/libxml2/libxml/xmlstring.h:98:17: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} xmlStrPrintf (xmlChar *buf, ^~~~~~~~~~~~ src/xml_edit.c: In function 'edInsert': src/xml_edit.c:371:9: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized] xmlXPathNodeSetAdd(previous_insertion, node); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD xml make[2]: Leaving directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' make[1]: Leaving directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' >>> xmlstarlet 1.6.1 Installing to target PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/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-3/output-1/target install -C /tmp/instance-3/output-1/build/xmlstarlet-1.6.1/ make[1]: Entering directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' make[2]: Entering directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' /usr/bin/mkdir -p '/tmp/instance-3/output-1/target/usr/share/doc/xmlstarlet' /usr/bin/mkdir -p '/tmp/instance-3/output-1/target/usr/share/man/man1' /usr/bin/mkdir -p '/tmp/instance-3/output-1/target/usr/bin' /usr/bin/install -c -m 644 doc/xmlstarlet-ug.html doc/html.css doc/xmlstarlet.txt '/tmp/instance-3/output-1/target/usr/share/doc/xmlstarlet' /usr/bin/install -c xml '/tmp/instance-3/output-1/target/usr/bin' /usr/bin/install -c -m 644 doc/xmlstarlet.1 '/tmp/instance-3/output-1/target/usr/share/man/man1' make[2]: Leaving directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' make[1]: Leaving directory '/tmp/instance-3/output-1/build/xmlstarlet-1.6.1' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-3/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-3/output-1/host/bin/mips64el-linux-%g' -e 's%@TARGET_ARCH@%mips64%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-3/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-3/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-3/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-3/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-3/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-3/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-3/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-3/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-3/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-3/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-3/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-3/output-1/target/etc/shells; fi mkdir -p /tmp/instance-3/output-1/target/etc echo "buildroot" > /tmp/instance-3/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-3/output-1/target/etc/hosts mkdir -p /tmp/instance-3/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-3/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-3/output-1/target/etc/shadow rm -f /tmp/instance-3/output-1/target/bin/sh if [ -x /tmp/instance-3/output-1/target/sbin/swapon -a -x /tmp/instance-3/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-3/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-3/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-3/output-1/build/locales.nopurge for dir in /tmp/instance-3/output-1/target/usr/share/locale /tmp/instance-3/output-1/target/usr/share/X11/locale /tmp/instance-3/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-3/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-3/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-3/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-3/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-3/output-1/target/usr/include /tmp/instance-3/output-1/target/usr/share/aclocal \ /tmp/instance-3/output-1/target/usr/lib/pkgconfig /tmp/instance-3/output-1/target/usr/share/pkgconfig \ /tmp/instance-3/output-1/target/usr/lib/cmake /tmp/instance-3/output-1/target/usr/share/cmake \ /tmp/instance-3/output-1/target/usr/doc find /tmp/instance-3/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-3/output-1/target/lib/ /tmp/instance-3/output-1/target/usr/lib/ /tmp/instance-3/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/tmp/instance-3/output-1/target/usr/libexec/': No such file or directory rm -rf /tmp/instance-3/output-1/target/usr/share/gdb rm -rf /tmp/instance-3/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-3/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-3/output-1/target/usr/share/zsh rm -rf /tmp/instance-3/output-1/target/usr/man /tmp/instance-3/output-1/target/usr/share/man rm -rf /tmp/instance-3/output-1/target/usr/info /tmp/instance-3/output-1/target/usr/share/info rm -rf /tmp/instance-3/output-1/target/usr/doc /tmp/instance-3/output-1/target/usr/share/doc rm -rf /tmp/instance-3/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-3/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-3/output-1/target/lib/debug /tmp/instance-3/output-1/target/usr/lib/debug find /tmp/instance-3/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-3/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-3/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-3/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-3/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-3/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-3/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-904-gf0d37e275a"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.08-git"; \ echo "PRETTY_NAME=\"Buildroot 2021.08-git\"" \ ) > /tmp/instance-3/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-3/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-3/output-1/per-package /tmp/instance-3/buildroot/support/scripts/fix-rpath target touch /tmp/instance-3/output-1/target/usr ln -snf /tmp/instance-3/output-1/host/mips64el-buildroot-linux-uclibc/sysroot /tmp/instance-3/output-1/staging make: Leaving directory '/tmp/instance-3/buildroot' make: Entering directory '/tmp/instance-3/buildroot' >>> Buildroot 2021.05-904-gf0d37e275a Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> aoetools 37 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> argp-standalone 1.3 Collecting legal info argp.h: OK (sha256: bbb8919aa520069b0234faf5e83a94052d278419ffe97ca8e843ecc9b212d1ab) >>> attr 2.5.1 Collecting legal info doc/COPYING: OK (sha256: 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52) doc/COPYING.LGPL: OK (sha256: 5decad7e58d90d44335bf2f45ce27563bd911065c6a1a02dfa7647c4efee75c8) >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> linux-pam 1.5.1 Collecting legal info Copyright: OK (sha256: 133d98e7a2ab3ffd330b4debb0bfc10fea21e4b2b5a5b09de2e924293be5ff08) >>> 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-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> 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) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> c-capnproto 9053ebe6eeb2ae762655b982e27c341cb568366d Collecting legal info COPYING: OK (sha256: 27797e6c7dce96675d79ed250584d157b7a86405db6eb6fba9644e6d96d42c57) >>> capnproto 0.8.0 Collecting legal info LICENSE: OK (sha256: 9564998c8d7f270a61a8b89869a8d17a9d5e3783b64027788b5e339ec8479e10) >>> host-capnproto 0.8.0 Collecting legal info LICENSE: OK (sha256: 9564998c8d7f270a61a8b89869a8d17a9d5e3783b64027788b5e339ec8479e10) >>> host-c-capnproto 9053ebe6eeb2ae762655b982e27c341cb568366d Collecting legal info COPYING: OK (sha256: 27797e6c7dce96675d79ed250584d157b7a86405db6eb6fba9644e6d96d42c57) >>> dejavu 2.37 Collecting legal info LICENSE: OK (sha256: 7a083b136e64d064794c3419751e5c7dd10d2f64c108fe5ba161eae5e5958a93) >>> elfutils 0.184 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING-GPLV2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING-LGPLV3: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> musl-fts 1.2.7 Collecting legal info COPYING: OK (sha256: 55af87e4017668f54467a3380e7ebbac5e672d8c763bfe95e6fc882a6fdc4046) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> freeradius-client 1.1.7 Collecting legal info COPYRIGHT: OK (sha256: e579878de7971b2224ae2263bbc61f6c465fe40e884a9068d5fa9d17fbfd2ebe) >>> gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> initscripts Collecting legal info >>> ipset 7.11 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> iw 5.9 Collecting legal info COPYING: OK (sha256: 5932fb70481e128940168a5fdf133e6454293c0865c7e757874b235cb6daa2af) >>> libnl 3.5.0 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-bison 3.7.6 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> jszip 3.2.2 Collecting legal info LICENSE.markdown: OK (sha256: 14450c78405ad2a2173e25740b56406556779149df9c4c83523a8c63d0686210) >>> libdrm 2.4.107 Collecting legal info xf86drm.c: OK (sha256: 7e952c6666ed17c99f91ee7af13c688b8769b0feaf6f4558bf6ad3e07512e1e6) >>> host-meson 0.58.2 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.10.2 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-python3 3.9.6 Collecting legal info LICENSE: OK (sha256: 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70) >>> host-autoconf-archive 2019.01.06 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> 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-python3-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> libpthread-stubs 0.4 Collecting legal info COPYING: OK (sha256: 78c20706e799f2b8f445e71d3d2ade6ba23b3388fd6cbeed7d71796623febde8) >>> libeXosip2 5.2.0 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> libosip2 5.2.0 Collecting legal info COPYING: OK (sha256: 8d9e95ed0e48df46dc758eb0d86df611f771eab4eed94bebb77dca87f1c897de) >>> libid3tag 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 7f12ad28dc075763e91b91bfa60fad04062380011ddad8f6bac21dd7b1f44367) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> libupnp 1.14.7 Collecting legal info COPYING: OK (sha256: c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3) >>> libusb 1.0.24 Collecting legal info COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> libva 2.12.0 Collecting legal info COPYING: OK (sha256: c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de) >>> libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> libxslt 1.1.34 Collecting legal info COPYING: OK (sha256: 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819) >>> libyuv 413a8d8041f1cc5a350a47c0d81cc721e64f9fd0 Collecting legal info LICENSE: OK (sha256: 2b2cc1180c7e6988328ad2033b04b80117419db9c4c584918bbb3cfec7e9364f) >>> lsuio 0.2.0 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> mpdecimal 2.5.0 Collecting legal info LICENSE.txt: OK (sha256: b07528d8b1dbf1e2d2741052996f0876e23342ce2d30d0effa39c5457716c25a) >>> mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> host-mtools 4.0.26 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-lzip 1.22 Collecting legal info COPYING: OK (sha256: 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef) >>> paho-mqtt-c 1.3.9 Collecting legal info epl-v20: OK (sha256: 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303) edl-v10: OK (sha256: 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c) LICENSE: OK (sha256: bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0) >>> host-parted 3.3 Collecting legal info COPYING: OK (sha256: 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf) >>> host-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-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> qcom-db410c-firmware 1034.2.1 Collecting legal info LICENSE: OK (sha256: 11e60ad6f83c2a86e40dca374c24230b53650dd3e0adf2e72c15f8cafedc2e5a) >>> ushare 2.1 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) >>> xmlstarlet 1.6.1 Collecting legal info COPYING: OK (sha256: 6641cc5b00c1651fa22175f34efd01695e64a348b1ba07048538276f44866862) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /tmp/instance-3/output-1/legal-info make: Leaving directory '/tmp/instance-3/buildroot'