>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-2/output-1/build/.swupdate-2022.05.tar.gz.syna0a/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-06-11 08:40:43-- https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sbabic/swupdate/tar.gz/refs/tags/2022.05 [following] --2022-06-11 08:40:43-- https://codeload.github.com/sbabic/swupdate/tar.gz/refs/tags/2022.05 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-2/output-1/build/.swupdate-2022.05.tar.gz.syna0a/output' 0K .......... .......... .......... .......... .......... 2.89M 50K .......... .......... .......... .......... .......... 5.74M 100K .......... .......... .......... .......... .......... 40.0M 150K .......... .......... .......... .......... .......... 49.5M 200K .......... .......... .......... .......... .......... 5.49M 250K .......... .......... .......... .......... .......... 54.0M 300K .......... .......... .......... .......... .......... 50.8M 350K .......... .......... .......... .......... .......... 57.7M 400K .......... .......... .......... .......... .......... 6.89M 450K .......... .......... .......... .......... .......... 59.1M 500K .......... .......... .......... .......... .......... 49.8M 550K .......... .......... .......... .......... .......... 31.1M 600K .......... .......... .......... .......... .......... 57.8M 650K .......... .......... .......... .......... .......... 55.2M 700K .......... .......... .......... .......... .......... 10.4M 750K .......... .......... .......... .......... .......... 47.2M 800K .......... .......... .......... .......... .......... 50.6M 850K .......... .......... .......... .......... .......... 60.5M 900K .......... .......... .......... .......... .......... 47.9M 950K .......... .......... .......... .......... .......... 37.5M 1000K .......... .......... .......... .......... .......... 58.3M 1050K .......... .......... .......... .......... .......... 51.5M 1100K .......... .......... .......... .......... .......... 23.5M 1150K .......... .......... .......... .......... .......... 22.7M 1200K .......... .......... .......... .......... .......... 16.3M 1250K .......... .......... .......... .......... .......... 51.3M 1300K .......... .......... .......... .......... .......... 25.2M 1350K .......... .......... .......... .......... .......... 12.7M 1400K .......... .......... .......... .......... .......... 59.9M 1450K .......... .......... .......... .......... .......... 49.6M 1500K .......... .......... .......... .......... .......... 36.3M 1550K .......... .......... .......... .......... .......... 24.6M 1600K .......... .......... .......... .......... .......... 28.9M 1650K .......... .......... .......... .......... .......... 15.5M 1700K .......... .......... .......... .......... .......... 32.2M 1750K .......... .......... .......... .......... .......... 34.9M 1800K .......... .......... .......... .......... .......... 23.0M 1850K .......... .......... .......... .......... .......... 9.28M 1900K .......... .......... .......... .......... .......... 56.1M 1950K .......... .......... .......... .......... .......... 15.1M 2000K .......... .......... .......... .......... .......... 53.7M 2050K .......... .......... .......... .......... .......... 61.1M 2100K .......... .......... .......... .......... .......... 16.1M 2150K .......... .......... .......... .......... .......... 55.4M 2200K .......... .......... .......... .......... .......... 54.1M 2250K .......... .......... .......... .......... .......... 9.73M 2300K .......... .......... .......... .......... .......... 46.5M 2350K .......... .......... .......... .......... .......... 12.7M 2400K .......... .......... .......... .......... .......... 53.5M 2450K .......... .......... .......... .......... .......... 48.7M 2500K .......... .......... .......... .......... .......... 49.2M 2550K .......... .......... .......... .......... .......... 24.6M 2600K .......... .......... .......... .......... .......... 17.5M 2650K .......... .......... .......... .......... .......... 50.2M 2700K .......... .......... .......... .......... .......... 10.4M 2750K .......... .......... .......... .......... .......... 44.5M 2800K .......... .......... .......... .......... .......... 18.9M 2850K .......... .......... .......... .......... .......... 56.0M 2900K .......... .......... .......... .......... .......... 28.0M 2950K .......... .......... .......... .......... .......... 55.5M 3000K .......... .......... .......... .......... .......... 10.6M 3050K .......... .......... .......... .......... .......... 59.9M 3100K .......... .......... .......... .......... .......... 17.2M 3150K .......... .......... .......... .......... .......... 27.7M 3200K .......... .......... .......... .......... .......... 46.9M 3250K .......... .......... .......... .......... .......... 14.2M 3300K .......... .......... .......... .......... .......... 60.1M 3350K .......... .......... .......... .......... .......... 16.8M 3400K .......... .......... .......... .......... .......... 57.8M 3450K .......... .......... .......... .......... .......... 16.9M 3500K .......... .......... .......... .......... .......... 58.3M 3550K .......... .......... .......... .......... .......... 52.2M 3600K .......... .......... .......... .......... .......... 12.7M 3650K .......... .......... .......... .......... .......... 53.7M 3700K .......... .......... .......... .......... .......... 54.4M 3750K .......... .......... .......... .......... .......... 38.0M 3800K .......... .......... .......... .......... .......... 18.7M 3850K .......... .......... .......... .......... .......... 12.7M 3900K .......... .......... .......... .......... .......... 4.07M 3950K .......... .......... .......... .......... .......... 71.6M 4000K .......... .......... .......... .......... .......... 54.1M 4050K .......... .......... .......... .......... .......... 36.2M 4100K .......... .......... .......... .......... .......... 19.0M 4150K .......... .......... .......... .......... .......... 40.9M 4200K .......... .......... .......... .......... .......... 14.4M 4250K .......... .......... .......... .......... .......... 53.2M 4300K .......... .......... .......... .......... .......... 8.35M 4350K .......... .......... .......... .......... .......... 50.3M 4400K .......... .......... .......... .......... .......... 55.0M 4450K .......... .......... .......... .......... .......... 46.1M 4500K .......... .......... .......... .......... .......... 56.8M 4550K .......... .......... .......... .......... .......... 17.3M 4600K .......... .......... .......... .......... .......... 50.7M 4650K .......... .......... .......... .......... .......... 27.0M 4700K .......... .......... .......... .......... .......... 34.2M 4750K .......... .......... .......... .......... .......... 24.0M 4800K .......... .......... .......... .......... .......... 17.4M 4850K .......... .......... .......... .......... .......... 32.3M 4900K .......... .......... .......... .......... .......... 5.02M 4950K .......... .......... .......... .......... .......... 54.7M 5000K .......... .......... .......... .......... .......... 9.08M 5050K .......... .......... .......... .......... .......... 4.25M 5100K .......... .......... .......... .......... .......... 48.4M 5150K .......... .......... .......... .......... .......... 60.0M 5200K .......... .......... .......... .......... .......... 60.0M 5250K .......... .......... .......... .......... .......... 5.46M 5300K .......... .......... .......... .......... .......... 4.40M 5350K .......... .......... .......... .......... .......... 60.5M 5400K .......... .......... .......... .......... .......... 5.42M 5450K .......... .......... .......... .......... .......... 6.03M 5500K .......... .......... .......... .......... .......... 5.06M 5550K .......... .......... .......... .......... .......... 3.46M 5600K .......... .......... .......... .......... .......... 10.5M 5650K .......... .......... .......... .......... .......... 4.39M 5700K .......... .......... .......... .......... .......... 6.29M 5750K .......... .......... .......... .......... .......... 54.0M 5800K .......... .......... .......... .......... .......... 6.23M 5850K .......... .......... .......... .......... .......... 48.7M 5900K .......... .......... .......... .......... .......... 54.0M 5950K .......... .......... .......... .......... .......... 53.4M 6000K .......... .......... .......... .......... .......... 50.5M 6050K .......... .......... .......... .......... .......... 6.55M 6100K .......... .......... .......... .......... .......... 51.8M 6150K .......... .......... .......... .......... .......... 52.9M 6200K .......... .......... .......... .......... .......... 56.1M 6250K .......... .......... .......... .......... .......... 54.9M 6300K .......... .......... .......... .......... .......... 49.0M 6350K .......... .......... .......... .......... .......... 56.2M 6400K .......... .......... .......... .......... .......... 7.28M 6450K .......... .......... .......... .......... .......... 47.6M 6500K .......... .......... .......... .......... .......... 52.1M 6550K .......... .......... .......... .......... .......... 52.7M 6600K .......... .......... .......... .......... .......... 48.8M 6650K .......... .......... .......... .......... .......... 54.3M 6700K .......... .......... .......... .......... .......... 6.60M 6750K .... 53.6M=0.4s 2022-06-11 08:40:43 (17.3 MB/s) - '/home/buildroot/autobuild/run/instance-2/output-1/build/.swupdate-2022.05.tar.gz.syna0a/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05' HOSTCC scripts/basic/fixdep SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.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-2/output-1/build/swupdate-2022.05' /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05//.config /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/arm-none-linux-gnueabi-gcc" LD="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=n HAVE_LIBFDISK=n HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=n 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=n HAVE_ZLIB=y HAVE_ZSTD=n HAVE_LIBRSYNC=y /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2" CONFIG_EXTRA_LDFLAGS="" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/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 ipc/network_ipc.o CC ipc/network_ipc-if.o CC core/swupdate.o CC handlers/dummy_handler.o CC handlers/raw_handler.o CC ipc/progress_ipc.o fatal: not a git repository (or any of the parent directories): .git CC bootloader/none.o CC core/cpio_utils.o LD ipc/built-in.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=] LD bootloader/built-in.o fatal: not a git repository (or any of the parent directories): .git CC corelib/multipart_parser.o fatal: not a git repository (or any of the parent directories): .git AR mongoose/lib.a fatal: not a git repository (or any of the parent directories): .git LD handlers/built-in.o CC parser/parse_external.o CC corelib/parsing_library_libconfig.o 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 CC parser/parser.o fatal: not a git repository (or any of the parent directories): .git CC corelib/swupdate_settings.o CC tools/swupdate-client.o CC core/notifier.o AR corelib/lib.a fatal: not a git repository (or any of the parent directories): .git LD libswupdate.so.0.1 CC tools/swupdate-ipc.o CC core/handler.o AR parser/lib.a CC core/bootloader.o CC tools/swupdate-progress.o CC core/install_from_file.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 core/util.o CC core/parser.o CC core/pctl.o AR tools/lib.a fatal: not a git repository (or any of the parent directories): .git CC core/state.o CC core/syslog.o CC core/installer.o CC core/network_thread.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 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-client fatal: not a git repository (or any of the parent directories): .git LD tools/swupdate-ipc LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/buildroot/autobuild/run/instance-2/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 -g0 -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 -lconfig -lz -Wl,--end-group ========== core/built-in.o: In function `register_bootloader': strlcpy.c:(.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-ipc echo tools/swupdate-client echo tools/swupdate-progress make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'