>>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-1/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-1/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-1/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-1/output-1/build/swupdate-2021.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 HOSTLD scripts/kconfig/conf scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-1/output-1/build/swupdate-2021.04' make[1]: Entering directory '/tmp/instance-1/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-1/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc" LD="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=y HAVE_LIBARCHIVE=y HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=y HAVE_LIBGPIOD=n HAVE_URIPARSER=y HAVE_LIBWEBSOCKETS=y HAVE_LUA=n HAVE_LIBMTD=y HAVE_LIBUBI=y HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_MBEDTLS=n HAVE_P11KIT=n HAVE_LIBUBOOTENV=n HAVE_WOLFSSL=n HAVE_LIBZEROMQ=y HAVE_ZLIB=y HAVE_ZSTD=n /usr/bin/make -j32 CROSS_COMPILE="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" CONFIG_EXTRA_LDFLAGS="" -C /tmp/instance-1/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-1/output-1/build/swupdate-2021.04' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CC ipc/network_ipc.o CC handlers/dummy_handler.o CC core/swupdate.o CC ipc/network_ipc-if.o CC corelib/mtd-interface.o CC core/cpio_utils.o CC handlers/raw_handler.o CC mongoose/mongoose.o AR suricatta/lib.a CC ipc/progress_ipc.o CC mongoose/mongoose_interface.o CC parser/parse_external.o CC core/notifier.o CC corelib/parsing_library_libconfig.o CC parser/parser.o CC core/handler.o AR fs/lib.a CC bootloader/none.o CC core/install_from_file.o CC corelib/swupdate_settings.o CC tools/swupdate-client.o CC core/util.o CC tools/swupdate-hawkbitcfg.o CC core/parser.o CC tools/swupdate-progress.o CC core/pctl.o CC tools/swupdate-sendtohawkbit.o CC core/state.o CC tools/swupdate-sysrestart.o CC core/syslog.o CC core/installer.o CC core/network_thread.o CC core/stream_interface.o CC core/progress_thread.o In file included from corelib/mtd-interface.c:21: include/flash.h:13:10: fatal error: libmtd.h: No such file or directory 13 | #include | ^~~~~~~~~~ compilation terminated. CC core/parsing_library.o AR bootloader/lib.a make[2]: *** [scripts/Makefile.build:168: corelib/mtd-interface.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC core/artifacts_versions.o tools/swupdate-sysrestart.c:264:2: warning: #warning "swupdate-sysrestart needs libcurl, replaced with dummy" [-Wcpp] 264 | #warning "swupdate-sysrestart needs libcurl, replaced with dummy" | ^~~~~~~ In file included from core/swupdate.c:37: include/flash.h:13:10: fatal error: libmtd.h: No such file or directory 13 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:168: core/swupdate.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC core/swupdate_dict.o In file included from core/stream_interface.c:36: include/flash.h:13:10: fatal error: libmtd.h: No such file or directory 13 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:168: core/stream_interface.o] Error 1 In file included from core/util.c:33: core/util.c: In function 'check_free_space': include/util.h:91:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 91 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ include/util.h:98:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 98 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ include/util.h:102:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 102 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ In file included from mongoose/mongoose_interface.c:32: mongoose/mongoose_interface.c: In function 'ev_handler': include/util.h:91:11: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 91 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ include/util.h:91:11: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=] 91 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ include/util.h:98:14: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 98 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ include/util.h:98:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 98 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ include/util.h:102:13: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 102 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ include/util.h:102:13: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 102 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ make[1]: *** [Makefile:516: corelib] Error 2 make[1]: *** Waiting for unfinished jobs.... LD ipc/built-in.o AR tools/lib.a LD handlers/built-in.o AR parser/lib.a make[1]: *** [Makefile:516: core] Error 2 AR mongoose/lib.a make[1]: Leaving directory '/tmp/instance-1/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-1/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'