>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-15/output-1/build/.swupdate-2022.05.tar.gz.HxwSh2/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-06-17 03:13:03-- 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.113.3 Connecting to github.com (github.com)|140.82.113.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-17 03:13:04-- https://codeload.github.com/sbabic/swupdate/tar.gz/refs/tags/2022.05 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-15/output-1/build/.swupdate-2022.05.tar.gz.HxwSh2/output' 0K .......... .......... .......... .......... .......... 464K 50K .......... .......... .......... .......... .......... 928K 100K .......... .......... .......... .......... .......... 68.8M 150K .......... .......... .......... .......... .......... 72.5M 200K .......... .......... .......... .......... .......... 938K 250K .......... .......... .......... .......... .......... 74.4M 300K .......... .......... .......... .......... .......... 82.2M 350K .......... .......... .......... .......... .......... 62.4M 400K .......... .......... .......... .......... .......... 967K 450K .......... .......... .......... .......... .......... 15.9M 500K .......... .......... .......... .......... .......... 209M 550K .......... .......... .......... .......... .......... 201M 600K .......... .......... .......... .......... .......... 227M 650K .......... .......... .......... .......... .......... 940K 700K .......... .......... .......... .......... .......... 40.0M 750K .......... .......... .......... .......... .......... 178M 800K .......... .......... .......... .......... .......... 980K 850K .......... .......... .......... .......... .......... 113M 900K .......... .......... .......... .......... .......... 215M 950K .......... .......... .......... .......... .......... 204M 1000K .......... .......... .......... .......... .......... 216M 1050K .......... .......... .......... .......... .......... 218M 1100K .......... .......... .......... .......... .......... 210M 1150K .......... .......... .......... .......... .......... 106M 1200K .......... .......... .......... .......... .......... 138M 1250K .......... .......... .......... .......... .......... 131M 1300K .......... .......... .......... .......... .......... 141M 1350K .......... .......... .......... .......... .......... 61.4M 1400K .......... .......... .......... .......... .......... 123M 1450K .......... .......... .......... .......... .......... 1000K 1500K .......... .......... .......... .......... .......... 127M 1550K .......... .......... .......... .......... .......... 13.3M 1600K .......... .......... .......... .......... .......... 134M 1650K .......... .......... .......... .......... .......... 153M 1700K .......... .......... .......... .......... .......... 201M 1750K .......... .......... .......... .......... .......... 199M 1800K .......... .......... .......... .......... .......... 996K 1850K .......... .......... .......... .......... .......... 146M 1900K .......... .......... .......... .......... .......... 119M 1950K .......... .......... .......... .......... .......... 28.5M 2000K .......... .......... .......... .......... .......... 164M 2050K .......... .......... .......... .......... .......... 162M 2100K .......... .......... .......... .......... .......... 144M 2150K .......... .......... .......... .......... .......... 488K 2200K .......... .......... .......... .......... .......... 141M 2250K .......... .......... .......... .......... .......... 216M 2300K .......... .......... .......... .......... .......... 159M 2350K .......... .......... .......... .......... .......... 185M 2400K .......... .......... .......... .......... .......... 197M 2450K .......... .......... .......... .......... .......... 190M 2500K .......... .......... .......... .......... .......... 193M 2550K .......... .......... .......... .......... .......... 168M 2600K .......... .......... .......... .......... .......... 35.4M 2650K .......... .......... .......... .......... .......... 141M 2700K .......... .......... .......... .......... .......... 29.2M 2750K .......... .......... .......... .......... .......... 1.01M 2800K .......... .......... .......... .......... .......... 22.7M 2850K .......... .......... .......... .......... .......... 11.8M 2900K .......... .......... .......... .......... .......... 160M 2950K .......... .......... .......... .......... .......... 203M 3000K .......... .......... .......... .......... .......... 210M 3050K .......... .......... .......... .......... .......... 979K 3100K .......... .......... .......... .......... .......... 11.8M 3150K .......... .......... .......... .......... .......... 217M 3200K .......... .......... .......... .......... .......... 227M 3250K .......... .......... .......... .......... .......... 441K 3300K .......... .......... .......... .......... .......... 1.04M 3350K .......... .......... .......... .......... .......... 206M 3400K .......... .......... .......... .......... .......... 216M 3450K .......... .......... .......... .......... .......... 168M 3500K .......... .......... .......... .......... .......... 217M 3550K .......... .......... .......... .......... .......... 206M 3600K .......... .......... .......... .......... .......... 222M 3650K .......... .......... .......... .......... .......... 210M 3700K .......... .......... .......... .......... .......... 201M 3750K .......... .......... .......... .......... .......... 10.5M 3800K .......... .......... .......... .......... .......... 95.8M 3850K .......... .......... .......... .......... .......... 1.03M 3900K .......... .......... .......... .......... .......... 6.29M 3950K .......... .......... .......... .......... .......... 209M 4000K .......... .......... .......... .......... .......... 213M 4050K .......... .......... .......... .......... .......... 1.06M 4100K .......... .......... .......... .......... .......... 4.78M 4150K .......... .......... .......... .......... .......... 210M 4200K .......... .......... .......... .......... .......... 213M 4250K .......... .......... .......... .......... .......... 934K 4300K .......... .......... .......... .......... .......... 100M 4350K .......... .......... .......... .......... .......... 143M 4400K .......... .......... .......... .......... .......... 1.10M 4450K .......... .......... .......... .......... .......... 5.47M 4500K .......... .......... .......... .......... .......... 131M 4550K .......... .......... .......... .......... .......... 15.0M 4600K .......... .......... .......... .......... .......... 1.17M 4650K .......... .......... .......... .......... .......... 4.16M 4700K .......... .......... .......... .......... .......... 213M 4750K .......... .......... .......... .......... .......... 12.9M 4800K .......... .......... .......... .......... .......... 526K 4850K .......... .......... .......... .......... .......... 201M 4900K .......... .......... .......... .......... .......... 217M 4950K .......... .......... .......... .......... .......... 206M 5000K .......... .......... .......... .......... .......... 5.19M 5050K .......... .......... .......... .......... .......... 12.9M 5100K .......... .......... .......... .......... .......... 1.16M 5150K .......... .......... .......... .......... .......... 5.41M 5200K .......... .......... .......... .......... .......... 6.61M 5250K .......... .......... .......... .......... .......... 1010K 5300K .......... .......... .......... .......... .......... 205M 5350K .......... .......... .......... .......... .......... 1.17M 5400K .......... .......... .......... .......... .......... 3.25M 5450K .......... .......... .......... .......... .......... 214M 5500K .......... .......... .......... .......... .......... 1.09M 5550K .......... .......... .......... .......... .......... 4.80M 5600K .......... .......... .......... .......... .......... 157M 5650K .......... .......... .......... .......... .......... 1.10M 5700K .......... .......... .......... .......... .......... 4.05M 5750K .......... .......... .......... .......... .......... 210M 5800K .......... .......... .......... .......... .......... 917K 5850K .......... .......... .......... .......... .......... 164M 5900K .......... .......... .......... .......... .......... 1.14M 5950K .......... .......... .......... .......... .......... 4.07M 6000K .......... .......... .......... .......... .......... 194M 6050K .......... .......... .......... .......... .......... 1.13M 6100K .......... .......... .......... .......... .......... 3.88M 6150K .......... .......... .......... .......... .......... 163M 6200K .......... .......... .......... .......... .......... 1.20M 6250K .......... .......... .......... .......... .......... 3.53M 6300K .......... .......... .......... .......... .......... 180M 6350K .......... .......... .......... .......... .......... 1.21M 6400K .......... .......... .......... .......... .......... 3.64M 6450K .......... .......... .......... .......... .......... 94.3M 6500K .......... .......... .......... .......... .......... 652K 6550K .......... .......... .......... .......... .......... 176M 6600K .......... .......... .......... .......... .......... 2.83M 6650K .......... .......... .......... .......... .......... 3.65M 6700K .......... .......... .......... .......... .......... 1.82M 6750K .... 73.5M=2.0s 2022-06-17 03:13:06 (3.37 MB/s) - '/home/autobuild/autobuild/instance-15/output-1/build/.swupdate-2022.05.tar.gz.HxwSh2/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/autobuild/autobuild/instance-15/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/autobuild/autobuild/instance-15/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-15/output-1/build/swupdate-2022.05' /usr/bin/sed -i -e "/\\/d" /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05//.config /usr/bin/sed -i -e "/\\/d" /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/autobuild/autobuild/instance-15/output-1/host/bin:/home/autobuild/autobuild/instance-15/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-15/output-1/host/bin/mipsel-buildroot-linux-uclibc-gcc" LD="/home/autobuild/autobuild/instance-15/output-1/host/bin/mipsel-buildroot-linux-uclibc-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBBLKID=n HAVE_LIBCONFIG=n HAVE_LIBCURL=n 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 -j1 -C /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/autobuild/autobuild/instance-15/output-1/host/bin/mipsel-buildroot-linux-uclibc-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CONFIG_EXTRA_LDFLAGS="" make[1]: Entering directory '/home/autobuild/autobuild/instance-15/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: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 CC core/notifier.o CC core/handler.o 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 *' {aka 'struct *'} 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 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 -lz -Wl,--end-group Output of: /home/autobuild/autobuild/instance-15/output-1/host/bin/mipsel-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 -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 -lz -Wl,--end-group ========== /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/mipsel-buildroot-linux-uclibc/9.4.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x28): undefined reference to `reallocarray' /home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/mipsel-buildroot-linux-uclibc/9.4.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: (.text.register_bootloader+0x44): 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-15/output-1/build/swupdate-2022.05' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-15/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-15/buildroot'