157 | case '+': p++; | ^~~~ CC librrdupd_la-rrd_create.lo rrd_create.c: In function 'parseRRA': rrd_create.c:511:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 510 | if (*require_version == NULL | ~~~~~~~~~~~~~~~~~~~~~~~~ 511 | || atoi(*require_version) < atoi(RRD_VERSION4)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrd_create.c:514:13: note: here 514 | case CF_HWPREDICT: | ^~~~ rrd_create.c:522:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 522 | token_min = 3; | ~~~~~~~~~~^~~ rrd_create.c:523:13: note: here 523 | case CF_SEASONAL: | ^~~~ CC librrdupd_la-hash_32.lo CC librrdupd_la-rrd_parsetime.lo CC librrdupd_la-rrd_hw.lo CC librrdupd_la-rrd_hw_math.lo CC librrdupd_la-rrd_hw_update.lo CC librrdupd_la-rrd_diff.lo CC librrdupd_la-rrd_format.lo CC librrdupd_la-rrd_info.lo CC librrdupd_la-rrd_error.lo CC librrdupd_la-rrd_open.lo CC librrdupd_la-rrd_client.lo CC librrdupd_la-rrd_nan_inf.lo CC librrdupd_la-rrd_rpncalc.lo In file included from /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from rrd_config_bottom.h:107, from rrd_config.h:559, from rrd_tool.h:13, from rrd_rpncalc.c:10: In function 'strncpy', inlined from 'addop2str.part.0' at rrd_rpncalc.c:239:9: /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrd_rpncalc.c: In function 'addop2str.part.0': rrd_rpncalc.c:231:18: note: length computed here 231 | op_len = strlen(op_str); | ^~~~~~~~~~~~~~ CC librrdupd_la-rrd_utils.lo CC librrdupd_la-rrd_snprintf.lo CC librrdupd_la-rrd_update.lo CC librrdupd_la-rrd_modify.lo CC librrdupd_la-quicksort.lo CC librrdupd_la-rrd_thread_safe.lo CCLD librrdupd.la CCLD librrd.la CC rrd_tool.o CCLD rrdtool CC rrdupdate.o CCLD rrdupdate CC rrdcached-rrd_daemon.o rrd_daemon.c: In function 'daemonize': rrd_daemon.c:4230:33: warning: cast between incompatible function types from 'int (*)(const char *, const char *)' to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] 4230 | cache_tree = g_tree_new_full ((GCompareDataFunc) strcmp, NULL, NULL, | ^ rrd_daemon.c:4231:33: warning: cast between incompatible function types from 'void * (*)(cache_item_t *)' {aka 'void * (*)(struct cache_item_s *)'} to 'void (*)(void *)' [-Wcast-function-type] 4231 | (GDestroyNotify) free_cache_item); | ^ rrd_daemon.c: In function 'read_options': rrd_daemon.c:4793:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 4793 | fprintf(stderr, "%s\n", options.errmsg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rrd_daemon.c:4796:7: note: here 4796 | case 'h': | ^~~~ rrd_daemon.c: In function 'handle_request_list': rrd_daemon.c:2546:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2546 | snprintf(&absolute[0], PATH_MAX, "%s/%s", fullpath, current); | ^~ ~~~~~~~ In file included from /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/stdio.h:867, from rrd_config_bottom.h:127, from rrd_config.h:559, from rrd_tool.h:13, from rrd_daemon.c:67: /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 2 and 8192 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD rrdcached make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' Making all in bindings make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' Making all in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' Making all in etc make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[1]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' >>> rrdtool 1.7.2 Installing to staging directory PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 DESTDIR=/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot install -C /tmp/instance-0/output-1/build/rrdtool-1.7.2/ make[1]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' Making install in po make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/po' installing fr.gmo as /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/locale/fr/LC_MESSAGES/rrdtool.mo installing hu.gmo as /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/locale/hu/LC_MESSAGES/rrdtool.mo if test "rrdtool" = "gettext-tools"; then \ /usr/bin/mkdir -p /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/po' Making install in src make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c librrd.la '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib' libtool: install: /usr/bin/install -c .libs/librrd.so.8.2.1 /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/librrd.so.8.2.1 libtool: install: (cd /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f librrd.so.8.2.1 librrd.so.8 || { rm -f librrd.so.8 && ln -s librrd.so.8.2.1 librrd.so.8; }; }) libtool: install: (cd /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f librrd.so.8.2.1 librrd.so || { rm -f librrd.so && ln -s librrd.so.8.2.1 librrd.so; }; }) libtool: install: /usr/bin/install -c .libs/librrd.lai /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/librrd.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c rrdtool rrdupdate rrdcached '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin' libtool: install: /usr/bin/install -c rrdtool /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin/rrdtool libtool: install: /usr/bin/install -c rrdupdate /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin/rrdupdate libtool: install: /usr/bin/install -c rrdcached /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin/rrdcached /usr/bin/make install-exec-hook make[4]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' (cd /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/bin && ln -s rrdupdate rrdcreate && ln -s rrdupdate rrdinfo) || true make[4]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include' /usr/bin/install -c -m 644 rrd.h rrd_format.h rrd_client.h '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include' /usr/bin/mkdir -p '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig' /usr/bin/install -c -m 644 librrd.pc '/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig' make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' Making install in bindings make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[4]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[4]: Nothing to be done for 'install-exec-am'. GEN install-data-local GEN install-data-local GEN install-data-local GEN install-data-local make[4]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' Making install in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' Making install in etc make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[1]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' >>> rrdtool 1.7.2 Fixing libtool files for la in $(find /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-0/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-0/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-0/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 >>> rrdtool 1.7.2 Installing to target PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 DESTDIR=/tmp/instance-0/output-1/target install -C /tmp/instance-0/output-1/build/rrdtool-1.7.2/ make[1]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' Making install in po make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/po' installing fr.gmo as /tmp/instance-0/output-1/target/usr/share/locale/fr/LC_MESSAGES/rrdtool.mo installing hu.gmo as /tmp/instance-0/output-1/target/usr/share/locale/hu/LC_MESSAGES/rrdtool.mo if test "rrdtool" = "gettext-tools"; then \ /usr/bin/mkdir -p /tmp/instance-0/output-1/target/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /tmp/instance-0/output-1/target/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /tmp/instance-0/output-1/target/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/po' Making install in src make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c librrd.la '/tmp/instance-0/output-1/target/usr/lib' libtool: install: /usr/bin/install -c .libs/librrd.so.8.2.1 /tmp/instance-0/output-1/target/usr/lib/librrd.so.8.2.1 libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f librrd.so.8.2.1 librrd.so.8 || { rm -f librrd.so.8 && ln -s librrd.so.8.2.1 librrd.so.8; }; }) libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f librrd.so.8.2.1 librrd.so || { rm -f librrd.so && ln -s librrd.so.8.2.1 librrd.so; }; }) libtool: install: /usr/bin/install -c .libs/librrd.lai /tmp/instance-0/output-1/target/usr/lib/librrd.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c rrdtool rrdupdate rrdcached '/tmp/instance-0/output-1/target/usr/bin' libtool: install: /usr/bin/install -c rrdtool /tmp/instance-0/output-1/target/usr/bin/rrdtool libtool: install: /usr/bin/install -c rrdupdate /tmp/instance-0/output-1/target/usr/bin/rrdupdate libtool: install: /usr/bin/install -c rrdcached /tmp/instance-0/output-1/target/usr/bin/rrdcached /usr/bin/make install-exec-hook make[4]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' (cd /tmp/instance-0/output-1/target/usr/bin && ln -s rrdupdate rrdcreate && ln -s rrdupdate rrdinfo) || true make[4]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/include' /usr/bin/install -c -m 644 rrd.h rrd_format.h rrd_client.h '/tmp/instance-0/output-1/target/usr/include' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 librrd.pc '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/src' Making install in bindings make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[4]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[4]: Nothing to be done for 'install-exec-am'. GEN install-data-local GEN install-data-local GEN install-data-local GEN install-data-local make[4]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/bindings' Making install in tests make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/tests' Making install in etc make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2/etc' make[2]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[3]: Entering directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[2]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' make[1]: Leaving directory '/tmp/instance-0/output-1/build/rrdtool-1.7.2' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-0/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-0/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', '-O2', '-g2', '-D_FORTIFY_SOURCE=1'@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', '-O2', '-g2', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-0/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-0/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-0/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-0/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-0/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-0/output-1/target/etc/shells; fi rm -f /tmp/instance-0/output-1/target/usr/share/glib-2.0/schemas/*.xml /tmp/instance-0/output-1/target/usr/share/glib-2.0/schemas/*.dtd /tmp/instance-0/output-1/host/bin/glib-compile-schemas /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/share/glib-2.0/schemas --targetdir=/tmp/instance-0/output-1/target/usr/share/glib-2.0/schemas No schema files found: doing nothing. mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh if [ -x /tmp/instance-0/output-1/target/sbin/swapon -a -x /tmp/instance-0/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-0/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-0/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/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-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-0/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/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-0/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/mips64el-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/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-0/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-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.08-rc1-208-gfa1a4bbf09"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.08-rc2"; \ echo "PRETTY_NAME=\"Buildroot 2021.08-rc2\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2021.08-rc1-208-gfa1a4bbf09 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 >>> alsa-lib 1.2.5.1 Collecting legal info COPYING: OK (sha256: 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b) aserver/COPYING: OK (sha256: bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced) >>> 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) >>> berkeleydb 5.3.28 Collecting legal info LICENSE: OK (sha256: b78815181a53241f9347c6b47d1031fd669946f863e1edc807a291354cec024b) >>> blktrace 1.3.0 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> libaio 0.3.112 Collecting legal info COPYING: OK (sha256: 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509) >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> e2fsprogs 1.46.2 Collecting legal info NOTICE: OK (sha256: 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020) lib/ss/mit-sipb-copyright.h: OK (sha256: 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d) lib/et/internal.h: OK (sha256: 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> 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-gettext Collecting legal info >>> host-gettext-gnu 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) gettext-runtime/intl/COPYING.LIB: OK (sha256: 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288) >>> host-libtextstyle 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> ntp 4.2.8p15 Collecting legal info COPYRIGHT: OK (sha256: 957e6a13445cc61ab1ca3dc80d8c269cf9b0a6d9eaec20f9f39639b0b3e66ee8) >>> libevent 2.1.12 Collecting legal info LICENSE: OK (sha256: ff02effc9b331edcdac387d198691bfa3e575e7d244ad10cb826aa51ef085670) >>> ca-certificates 20210119 Collecting legal info debian/copyright: OK (sha256: e85e1bcad3a915dc7e6f41412bc5bdeba275cadd817896ea0451f2140a93967c) >>> host-openssl Collecting legal info >>> host-libopenssl 1.1.1l Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> 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) >>> davici 1.3 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> strongswan 5.9.1 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) LICENSE: OK (sha256: 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0) >>> gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> ecryptfs-utils 111 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> host-intltool 0.51.0 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> host-libxml-parser-perl 2.46 Collecting legal info README: OK (sha256: 6a2e768443ed00f09d3d4bc4dd14451035eac13c6864d68d8e2f76edf5a044f2) >>> keyutils 1.6.3 Collecting legal info LICENCE.GPL: OK (sha256: f46409d4822b2457b39bbd0e7881eecb396130eb8320b7748fa7e9488970aa6d) LICENCE.LGPL: OK (sha256: 0d15593e3a8ad90917f8509b5ac1e4b5e5d196434a68029aa9dc0858a4a4c521) >>> libnss 3.68 Collecting legal info nss/COPYING: OK (sha256: a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4) >>> libnspr 4.32 Collecting legal info nspr/LICENSE: OK (sha256: fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85) >>> sqlite 3.35.5 Collecting legal info tea/license.terms: OK (sha256: 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9) >>> edid-decode 188950472c19492547e298b27f9da0d72cf826df Collecting legal info LICENSE: OK (sha256: 9bc7ab961e9a07dc84eaa0210af388def56d024357e79671fb89fe27d073eed7) >>> faad2 2.10.0 Collecting legal info COPYING: OK (sha256: d3baf3a54943cf12a994c85867a18dec84f810901b2f2878ddfd77efcc3c150f) >>> flickcurl 1.26 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) LICENSE-2.0.txt: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) LICENSE.html: OK (sha256: 3590f30b0fb9446a1f0a7ea5bcbb5786fa66fa362800f53d2575875d74b91909) >>> libcurl 7.78.0 Collecting legal info COPYING: OK (sha256: 6fd1a1c008b5ef4c4741dd188c3f8af6944c14c25afa881eb064f98fb98358e7) >>> libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> genpart 1.0.2 Collecting legal info >>> getent Collecting legal info >>> gettext-gnu 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) gettext-runtime/intl/COPYING.LIB: OK (sha256: 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288) >>> gettext Collecting legal info >>> initscripts Collecting legal info >>> jack2 1.9.17 Collecting legal info COPYING: OK (sha256: d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388) >>> libsamplerate 0.1.9 Collecting legal info COPYING: OK (sha256: 2c1f76ce2effdddb425018405d5690c0b1ab4e6976e35296b0a6db65c5e1a55d) >>> libsndfile 1.0.31 Collecting legal info COPYING: OK (sha256: ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140) >>> libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> libglib2 2.68.2 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-libglib2 2.68.2 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> 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-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> 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) >>> pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> rrdtool 1.7.2 Collecting legal info COPYRIGHT: OK (sha256: ab6b4646e9e01f1ec287c29c351c886c4cb7f945c11efc0a1be9f6e5e6cc5320) LICENSE: OK (sha256: d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) WARNING: genpart-1.0.2: cannot save license (GENPART_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'