patching file corelib/installer.c Using /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config as base # # merged configuration written to /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config (needs make) # make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2576: scripts/kconfig/confdata.c: In function 'conf_write': scripts/kconfig/confdata.c:773:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname, basename); ^~~~~~ scripts/kconfig/confdata.c:773:19: note: assuming directive output of 7 bytes In file included from /usr/include/stdio.h:873, from scripts/kconfig/zconf.tab.c:84: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scripts/kconfig/zconf.tab.c:2576: scripts/kconfig/confdata.c:776:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from scripts/kconfig/zconf.tab.c:84: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOSTLD scripts/kconfig/conf scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' /bin/sed -i -e "/\\/d" /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config echo 'CONFIG_CROSS_COMPILE="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-"' >> /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config /bin/sed -i -e "/\\/d" /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config echo 'CONFIG_SYSROOT="/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot"' >> /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config /bin/sed -i -e "/\\/d" /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config echo 'CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os "' >> /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config /bin/sed -i -e "/\\/d" /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config echo 'CONFIG_EXTRA_LDFLAGS=""' >> /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/.config make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' >>> swupdate 2019.04 Configuring >>> swupdate 2019.04 Building PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc" LD="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc" HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBCONFIG=y HAVE_LIBCURL=n HAVE_LUA=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_LIBUBOOTENV=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y /usr/bin/make -j2 -C /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04 make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2576: scripts/kconfig/confdata.c: In function 'conf_write': scripts/kconfig/confdata.c:773:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname, basename); ^~~~~~ scripts/kconfig/confdata.c:773:19: note: assuming directive output of 7 bytes In file included from /usr/include/stdio.h:873, from scripts/kconfig/zconf.tab.c:84: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from scripts/kconfig/zconf.tab.c:2576: scripts/kconfig/confdata.c:776:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from scripts/kconfig/zconf.tab.c:84: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CC core/swupdate.o CC handlers/dummy_handler.o CC handlers/raw_handler.o LD handlers/built-in.o CC corelib/artifacts_versions.o CC corelib/installer.o CC core/cpio_utils.o CC corelib/network_thread.o CC core/notifier.o CC core/handler.o CC corelib/parsing_library.o CC core/util.o CC corelib/parsing_library_libconfig.o CC corelib/progress_thread.o CC core/parser.o CC corelib/stream_interface.o CC core/pctl.o CC corelib/swupdate_dict.o CC core/state.o CC core/syslog.o CC corelib/swupdate_settings.o LD core/built-in.o CC ipc/network_ipc.o AR corelib/lib.a CC ipc/progress_ipc.o CC mongoose/mongoose.o AR ipc/lib.a CC mongoose/mongoose_interface.o CC parser/parse_external.o CC parser/parser.o AR parser/lib.a AR suricatta/lib.a CC bootloader/none.o AR bootloader/lib.a CC tools/client.o CC tools/hawkbitcfg.o CC tools/progress.o CC tools/sendtohawkbit.o AR tools/lib.a AR mongoose/lib.a LD swupdate_unstripped LD tools/sendtohawkbit STRIP tools/sendtohawkbit LD tools/client LD tools/hawkbitcfg STRIP tools/client LD tools/progress STRIP tools/hawkbitcfg STRIP swupdate STRIP tools/progress make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04' >>> swupdate 2019.04 Installing to target /usr/bin/install -D -m 0755 /home/mark/buildroot-test/instance-0/output/build/swupdate-2019.04/swupdate /home/mark/buildroot-test/instance-0/output/target/usr/bin/swupdate ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692.tar.gz: OK (sha256: 93ef2612853641ca8d16d07527115c72ed03f8eaa1c727a01b069a4e814247c0) >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Extracting gzip -d -c /home/mark/buildroot-test/instance-0/dl/ubus/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692.tar.gz | /home/mark/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692 -xf - >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Patching Applying 0001-Install-server-and-client-examples.patch using patch: patching file examples/CMakeLists.txt >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Configuring (mkdir -p /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ && cd /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ && rm -f CMakeCache.txt && PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/cmake /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ -DCMAKE_TOOLCHAIN_FILE="/home/mark/buildroot-test/instance-0/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_LUA=OFF -DENABLE_SYSTEMD=OFF -DBUILD_EXAMPLES=OFF ) -- The C compiler identification is GNU 7.4.0 -- Check for working C compiler: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc -- Check for working C compiler: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_TEST BUILD_TESTING BUILD_TESTS ENABLE_SYSTEMD -- Build files have been written to: /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692 >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Building PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 -C /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[2]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' Scanning dependencies of target ubus make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' Scanning dependencies of target ubusd make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' [ 5%] Building C object CMakeFiles/ubus.dir/libubus.c.o [ 11%] Building C object CMakeFiles/ubusd.dir/ubusd.c.o [ 17%] Building C object CMakeFiles/ubusd.dir/ubusd_id.c.o [ 23%] Building C object CMakeFiles/ubus.dir/libubus-io.c.o [ 29%] Building C object CMakeFiles/ubusd.dir/ubusd_obj.c.o [ 35%] Building C object CMakeFiles/ubus.dir/libubus-obj.c.o [ 41%] Building C object CMakeFiles/ubusd.dir/ubusd_proto.c.o [ 47%] Building C object CMakeFiles/ubus.dir/libubus-sub.c.o [ 52%] Building C object CMakeFiles/ubus.dir/libubus-req.c.o [ 58%] Building C object CMakeFiles/ubusd.dir/ubusd_event.c.o [ 64%] Building C object CMakeFiles/ubusd.dir/ubusd_acl.c.o [ 70%] Building C object CMakeFiles/ubus.dir/libubus-acl.c.o [ 76%] Linking C shared library libubus.so make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' [ 76%] Built target ubus [ 82%] Building C object CMakeFiles/ubusd.dir/ubusd_monitor.c.o make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' Scanning dependencies of target cli make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' [ 88%] Building C object CMakeFiles/cli.dir/cli.c.o [ 94%] Linking C executable ubusd make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' [ 94%] Built target ubusd [100%] Linking C executable ubus make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' [100%] Built target cli make[2]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Installing to staging directory PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 DESTDIR=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot install/fast -C /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' Install the project... -- Install configuration: "Release" -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libubus.so -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/ubus -- Set runtime path of "/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/bin/ubus" to "" -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/sbin/ubusd -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/ubusmsg.h -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/ubus_common.h -- Installing: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/libubus.h make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Fixing libtool files for la in $(find /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /bin/sed -i -e "s:/home/mark/buildroot-test/instance-0/output:@BASE_DIR@:g" \ -e "s:/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/home/mark/buildroot-test/instance-0/output:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Installing to target PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 DESTDIR=/home/mark/buildroot-test/instance-0/output/target install/fast -C /home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692/ make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' Install the project... -- Install configuration: "Release" -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/lib/libubus.so -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/bin/ubus -- Set runtime path of "/home/mark/buildroot-test/instance-0/output/target/usr/bin/ubus" to "" -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/sbin/ubusd -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/include/ubusmsg.h -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/include/ubus_common.h -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/include/libubus.h make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/ubus-34c6e818e431cc53478a0f7c7c1eca07d194d692' >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /home/mark/buildroot-test/instance-0/output/build/packages-file-list.txt Warning: target file "./usr/share/info/dir" is touched by more than one package: [u'diffutils', u'gmp'] ./support/scripts/check-uniq-files -t staging /home/mark/buildroot-test/instance-0/output/build/packages-file-list-staging.txt Warning: staging file "./usr/lib/pkgconfig/gio-2.0.pc" is touched by more than one package: [u'libglib2', u'pixman'] Warning: staging file "./etc/mtab" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] Warning: staging file "./usr/lib/pkgconfig/glib-2.0.pc" is touched by more than one package: [u'libglib2', u'pixman'] Warning: staging file "./etc/resolv.conf" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] Warning: staging file "./usr/lib64" is touched by more than one package: [u'skeleton-init-common', u'toolchain-external-custom'] ./support/scripts/check-uniq-files -t host /home/mark/buildroot-test/instance-0/output/build/packages-file-list-host.txt Warning: host file "./share/info/dir" is touched by more than one package: [u'host-tar', u'host-m4', u'host-libtool', u'host-autoconf', u'host-automake', u'host-bison', u'host-gengetopt'] rm -f /home/mark/buildroot-test/instance-0/output/target/usr/share/glib-2.0/schemas/*.xml /home/mark/buildroot-test/instance-0/output/target/usr/share/glib-2.0/schemas/*.dtd /home/mark/buildroot-test/instance-0/output/host/bin/glib-compile-schemas /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/share/glib-2.0/schemas --targetdir=/home/mark/buildroot-test/instance-0/output/target/usr/share/glib-2.0/schemas No schema files found: doing nothing. mkdir -p /home/mark/buildroot-test/instance-0/output/host/etc/meson sed -e "s%@TARGET_CROSS@%/home/mark/buildroot-test/instance-0/output/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@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@HOST_DIR@%/home/mark/buildroot-test/instance-0/output/host%g" package/meson//cross-compilation.conf.in > /home/mark/buildroot-test/instance-0/output/host/etc/meson/cross-compilation.conf mkdir -p /home/mark/buildroot-test/instance-0/output/target/etc echo "buildroot" > /home/mark/buildroot-test/instance-0/output/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/mark/buildroot-test/instance-0/output/target/etc/hosts mkdir -p /home/mark/buildroot-test/instance-0/output/target/etc echo "Welcome to Buildroot" > /home/mark/buildroot-test/instance-0/output/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/mark/buildroot-test/instance-0/output/target/etc/shadow rm -f /home/mark/buildroot-test/instance-0/output/target/bin/sh rm -f /home/mark/buildroot-test/instance-0/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /home/mark/buildroot-test/instance-0/output/build/locales.nopurge; done for dir in /home/mark/buildroot-test/instance-0/output/target/usr/share/locale; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /home/mark/buildroot-test/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/mark/buildroot-test/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/mark/buildroot-test/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/mark/buildroot-test/instance-0/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/include /home/mark/buildroot-test/instance-0/output/target/usr/share/aclocal \ /home/mark/buildroot-test/instance-0/output/target/usr/lib/pkgconfig /home/mark/buildroot-test/instance-0/output/target/usr/share/pkgconfig \ /home/mark/buildroot-test/instance-0/output/target/usr/lib/cmake /home/mark/buildroot-test/instance-0/output/target/usr/share/cmake find /home/mark/buildroot-test/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/mark/buildroot-test/instance-0/output/target/lib/ /home/mark/buildroot-test/instance-0/output/target/usr/lib/ /home/mark/buildroot-test/instance-0/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/share/gdb rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/share/bash-completion rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/share/zsh rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/man /home/mark/buildroot-test/instance-0/output/target/usr/share/man rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/info /home/mark/buildroot-test/instance-0/output/target/usr/share/info rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/doc /home/mark/buildroot-test/instance-0/output/target/usr/share/doc rm -rf /home/mark/buildroot-test/instance-0/output/target/usr/share/gtk-doc rmdir /home/mark/buildroot-test/instance-0/output/target/usr/share 2>/dev/null || true find /home/mark/buildroot-test/instance-0/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/mark/buildroot-test/instance-0/output/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/mark/buildroot-test/instance-0/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/mark/buildroot-test/instance-0/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/mark/buildroot-test/instance-0/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2019.08-git-00427-g1db7890e0a"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2019.08-git"; \ echo "PRETTY_NAME=\"Buildroot 2019.08-git\"" \ ) > /home/mark/buildroot-test/instance-0/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/mark/buildroot-test/instance-0/output/target/etc >>> Sanitizing RPATH in target tree /home/mark/buildroot-test/instance-0/buildroot/support/scripts/fix-rpath target touch /home/mark/buildroot-test/instance-0/output/target/usr make: Leaving directory '/home/mark/buildroot-test/instance-0/buildroot' make: Entering directory '/home/mark/buildroot-test/instance-0/buildroot' >>> Buildroot 2019.08-git-00427-g1db7890e0a Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> host-tar 1.29 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> atf 0.21 Collecting legal info ERROR: No hash found for COPYING >>> 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) >>> bzip2 1.0.6 Collecting legal info LICENSE: OK (sha256: 4919cfb14a73cd64fcef67b107613970cf1659a09aa675dba31314f373bc7204) >>> cairo 1.15.12 Collecting legal info COPYING: OK (sha256: 67228a9f7c5f9b67c58f556f1be178f62da4d9e2e6285318d8c74d567255abdf) COPYING-LGPL-2.1: OK (sha256: 9e9e8608c4cdda51a78cc3a385f4ec9a2e4c96d5ecad74ac8bca5fca3e563b7d) COPYING-MPL-1.1: OK (sha256: 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f) >>> fontconfig 2.13.1 Collecting legal info COPYING: OK (sha256: fa4cd9ab005185e10cd8f7504518856c7dd36c01e766c2bac87f4fc638e9f886) >>> expat 2.2.6 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-pkgconf 1.6.1 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> freetype 2.10.0 Collecting legal info docs/LICENSE.TXT: OK (sha256: fd056de4196903a676208ef58cfddafc7d583d1f28fa2e44c309cf84a59e62fb) docs/FTL.TXT: OK (sha256: 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1) docs/GPLv2.TXT: OK (sha256: c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-gperf 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> util-linux 2.34 Collecting legal info README.licensing: OK (sha256: 4335620e8f478ee4dc4d26540448d39469091ef1d8e3fbbbb8bf753206ceac74) 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) >>> libglib2 2.60.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-libglib2 2.60.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-gettext Collecting legal info >>> host-gettext-tiny c6dcdcdef801127549d3906d153c061880d25a73 Collecting legal info LICENSE: OK (sha256: b57aa4fdc1c614c28d41c1e2d5c4090935964c5f86291ba7d1c99ffd1d698b34) extra/COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-libffi 3.3-rc0 Collecting legal info LICENSE: OK (sha256: 0f4d7a0bfb83c37465d42dc305f124189196cc0cc2cc8d6f8461103682aebbc5) >>> host-meson 0.51.0 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.9.0 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-python3 3.7.3 Collecting legal info LICENSE: OK (sha256: a77d71d6be6f9032e6b6e5d2cf6da68f9eeab9036edfbc043633c8979cd5e82c) >>> host-expat 2.2.6 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python3-setuptools 41.0.1 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-pcre 8.42 Collecting legal info LICENCE: OK (sha256: f998c0f52eb704eff28f503580cfca3f2547280aa212994f6cf2d8e317587c1c) >>> host-util-linux 2.34 Collecting legal info README.licensing: OK (sha256: 4335620e8f478ee4dc4d26540448d39469091ef1d8e3fbbbb8bf753206ceac74) 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) >>> libffi 3.3-rc0 Collecting legal info LICENSE: OK (sha256: 0f4d7a0bfb83c37465d42dc305f124189196cc0cc2cc8d6f8461103682aebbc5) >>> pcre 8.42 Collecting legal info LICENCE: OK (sha256: f998c0f52eb704eff28f503580cfca3f2547280aa212994f6cf2d8e317587c1c) >>> pixman 0.38.4 Collecting legal info COPYING: OK (sha256: fac9270f0987b96ff4533fca3548c633e02083cbba4a0172a3b149b2e4019793) >>> cairomm 1.12.0 Collecting legal info ERROR: No hash found for COPYING >>> libsigc 2.10.0 Collecting legal info ERROR: No hash found for COPYING >>> diffutils 3.6 Collecting legal info ERROR: No hash found for COPYING >>> dtach 0.9 Collecting legal info ERROR: No hash found for COPYING >>> flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> glibmm 2.56.0 Collecting legal info COPYING: OK (sha256: 3ea7fa7c5d9a3a113e950eca9cfb85107f096270d8e4dd99daa9d8abdebc60e7) COPYING.tools: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> gmp 6.1.2 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> gnutls 3.6.7.1 Collecting legal info doc/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) doc/COPYING.LESSER: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> libtasn1 4.13 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-bison 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> nettle 3.4.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> harfbuzz 2.5.2 Collecting legal info COPYING: OK (sha256: 1b32b6e2fea50440c128c5ba482f7691367c46fd0cd573b80fc863bf07964cea) >>> iostat 2.2 Collecting legal info ERROR: No hash found for LICENSE >>> jansson 2.12 Collecting legal info LICENSE: OK (sha256: f0a0c95c64e9f49ec4cbfac8e7fee06823c85ee8ba4af5d57aaabb372347adc2) >>> janus-gateway 0.6.3 Collecting legal info COPYING: OK (sha256: 0a884af515b4593503f6f0c9b424db3945bd77eaa2644d25f45eb93a412b3c19) >>> host-gengetopt 2.22.6 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for LICENSE >>> libconfig 1.7.2 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libnice 0.1.14 Collecting legal info COPYING: OK (sha256: 9246b2ee8b1db30cf03d5d9719ad8bb5edce1cadc85f8cfef319c23d24d950b5) COPYING.MPL: OK (sha256: 3b3c75ae6c663c4f93987647eb5463d33dc1602a1aded3ac479773f2c3928e3a) COPYING.LGPL: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libsrtp 2.2.0 Collecting legal info LICENSE: OK (sha256: 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae) >>> openssl Collecting legal info >>> libopenssl 1.1.1c Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> json-c 0.13.1 Collecting legal info COPYING: OK (sha256: 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c) >>> libg7221 dbfc29d4806ecdace50379a2f4d68a992a6fec34 Collecting legal info COPYING: OK (sha256: 26cc5f718279b45dbe34e25a2d29b2c8ca487bd9ab11b2d68c9318ff59d5c645) >>> libgta 1.0.8 Collecting legal info COPYING: OK (sha256: 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89) >>> xz 5.2.4 Collecting legal info COPYING: OK (sha256: bcb02973ef6e87ea73d331b3a80df7748407f17efdb784b61b47e0e610d3bb5c) COPYING.GPLv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING.GPLv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LGPLv2.1: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libmpdclient 2.16 Collecting legal info COPYING: OK (sha256: 9574c3b0a9c31723cc3d5f32af4655a015fff5ec6ec8115b7906cd7d9623cf32) >>> libnetfilter_cthelper 1.0.0 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libreplaygain r475 Collecting legal info ERROR: No hash found for src/gain_analysis.c >>> libubox 723730214732862de7e892bae2f7a7889e66bf1b Collecting legal info >>> lxc 3.1.0 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> mpd-mpc 0.31 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> pango 1.40.14 Collecting legal info COPYING: OK (sha256: d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5) >>> pangomm 2.40.1 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for COPYING.tools >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> swupdate 2019.04 Collecting legal info Licenses/Exceptions: OK (sha256: 43492b377cf2fb67942d1dd231146bd4e6578646ad13ef289297c9dd75cbc478) Licenses/gpl-2.0.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Licenses/lgpl-2.1.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) Licenses/mit.txt: OK (sha256: 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e) >>> ubus 34c6e818e431cc53478a0f7c7c1eca07d194d692 Collecting legal info ERROR: No hash found for ubusd_acl.h WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) WARNING: libubox-723730214732862de7e892bae2f7a7889e66bf1b: cannot save license (LIBUBOX_LICENSE_FILES not defined) Legal info produced in /home/mark/buildroot-test/instance-0/output/legal-info make: Leaving directory '/home/mark/buildroot-test/instance-0/buildroot'