>>> swupdate 2022.05 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/swupdate/swupdate-2022.05.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' 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 `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' /usr/bin/sed -i -e "/\\/d" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05//.config /usr/bin/sed -i -e "/\\/d" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05//.config make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBBLKID=n HAVE_LIBCONFIG=n HAVE_LIBCURL=y HAVE_LIBFDISK=n HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=y HAVE_LUA=n HAVE_MBEDTLS=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_P11KIT=y HAVE_LIBSYSTEMD=n HAVE_WOLFSSL=n HAVE_ZCK=n HAVE_LIBZEROMQ=y HAVE_ZLIB=y HAVE_ZSTD=n HAVE_LIBRSYNC=n /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05 CROSS_COMPILE="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-none-linux-gnueabi-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_FORTIFY_SOURCE=2" CONFIG_EXTRA_LDFLAGS="" make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' CC ipc/network_ipc.o CC ipc/network_ipc-if.o CC ipc/progress_ipc.o CC core/swupdate.o CC core/cpio_utils.o CC core/notifier.o CC core/handler.o CC handlers/dummy_handler.o CC handlers/raw_handler.o core/cpio_utils.c: In function 'copy_write': core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] ERROR("cannot write %lu bytes: %s", len, strerror(errno)); ^ core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] core/cpio_utils.c:141:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] ERROR("cannot write %lu bytes: %s", len, strerror(errno)); ^ core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] core/cpio_utils.c:146:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] CC bootloader/none.o CC core/bootloader.o CC corelib/multipart_parser.o LD ipc/built-in.o LD bootloader/built-in.o AR mongoose/lib.a CC core/install_from_file.o CC core/util.o core/bootloader.c: In function 'register_bootloader': core/bootloader.c:28:2: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] entry *tmp = reallocarray(available, num_available + 1, sizeof(entry)); ^ core/bootloader.c:28:15: warning: initialization makes pointer from integer without a cast [enabled by default] entry *tmp = reallocarray(available, num_available + 1, sizeof(entry)); ^ CC parser/parse_external.o CC parser/parser.o AR suricatta/lib.a CC core/parser.o AR corelib/lib.a CC core/pctl.o AR parser/lib.a AR fs/lib.a CC core/state.o LD handlers/built-in.o CC core/syslog.o CC core/installer.o CC core/network_thread.o CC tools/swupdate-client.o CC tools/swupdate-ipc.o CC tools/swupdate-progress.o CC core/stream_interface.o core/network_thread.c: In function 'network_thread': core/network_thread.c:657:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] value = *(update_state_t *)msg.data.msg; ^ CC core/progress_thread.o CC core/parsing_library.o CC core/artifacts_versions.o AR tools/lib.a CC core/swupdate_dict.o LD libswupdate.so.0.1 CC core/semver.o CC core/strlcpy.o LD core/built-in.o LD swupdate_unstripped LD tools/swupdate-ipc LD tools/swupdate-client LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lz -Wl,--end-group Output of: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -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 -g2 -D_FORTIFY_SOURCE=2 -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 -lz -Wl,--end-group ========== core/built-in.o: In function `register_bootloader': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/core/bootloader.c:28: undefined reference to `reallocarray' collect2: error: ld returned 1 exit status 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: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot'