>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/.swupdate-2022.05.tar.gz.EdI7zQ/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-07-05 12:56:58-- 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-07-05 12:56:58-- 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/giuliobenetti/autobuild/run/instance-0/output-1/build/.swupdate-2022.05.tar.gz.EdI7zQ/output' 0K .......... .......... .......... .......... .......... 1.20M 50K .......... .......... .......... .......... .......... 2.42M 100K .......... .......... .......... .......... .......... 5.47M 150K .......... .......... .......... .......... .......... 3.47M 200K .......... .......... .......... .......... .......... 5.56M 250K .......... .......... .......... .......... .......... 4.32M 300K .......... .......... .......... .......... .......... 4.67M 350K .......... .......... .......... .......... .......... 4.46M 400K .......... .......... .......... .......... .......... 5.46M 450K .......... .......... .......... .......... .......... 3.85M 500K .......... .......... .......... .......... .......... 5.94M 550K .......... .......... .......... .......... .......... 5.75M 600K .......... .......... .......... .......... .......... 5.52M 650K .......... .......... .......... .......... .......... 5.93M 700K .......... .......... .......... .......... .......... 6.46M 750K .......... .......... .......... .......... .......... 6.19M 800K .......... .......... .......... .......... .......... 5.19M 850K .......... .......... .......... .......... .......... 5.64M 900K .......... .......... .......... .......... .......... 5.01M 950K .......... .......... .......... .......... .......... 5.38M 1000K .......... .......... .......... .......... .......... 6.17M 1050K .......... .......... .......... .......... .......... 6.07M 1100K .......... .......... .......... .......... .......... 6.16M 1150K .......... .......... .......... .......... .......... 6.08M 1200K .......... .......... .......... .......... .......... 4.67M 1250K .......... .......... .......... .......... .......... 7.44M 1300K .......... .......... .......... .......... .......... 6.07M 1350K .......... .......... .......... .......... .......... 6.62M 1400K .......... .......... .......... .......... .......... 6.04M 1450K .......... .......... .......... .......... .......... 7.78M 1500K .......... .......... .......... .......... .......... 6.04M 1550K .......... .......... .......... .......... .......... 6.09M 1600K .......... .......... .......... .......... .......... 4.74M 1650K .......... .......... .......... .......... .......... 5.98M 1700K .......... .......... .......... .......... .......... 6.31M 1750K .......... .......... .......... .......... .......... 7.54M 1800K .......... .......... .......... .......... .......... 6.18M 1850K .......... .......... .......... .......... .......... 6.18M 1900K .......... .......... .......... .......... .......... 6.26M 1950K .......... .......... .......... .......... .......... 6.20M 2000K .......... .......... .......... .......... .......... 5.40M 2050K .......... .......... .......... .......... .......... 6.05M 2100K .......... .......... .......... .......... .......... 6.24M 2150K .......... .......... .......... .......... .......... 6.11M 2200K .......... .......... .......... .......... .......... 6.12M 2250K .......... .......... .......... .......... .......... 5.92M 2300K .......... .......... .......... .......... .......... 6.32M 2350K .......... .......... .......... .......... .......... 5.44M 2400K .......... .......... .......... .......... .......... 6.54M 2450K .......... .......... .......... .......... .......... 6.13M 2500K .......... .......... .......... .......... .......... 7.55M 2550K .......... .......... .......... .......... .......... 6.00M 2600K .......... .......... .......... .......... .......... 6.19M 2650K .......... .......... .......... .......... .......... 6.25M 2700K .......... .......... .......... .......... .......... 6.20M 2750K .......... .......... .......... .......... .......... 4.56M 2800K .......... .......... .......... .......... .......... 7.80M 2850K .......... .......... .......... .......... .......... 6.13M 2900K .......... .......... .......... .......... .......... 6.08M 2950K .......... .......... .......... .......... .......... 6.27M 3000K .......... .......... .......... .......... .......... 6.30M 3050K .......... .......... .......... .......... .......... 7.49M 3100K .......... .......... .......... .......... .......... 6.09M 3150K .......... .......... .......... .......... .......... 4.62M 3200K .......... .......... .......... .......... .......... 6.11M 3250K .......... .......... .......... .......... .......... 5.96M 3300K .......... .......... .......... .......... .......... 6.19M 3350K .......... .......... .......... .......... .......... 6.07M 3400K .......... .......... .......... .......... .......... 6.05M 3450K .......... .......... .......... .......... .......... 7.71M 3500K .......... .......... .......... .......... .......... 6.29M 3550K .......... .......... .......... .......... .......... 4.40M 3600K .......... .......... .......... .......... .......... 6.75M 3650K .......... .......... .......... .......... .......... 6.04M 3700K .......... .......... .......... .......... .......... 7.59M 3750K .......... .......... .......... .......... .......... 6.11M 3800K .......... .......... .......... .......... .......... 6.13M 3850K .......... .......... .......... .......... .......... 6.25M 3900K .......... .......... .......... .......... .......... 4.62M 3950K .......... .......... .......... .......... .......... 6.01M 4000K .......... .......... .......... .......... .......... 6.28M 4050K .......... .......... .......... .......... .......... 7.95M 4100K .......... .......... .......... .......... .......... 6.08M 4150K .......... .......... .......... .......... .......... 5.98M 4200K .......... .......... .......... .......... .......... 6.23M 4250K .......... .......... .......... .......... .......... 8.02M 4300K .......... .......... .......... .......... .......... 9.20M 4350K .......... .......... .......... .......... .......... 12.4M 4400K .......... .......... .......... .......... .......... 10.2M 4450K .......... .......... .......... .......... .......... 12.2M 4500K .......... .......... .......... .......... .......... 10.8M 4550K .......... .......... .......... .......... .......... 7.33M 4600K .......... .......... .......... .......... .......... 6.24M 4650K .......... .......... .......... .......... .......... 6.08M 4700K .......... .......... .......... .......... .......... 5.64M 4750K .......... .......... .......... .......... .......... 6.25M 4800K .......... .......... .......... .......... .......... 6.03M 4850K .......... .......... .......... .......... .......... 6.04M 4900K .......... .......... .......... .......... .......... 6.03M 4950K .......... .......... .......... .......... .......... 7.56M 5000K .......... .......... .......... .......... .......... 6.17M 5050K .......... .......... .......... .......... .......... 4.67M 5100K .......... .......... .......... .......... .......... 6.18M 5150K .......... .......... .......... .......... .......... 6.07M 5200K .......... .......... .......... .......... .......... 7.75M 5250K .......... .......... .......... .......... .......... 6.24M 5300K .......... .......... .......... .......... .......... 6.13M 5350K .......... .......... .......... .......... .......... 6.10M 5400K .......... .......... .......... .......... .......... 6.10M 5450K .......... .......... .......... .......... .......... 4.70M 5500K .......... .......... .......... .......... .......... 7.58M 5550K .......... .......... .......... .......... .......... 6.15M 5600K .......... .......... .......... .......... .......... 6.10M 5650K .......... .......... .......... .......... .......... 5.88M 5700K .......... .......... .......... .......... .......... 6.17M 5750K .......... .......... .......... .......... .......... 6.17M 5800K .......... .......... .......... .......... .......... 7.87M 5850K .......... .......... .......... .......... .......... 4.70M 5900K .......... .......... .......... .......... .......... 6.00M 5950K .......... .......... .......... .......... .......... 5.99M 6000K .......... .......... .......... .......... .......... 6.15M 6050K .......... .......... .......... .......... .......... 774K 6100K .......... .......... .......... .......... .......... 13.7M 6150K .......... .......... .......... .......... .......... 48.9M 6200K .......... .......... .......... .......... .......... 44.2M 6250K .......... .......... .......... .......... .......... 51.7M 6300K .......... .......... .......... .......... .......... 52.5M 6350K .......... .......... .......... .......... .......... 60.0M 6400K .......... .......... .......... .......... .......... 51.8M 6450K .......... .......... .......... .......... .......... 59.4M 6500K .......... .......... .......... .......... .......... 2.31M 6550K .......... .......... .......... .......... .......... 56.7M 6600K .......... .......... .......... .......... .......... 6.43M 6650K .......... .......... .......... .......... .......... 60.9M 6700K .......... .......... .......... .......... .......... 65.2M 6750K .... 40.4M=1.1s 2022-07-05 12:57:00 (5.85 MB/s) - '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/.swupdate-2022.05.tar.gz.EdI7zQ/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-0/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/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 '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05' /usr/bin/sed -i -e "/\\/d" /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config /usr/bin/sed -i -e "/\\/d" /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/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/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/i686-linux-gcc" LD="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/i686-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=n 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=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y HAVE_ZSTD=n HAVE_LIBRSYNC=n /usr/bin/make -j4 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/i686-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/giuliobenetti/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 CC ipc/network_ipc.o CC ipc/network_ipc-if.o fatal: not a git repository (or any of the parent directories): .git CC core/swupdate.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 fatal: not a git repository (or any of the parent directories): .git 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 LD handlers/built-in.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 CC core/notifier.o CC parser/parse_external.o CC parser/parser.o CC corelib/parsing_library_libconfig.o CC core/handler.o CC core/bootloader.o CC corelib/swupdate_settings.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 core/install_from_file.o CC core/util.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/parser.o CC tools/swupdate-ipc.o AR parser/lib.a CC tools/swupdate-progress.o CC core/pctl.o CC core/state.o AR tools/lib.a fatal: not a git repository (or any of the parent directories): .git LD libswupdate.so.0.1 CC core/syslog.o fatal: not a git repository (or any of the parent directories): .git 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 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 LD tools/swupdate-ipc 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-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/i686-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/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x21): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:421: 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/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05' make: *** [package/pkg-generic.mk:293: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/buildroot'