>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-3/output-1/build/.swupdate-2022.05.tar.gz.NeYpOJ/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-06-26 03:09:38-- https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|: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-26 03:09:38-- 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-3/output-1/build/.swupdate-2022.05.tar.gz.NeYpOJ/output' 0K .......... .......... .......... .......... .......... 2.88M 50K .......... .......... .......... .......... .......... 5.52M 100K .......... .......... .......... .......... .......... 32.3M 150K .......... .......... .......... .......... .......... 4.36M 200K .......... .......... .......... .......... .......... 61.8M 250K .......... .......... .......... .......... .......... 64.7M 300K .......... .......... .......... .......... .......... 57.4M 350K .......... .......... .......... .......... .......... 4.96M 400K .......... .......... .......... .......... .......... 61.7M 450K .......... .......... .......... .......... .......... 68.6M 500K .......... .......... .......... .......... .......... 70.3M 550K .......... .......... .......... .......... .......... 71.1M 600K .......... .......... .......... .......... .......... 8.05M 650K .......... .......... .......... .......... .......... 57.3M 700K .......... .......... .......... .......... .......... 63.2M 750K .......... .......... .......... .......... .......... 60.8M 800K .......... .......... .......... .......... .......... 60.8M 850K .......... .......... .......... .......... .......... 63.3M 900K .......... .......... .......... .......... .......... 12.1M 950K .......... .......... .......... .......... .......... 66.6M 1000K .......... .......... .......... .......... .......... 63.7M 1050K .......... .......... .......... .......... .......... 60.1M 1100K .......... .......... .......... .......... .......... 60.0M 1150K .......... .......... .......... .......... .......... 59.3M 1200K .......... .......... .......... .......... .......... 57.4M 1250K .......... .......... .......... .......... .......... 60.3M 1300K .......... .......... .......... .......... .......... 59.4M 1350K .......... .......... .......... .......... .......... 55.4M 1400K .......... .......... .......... .......... .......... 60.3M 1450K .......... .......... .......... .......... .......... 69.0M 1500K .......... .......... .......... .......... .......... 59.0M 1550K .......... .......... .......... .......... .......... 25.8M 1600K .......... .......... .......... .......... .......... 58.7M 1650K .......... .......... .......... .......... .......... 50.5M 1700K .......... .......... .......... .......... .......... 26.0M 1750K .......... .......... .......... .......... .......... 23.6M 1800K .......... .......... .......... .......... .......... 27.7M 1850K .......... .......... .......... .......... .......... 26.7M 1900K .......... .......... .......... .......... .......... 22.1M 1950K .......... .......... .......... .......... .......... 37.6M 2000K .......... .......... .......... .......... .......... 22.7M 2050K .......... .......... .......... .......... .......... 11.6M 2100K .......... .......... .......... .......... .......... 83.1M 2150K .......... .......... .......... .......... .......... 73.6M 2200K .......... .......... .......... .......... .......... 14.5M 2250K .......... .......... .......... .......... .......... 22.0M 2300K .......... .......... .......... .......... .......... 23.4M 2350K .......... .......... .......... .......... .......... 18.6M 2400K .......... .......... .......... .......... .......... 58.9M 2450K .......... .......... .......... .......... .......... 12.4M 2500K .......... .......... .......... .......... .......... 55.0M 2550K .......... .......... .......... .......... .......... 14.7M 2600K .......... .......... .......... .......... .......... 18.2M 2650K .......... .......... .......... .......... .......... 44.0M 2700K .......... .......... .......... .......... .......... 12.8M 2750K .......... .......... .......... .......... .......... 63.7M 2800K .......... .......... .......... .......... .......... 27.7M 2850K .......... .......... .......... .......... .......... 18.8M 2900K .......... .......... .......... .......... .......... 29.7M 2950K .......... .......... .......... .......... .......... 32.4M 3000K .......... .......... .......... .......... .......... 19.5M 3050K .......... .......... .......... .......... .......... 60.8M 3100K .......... .......... .......... .......... .......... 53.5M 3150K .......... .......... .......... .......... .......... 15.6M 3200K .......... .......... .......... .......... .......... 25.0M 3250K .......... .......... .......... .......... .......... 63.5M 3300K .......... .......... .......... .......... .......... 21.0M 3350K .......... .......... .......... .......... .......... 14.5M 3400K .......... .......... .......... .......... .......... 94.7M 3450K .......... .......... .......... .......... .......... 18.8M 3500K .......... .......... .......... .......... .......... 60.0M 3550K .......... .......... .......... .......... .......... 11.3M 3600K .......... .......... .......... .......... .......... 60.6M 3650K .......... .......... .......... .......... .......... 27.3M 3700K .......... .......... .......... .......... .......... 42.4M 3750K .......... .......... .......... .......... .......... 64.7M 3800K .......... .......... .......... .......... .......... 14.3M 3850K .......... .......... .......... .......... .......... 23.7M 3900K .......... .......... .......... .......... .......... 6.54M 3950K .......... .......... .......... .......... .......... 62.3M 4000K .......... .......... .......... .......... .......... 10.1M 4050K .......... .......... .......... .......... .......... 16.0M 4100K .......... .......... .......... .......... .......... 29.1M 4150K .......... .......... .......... .......... .......... 55.7M 4200K .......... .......... .......... .......... .......... 62.3M 4250K .......... .......... .......... .......... .......... 36.7M 4300K .......... .......... .......... .......... .......... 19.9M 4350K .......... .......... .......... .......... .......... 43.3M 4400K .......... .......... .......... .......... .......... 17.3M 4450K .......... .......... .......... .......... .......... 34.5M 4500K .......... .......... .......... .......... .......... 21.4M 4550K .......... .......... .......... .......... .......... 28.2M 4600K .......... .......... .......... .......... .......... 33.8M 4650K .......... .......... .......... .......... .......... 25.5M 4700K .......... .......... .......... .......... .......... 30.5M 4750K .......... .......... .......... .......... .......... 21.1M 4800K .......... .......... .......... .......... .......... 15.8M 4850K .......... .......... .......... .......... .......... 49.2M 4900K .......... .......... .......... .......... .......... 5.38M 4950K .......... .......... .......... .......... .......... 61.3M 5000K .......... .......... .......... .......... .......... 9.01M 5050K .......... .......... .......... .......... .......... 7.50M 5100K .......... .......... .......... .......... .......... 31.5M 5150K .......... .......... .......... .......... .......... 27.7M 5200K .......... .......... .......... .......... .......... 14.4M 5250K .......... .......... .......... .......... .......... 4.74M 5300K .......... .......... .......... .......... .......... 5.15M 5350K .......... .......... .......... .......... .......... 61.2M 5400K .......... .......... .......... .......... .......... 5.81M 5450K .......... .......... .......... .......... .......... 5.04M 5500K .......... .......... .......... .......... .......... 5.31M 5550K .......... .......... .......... .......... .......... 5.40M 5600K .......... .......... .......... .......... .......... 5.35M 5650K .......... .......... .......... .......... .......... 4.77M 5700K .......... .......... .......... .......... .......... 5.39M 5750K .......... .......... .......... .......... .......... 35.3M 5800K .......... .......... .......... .......... .......... 7.14M 5850K .......... .......... .......... .......... .......... 50.1M 5900K .......... .......... .......... .......... .......... 55.2M 5950K .......... .......... .......... .......... .......... 55.1M 6000K .......... .......... .......... .......... .......... 10.8M 6050K .......... .......... .......... .......... .......... 48.7M 6100K .......... .......... .......... .......... .......... 46.7M 6150K .......... .......... .......... .......... .......... 56.4M 6200K .......... .......... .......... .......... .......... 23.8M 6250K .......... .......... .......... .......... .......... 36.5M 6300K .......... .......... .......... .......... .......... 10.8M 6350K .......... .......... .......... .......... .......... 57.0M 6400K .......... .......... .......... .......... .......... 28.1M 6450K .......... .......... .......... .......... .......... 52.2M 6500K .......... .......... .......... .......... .......... 26.6M 6550K .......... .......... .......... .......... .......... 12.5M 6600K .......... .......... .......... .......... .......... 55.5M 6650K .......... .......... .......... .......... .......... 35.2M 6700K .......... .......... .......... .......... .......... 33.3M 6750K .... 1.08M=0.4s 2022-06-26 03:09:38 (17.8 MB/s) - '/home/buildroot/autobuild/run/instance-3/output-1/build/.swupdate-2022.05.tar.gz.NeYpOJ/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-3/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05' HOSTCC scripts/basic/fixdep SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.lex.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-3/output-1/build/swupdate-2022.05' /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05//.config /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05//.config echo 'CONFIG_WEBSERVER=y' >> /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/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-3/output-1/host/bin/mipsel-linux-gcc" LD="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mipsel-linux-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=y HAVE_LIBFDISK=n HAVE_LIBGPIOD=n HAVE_URIPARSER=y HAVE_LIBWEBSOCKETS=n 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=y HAVE_LIBZEROMQ=y HAVE_ZLIB=y HAVE_ZSTD=n HAVE_LIBRSYNC=n /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mipsel-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-3/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 handlers/dummy_handler.o fatal: not a git repository (or any of the parent directories): .git CC core/swupdate.o CC bootloader/none.o LD bootloader/built-in.o fatal: not a git repository (or any of the parent directories): .git CC corelib/multipart_parser.o CC handlers/raw_handler.o CC ipc/network_ipc-if.o CC corelib/parsing_library_libconfig.o CC ipc/progress_ipc.o LD handlers/built-in.o fatal: not a git repository (or any of the parent directories): .git CC mongoose/mongoose.o CC corelib/swupdate_settings.o CC core/cpio_utils.o LD ipc/built-in.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)); | ^~~~~ 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)); | ^~~~~ 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)); | ^~~~~ 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)); | ^~~~~ 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)); | ^~~~~ 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)); | ^~~~~ fatal: not a git repository (or any of the parent directories): .git CC parser/parse_external.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 CC parser/parser.o fatal: not a git repository (or any of the parent directories): .git CC tools/swupdate-client.o CC core/notifier.o CC tools/swupdate-ipc.o CC core/handler.o CC tools/swupdate-progress.o AR parser/lib.a fatal: not a git repository (or any of the parent directories): .git LD libswupdate.so.0.1 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 *' from 'int' makes pointer from integer without a cast [-Wint-conversion] AR tools/lib.a fatal: not a git repository (or any of the parent directories): .git CC mongoose/mongoose_interface.o CC core/install_from_file.o CC core/util.o CC core/parser.o CC core/pctl.o CC core/state.o CC core/syslog.o CC core/installer.o CC core/network_thread.o CC core/stream_interface.o 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 AR mongoose/lib.a 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 swupdate_unstripped LD tools/swupdate-ipc 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 LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mipsel-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-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x2c): undefined reference to `reallocarray' /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/10.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: (.text.register_bootloader+0x48): 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-progress echo tools/swupdate-client make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-3/buildroot'