>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-10/output-1/build/.swupdate-2022.05.tar.gz.XX9fSE/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-06-22 16:49:14-- https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.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-22 16:49:15-- https://codeload.github.com/sbabic/swupdate/tar.gz/refs/tags/2022.05 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-10/output-1/build/.swupdate-2022.05.tar.gz.XX9fSE/output' 0K .......... .......... .......... .......... .......... 489K 50K .......... .......... .......... .......... .......... 960K 100K .......... .......... .......... .......... .......... 32.9M 150K .......... .......... .......... .......... .......... 354K 200K .......... .......... .......... .......... .......... 104M 250K .......... .......... .......... .......... .......... 105M 300K .......... .......... .......... .......... .......... 196M 350K .......... .......... .......... .......... .......... 154M 400K .......... .......... .......... .......... .......... 3.87M 450K .......... .......... .......... .......... .......... 99.0M 500K .......... .......... .......... .......... .......... 985K 550K .......... .......... .......... .......... .......... 68.1M 600K .......... .......... .......... .......... .......... 105M 650K .......... .......... .......... .......... .......... 989K 700K .......... .......... .......... .......... .......... 101M 750K .......... .......... .......... .......... .......... 983K 800K .......... .......... .......... .......... .......... 90.2M 850K .......... .......... .......... .......... .......... 92.8M 900K .......... .......... .......... .......... .......... 930K 950K .......... .......... .......... .......... .......... 69.7M 1000K .......... .......... .......... .......... .......... 73.5M 1050K .......... .......... .......... .......... .......... 1005K 1100K .......... .......... .......... .......... .......... 43.6M 1150K .......... .......... .......... .......... .......... 1.02M 1200K .......... .......... .......... .......... .......... 14.0M 1250K .......... .......... .......... .......... .......... 91.6M 1300K .......... .......... .......... .......... .......... 1.04M 1350K .......... .......... .......... .......... .......... 13.0M 1400K .......... .......... .......... .......... .......... 85.7M 1450K .......... .......... .......... .......... .......... 1003K 1500K .......... .......... .......... .......... .......... 63.2M 1550K .......... .......... .......... .......... .......... 1.01M 1600K .......... .......... .......... .......... .......... 17.1M 1650K .......... .......... .......... .......... .......... 81.9M 1700K .......... .......... .......... .......... .......... 1.01M 1750K .......... .......... .......... .......... .......... 17.5M 1800K .......... .......... .......... .......... .......... 102M 1850K .......... .......... .......... .......... .......... 1.01M 1900K .......... .......... .......... .......... .......... 17.9M 1950K .......... .......... .......... .......... .......... 98.5M 2000K .......... .......... .......... .......... .......... 986K 2050K .......... .......... .......... .......... .......... 93.9M 2100K .......... .......... .......... .......... .......... 103M 2150K .......... .......... .......... .......... .......... 990K 2200K .......... .......... .......... .......... .......... 98.3M 2250K .......... .......... .......... .......... .......... 87.7M 2300K .......... .......... .......... .......... .......... 987K 2350K .......... .......... .......... .......... .......... 98.1M 2400K .......... .......... .......... .......... .......... 1.49M 2450K .......... .......... .......... .......... .......... 2.63M 2500K .......... .......... .......... .......... .......... 101M 2550K .......... .......... .......... .......... .......... 1.51M 2600K .......... .......... .......... .......... .......... 2.62M 2650K .......... .......... .......... .......... .......... 106M 2700K .......... .......... .......... .......... .......... 1.03M 2750K .......... .......... .......... .......... .......... 14.9M 2800K .......... .......... .......... .......... .......... 59.9M 2850K .......... .......... .......... .......... .......... 1.02M 2900K .......... .......... .......... .......... .......... 17.5M 2950K .......... .......... .......... .......... .......... 59.4M 3000K .......... .......... .......... .......... .......... 1.55M 3050K .......... .......... .......... .......... .......... 2.59M 3100K .......... .......... .......... .......... .......... 47.9M 3150K .......... .......... .......... .......... .......... 1.02M 3200K .......... .......... .......... .......... .......... 19.1M 3250K .......... .......... .......... .......... .......... 61.3M 3300K .......... .......... .......... .......... .......... 1.55M 3350K .......... .......... .......... .......... .......... 2.54M 3400K .......... .......... .......... .......... .......... 98.5M 3450K .......... .......... .......... .......... .......... 1.53M 3500K .......... .......... .......... .......... .......... 2.58M 3550K .......... .......... .......... .......... .......... 93.5M 3600K .......... .......... .......... .......... .......... 88.7M 3650K .......... .......... .......... .......... .......... 1.01M 3700K .......... .......... .......... .......... .......... 17.4M 3750K .......... .......... .......... .......... .......... 101M 3800K .......... .......... .......... .......... .......... 1.03M 3850K .......... .......... .......... .......... .......... 15.4M 3900K .......... .......... .......... .......... .......... 89.9M 3950K .......... .......... .......... .......... .......... 1.03M 4000K .......... .......... .......... .......... .......... 16.1M 4050K .......... .......... .......... .......... .......... 50.6M 4100K .......... .......... .......... .......... .......... 1.03M 4150K .......... .......... .......... .......... .......... 21.0M 4200K .......... .......... .......... .......... .......... 40.1M 4250K .......... .......... .......... .......... .......... 1.49M 4300K .......... .......... .......... .......... .......... 2.85M 4350K .......... .......... .......... .......... .......... 38.7M 4400K .......... .......... .......... .......... .......... 12.6M 4450K .......... .......... .......... .......... .......... 1.11M 4500K .......... .......... .......... .......... .......... 17.1M 4550K .......... .......... .......... .......... .......... 10.8M 4600K .......... .......... .......... .......... .......... 1.11M 4650K .......... .......... .......... .......... .......... 20.2M 4700K .......... .......... .......... .......... .......... 9.60M 4750K .......... .......... .......... .......... .......... 1.13M 4800K .......... .......... .......... .......... .......... 19.2M 4850K .......... .......... .......... .......... .......... 9.71M 4900K .......... .......... .......... .......... .......... 1.71M 4950K .......... .......... .......... .......... .......... 3.10M 5000K .......... .......... .......... .......... .......... 7.06M 5050K .......... .......... .......... .......... .......... 1.71M 5100K .......... .......... .......... .......... .......... 3.10M 5150K .......... .......... .......... .......... .......... 21.3M 5200K .......... .......... .......... .......... .......... 9.79M 5250K .......... .......... .......... .......... .......... 1.13M 5300K .......... .......... .......... .......... .......... 19.2M 5350K .......... .......... .......... .......... .......... 9.09M 5400K .......... .......... .......... .......... .......... 1.13M 5450K .......... .......... .......... .......... .......... 19.8M 5500K .......... .......... .......... .......... .......... 8.41M 5550K .......... .......... .......... .......... .......... 87.9M 5600K .......... .......... .......... .......... .......... 1.13M 5650K .......... .......... .......... .......... .......... 24.6M 5700K .......... .......... .......... .......... .......... 7.81M 5750K .......... .......... .......... .......... .......... 1.15M 5800K .......... .......... .......... .......... .......... 19.5M 5850K .......... .......... .......... .......... .......... 8.10M 5900K .......... .......... .......... .......... .......... 1.71M 5950K .......... .......... .......... .......... .......... 3.24M 6000K .......... .......... .......... .......... .......... 22.4M 6050K .......... .......... .......... .......... .......... 7.97M 6100K .......... .......... .......... .......... .......... 1.13M 6150K .......... .......... .......... .......... .......... 23.6M 6200K .......... .......... .......... .......... .......... 8.18M 6250K .......... .......... .......... .......... .......... 1.14M 6300K .......... .......... .......... .......... .......... 65.0M 6350K .......... .......... .......... .......... .......... 6.20M 6400K .......... .......... .......... .......... .......... 1.69M 6450K .......... .......... .......... .......... .......... 3.41M 6500K .......... .......... .......... .......... .......... 46.7M 6550K .......... .......... .......... .......... .......... 6.57M 6600K .......... .......... .......... .......... .......... 1.14M 6650K .......... .......... .......... .......... .......... 97.8M 6700K .......... .......... .......... .......... .......... 6.09M 6750K .... 144M=2.4s 2022-06-22 16:49:18 (2.72 MB/s) - '/home/autobuild/autobuild/instance-10/output-1/build/.swupdate-2022.05.tar.gz.XX9fSE/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/autobuild/autobuild/instance-10/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/autobuild/autobuild/instance-10/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/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05' /usr/bin/sed -i -e "/\\/d" /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05//.config /usr/bin/sed -i -e "/\\/d" /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" CC="/home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-gcc" LD="/home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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=y 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=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 -j1 -C /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 " CONFIG_EXTRA_LDFLAGS="" make[1]: Entering directory '/home/autobuild/autobuild/instance-10/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 CC ipc/network_ipc.o CC ipc/network_ipc-if.o CC ipc/progress_ipc.o LD ipc/built-in.o fatal: not a git repository (or any of the parent directories): .git LD libswupdate.so.0.1 fatal: not a git repository (or any of the parent directories): .git CC core/swupdate.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:41: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:25: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ include/util.h:99:49: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:25: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ include/util.h:103:41: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:141:25: note: in expansion of macro 'ERROR' 141 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ include/util.h:92:41: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:25: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ include/util.h:99:49: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:25: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ include/util.h:103:41: 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:9: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:25: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ CC core/notifier.o CC core/handler.o CC core/bootloader.o core/bootloader.c: In function 'register_bootloader': core/bootloader.c:28:22: warning: implicit declaration of function 'reallocarray' [-Wimplicit-function-declaration] 28 | entry *tmp = reallocarray(available, num_available + 1, sizeof(entry)); | ^~~~~~~~~~~~ core/bootloader.c:28:22: warning: initialization of 'entry *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 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 fatal: not a git repository (or any of the parent directories): .git CC handlers/dummy_handler.o CC handlers/raw_handler.o LD handlers/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 CC corelib/parsing_library_libconfig.o CC corelib/swupdate_settings.o AR corelib/lib.a 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 parser/parse_external.o CC parser/parser.o AR parser/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 LD swupdate_unstripped Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/autobuild/autobuild/instance-10/output-1/host/bin/arc-buildroot-linux-uclibc-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 -Og -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/autobuild/autobuild/instance-10/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/11.3.0/../../../../arc-buildroot-linux-uclibc/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x1e): undefined reference to `reallocarray' /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/11.3.0/../../../../arc-buildroot-linux-uclibc/bin/ld: (.text.register_bootloader+0x1e): undefined reference to `reallocarray' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:421: swupdate_unstripped] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-10/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'