>>> swupdate 2022.05 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-0/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' HOSTCC scripts/basic/fixdep SHIPPED scripts/kconfig/zconf.hash.c SHIPPED scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" LD="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=y HAVE_LIBFDISK=n HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=y HAVE_LUA=n HAVE_MBEDTLS=y HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_P11KIT=n HAVE_LIBSYSTEMD=n HAVE_WOLFSSL=n HAVE_ZCK=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y HAVE_ZSTD=n HAVE_LIBRSYNC=n /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-linux-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CONFIG_EXTRA_LDFLAGS="" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git CC core/swupdate.o CC ipc/network_ipc.o CC ipc/network_ipc-if.o CC handlers/dummy_handler.o CC handlers/raw_handler.o CC ipc/progress_ipc.o CC core/cpio_utils.o In file included from core/cpio_utils.c:22: core/cpio_utils.c: In function 'copy_write': include/util.h:92:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 92 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:4: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:141:26: note: format string is defined here 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:99:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 99 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:4: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:141:26: note: format string is defined here 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:103:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:4: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:141:26: note: format string is defined here 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:92:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 92 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:4: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:99:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 99 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:4: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:103:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:4: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u LD ipc/built-in.o CC core/notifier.o fatal: not a git repository (or any of the parent directories): .git CC bootloader/none.o LD handlers/built-in.o fatal: not a git repository (or any of the parent directories): .git CC corelib/multipart_parser.o LD bootloader/built-in.o fatal: not a git repository (or any of the parent directories): .git CC core/handler.o AR mongoose/lib.a CC corelib/parsing_library_libconfig.o fatal: not a git repository (or any of the parent directories): .git CC parser/parse_external.o CC core/bootloader.o core/bootloader.c: In function 'register_bootloader': core/bootloader.c:28:15: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] 28 | entry *tmp = reallocarray(available, num_available + 1, sizeof(entry)); | ^~~~~~~~~~~~ core/bootloader.c:28:15: warning: initialization of 'entry *' {aka 'struct *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] CC parser/parser.o CC core/install_from_file.o CC core/util.o CC corelib/swupdate_settings.o CC core/parser.o AR corelib/lib.a fatal: not a git repository (or any of the parent directories): .git AR suricatta/lib.a fatal: not a git repository (or any of the parent directories): .git AR fs/lib.a fatal: not a git repository (or any of the parent directories): .git CC tools/swupdate-client.o CC core/pctl.o CC tools/swupdate-ipc.o AR parser/lib.a fatal: not a git repository (or any of the parent directories): .git LD libswupdate.so.0.1 CC core/state.o CC tools/swupdate-progress.o CC core/syslog.o CC core/installer.o CC core/network_thread.o AR tools/lib.a CC core/stream_interface.o fatal: not a git repository (or any of the parent directories): .git CC core/progress_thread.o CC core/artifacts_versions.o CC core/parsing_library.o CC core/swupdate_dict.o CC core/semver.o CC core/strlcpy.o LD core/built-in.o fatal: not a git repository (or any of the parent directories): .git LD swupdate_unstripped fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git LD tools/swupdate-ipc LD tools/swupdate-client fatal: not a git repository (or any of the parent directories): .git LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/buildroot/autobuild/run/instance-0/output-1/host/bin/arm-linux-gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -o swupdate_unstripped -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group core/built-in.o handlers/built-in.o bootloader/built-in.o ipc/built-in.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group ========== /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x2c): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status Makefile:421: recipe for target 'swupdate_unstripped' failed make[1]: *** [swupdate_unstripped] Error 1 make[1]: *** Waiting for unfinished jobs.... echo tools/swupdate-progress echo tools/swupdate-client echo tools/swupdate-ipc make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'