>>> swupdate 2022.05 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-2/output-1/build/.swupdate-2022.05.tar.gz.0jLfAE/output' 'https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz' --2022-07-20 16:17:31-- https://github.com/sbabic/swupdate/archive/2022.05/swupdate-2022.05.tar.gz Resolving github.com (github.com)... 140.82.113.4 Connecting to github.com (github.com)|140.82.113.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-07-20 16:17:32-- 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/buildroot/autobuild/instance-2/output-1/build/.swupdate-2022.05.tar.gz.0jLfAE/output' 0K .......... .......... .......... .......... .......... 367K 50K .......... .......... .......... .......... .......... 736K 100K .......... .......... .......... .......... .......... 76.9M 150K .......... .......... .......... .......... .......... 743K 200K .......... .......... .......... .......... .......... 65.4M 250K .......... .......... .......... .......... .......... 83.5M 300K .......... .......... .......... .......... .......... 1.16M 350K .......... .......... .......... .......... .......... 1.96M 400K .......... .......... .......... .......... .......... 168M 450K .......... .......... .......... .......... .......... 187M 500K .......... .......... .......... .......... .......... 187M 550K .......... .......... .......... .......... .......... 169M 600K .......... .......... .......... .......... .......... 1.15M 650K .......... .......... .......... .......... .......... 177M 700K .......... .......... .......... .......... .......... 2.04M 750K .......... .......... .......... .......... .......... 77.7M 800K .......... .......... .......... .......... .......... 108M 850K .......... .......... .......... .......... .......... 190M 900K .......... .......... .......... .......... .......... 170M 950K .......... .......... .......... .......... .......... 168M 1000K .......... .......... .......... .......... .......... 179M 1050K .......... .......... .......... .......... .......... 192M 1100K .......... .......... .......... .......... .......... 181M 1150K .......... .......... .......... .......... .......... 153M 1200K .......... .......... .......... .......... .......... 151M 1250K .......... .......... .......... .......... .......... 1.21M 1300K .......... .......... .......... .......... .......... 179M 1350K .......... .......... .......... .......... .......... 169M 1400K .......... .......... .......... .......... .......... 192M 1450K .......... .......... .......... .......... .......... 2.06M 1500K .......... .......... .......... .......... .......... 52.8M 1550K .......... .......... .......... .......... .......... 82.8M 1600K .......... .......... .......... .......... .......... 186M 1650K .......... .......... .......... .......... .......... 186M 1700K .......... .......... .......... .......... .......... 163M 1750K .......... .......... .......... .......... .......... 189M 1800K .......... .......... .......... .......... .......... 188M 1850K .......... .......... .......... .......... .......... 152M 1900K .......... .......... .......... .......... .......... 153M 1950K .......... .......... .......... .......... .......... 184M 2000K .......... .......... .......... .......... .......... 196M 2050K .......... .......... .......... .......... .......... 183M 2100K .......... .......... .......... .......... .......... 169M 2150K .......... .......... .......... .......... .......... 187M 2200K .......... .......... .......... .......... .......... 167M 2250K .......... .......... .......... .......... .......... 184M 2300K .......... .......... .......... .......... .......... 155M 2350K .......... .......... .......... .......... .......... 184M 2400K .......... .......... .......... .......... .......... 186M 2450K .......... .......... .......... .......... .......... 190M 2500K .......... .......... .......... .......... .......... 164M 2550K .......... .......... .......... .......... .......... 1.33M 2600K .......... .......... .......... .......... .......... 150M 2650K .......... .......... .......... .......... .......... 184M 2700K .......... .......... .......... .......... .......... 150M 2750K .......... .......... .......... .......... .......... 181M 2800K .......... .......... .......... .......... .......... 181M 2850K .......... .......... .......... .......... .......... 125M 2900K .......... .......... .......... .......... .......... 110M 2950K .......... .......... .......... .......... .......... 165M 3000K .......... .......... .......... .......... .......... 2.22M 3050K .......... .......... .......... .......... .......... 129M 3100K .......... .......... .......... .......... .......... 169M 3150K .......... .......... .......... .......... .......... 166M 3200K .......... .......... .......... .......... .......... 170M 3250K .......... .......... .......... .......... .......... 150M 3300K .......... .......... .......... .......... .......... 146M 3350K .......... .......... .......... .......... .......... 178M 3400K .......... .......... .......... .......... .......... 164M 3450K .......... .......... .......... .......... .......... 145M 3500K .......... .......... .......... .......... .......... 162M 3550K .......... .......... .......... .......... .......... 140M 3600K .......... .......... .......... .......... .......... 168M 3650K .......... .......... .......... .......... .......... 156M 3700K .......... .......... .......... .......... .......... 162M 3750K .......... .......... .......... .......... .......... 161M 3800K .......... .......... .......... .......... .......... 168M 3850K .......... .......... .......... .......... .......... 147M 3900K .......... .......... .......... .......... .......... 172M 3950K .......... .......... .......... .......... .......... 170M 4000K .......... .......... .......... .......... .......... 172M 4050K .......... .......... .......... .......... .......... 151M 4100K .......... .......... .......... .......... .......... 169M 4150K .......... .......... .......... .......... .......... 115M 4200K .......... .......... .......... .......... .......... 128M 4250K .......... .......... .......... .......... .......... 144M 4300K .......... .......... .......... .......... .......... 185M 4350K .......... .......... .......... .......... .......... 182M 4400K .......... .......... .......... .......... .......... 163M 4450K .......... .......... .......... .......... .......... 182M 4500K .......... .......... .......... .......... .......... 185M 4550K .......... .......... .......... .......... .......... 180M 4600K .......... .......... .......... .......... .......... 150M 4650K .......... .......... .......... .......... .......... 177M 4700K .......... .......... .......... .......... .......... 178M 4750K .......... .......... .......... .......... .......... 180M 4800K .......... .......... .......... .......... .......... 154M 4850K .......... .......... .......... .......... .......... 143M 4900K .......... .......... .......... .......... .......... 177M 4950K .......... .......... .......... .......... .......... 181M 5000K .......... .......... .......... .......... .......... 1.55M 5050K .......... .......... .......... .......... .......... 133M 5100K .......... .......... .......... .......... .......... 152M 5150K .......... .......... .......... .......... .......... 159M 5200K .......... .......... .......... .......... .......... 166M 5250K .......... .......... .......... .......... .......... 174M 5300K .......... .......... .......... .......... .......... 158M 5350K .......... .......... .......... .......... .......... 165M 5400K .......... .......... .......... .......... .......... 139M 5450K .......... .......... .......... .......... .......... 173M 5500K .......... .......... .......... .......... .......... 169M 5550K .......... .......... .......... .......... .......... 181M 5600K .......... .......... .......... .......... .......... 159M 5650K .......... .......... .......... .......... .......... 153M 5700K .......... .......... .......... .......... .......... 180M 5750K .......... .......... .......... .......... .......... 176M 5800K .......... .......... .......... .......... .......... 154M 5850K .......... .......... .......... .......... .......... 182M 5900K .......... .......... .......... .......... .......... 187M 5950K .......... .......... .......... .......... .......... 164M 6000K .......... .......... .......... .......... .......... 2.36M 6050K .......... .......... .......... .......... .......... 78.2M 6100K .......... .......... .......... .......... .......... 172M 6150K .......... .......... .......... .......... .......... 147M 6200K .......... .......... .......... .......... .......... 149M 6250K .......... .......... .......... .......... .......... 178M 6300K .......... .......... .......... .......... .......... 164M 6350K .......... .......... .......... .......... .......... 161M 6400K .......... .......... .......... .......... .......... 96.1M 6450K .......... .......... .......... .......... .......... 171M 6500K .......... .......... .......... .......... .......... 177M 6550K .......... .......... .......... .......... .......... 32.4M 6600K .......... .......... .......... .......... .......... 134M 6650K .......... .......... .......... .......... .......... 167M 6700K .......... .......... .......... .......... .......... 183M 6750K .... 127M=0.6s 2022-07-20 16:17:32 (10.6 MB/s) - '/home/buildroot/autobuild/instance-2/output-1/build/.swupdate-2022.05.tar.gz.0jLfAE/output' saved [6916697] swupdate-2022.05.tar.gz: OK (sha256: 1e819f71b19626bde1a4906ced39d3406ca240b458d3c4a998bd9c7333eba260) >>> swupdate 2022.05 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/swupdate/swupdate-2022.05.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05 -xf - >>> swupdate 2022.05 Patching Using /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05/.config as base # # merged configuration written to /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/instance-2/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/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05' /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05//.config echo '# CONFIG_SYSTEMD is not set' >> /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05//.config /bin/sed -i -e "/\\/d" /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05//.config echo '# CONFIG_WEBSERVER is not set' >> /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05//.config make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05' >>> swupdate 2022.05 Configuring >>> swupdate 2022.05 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips-buildroot-linux-uclibc-gcc" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips-buildroot-linux-uclibc-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=y HAVE_LIBFDISK=y HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=y 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=n /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05 CROSS_COMPILE="/home/buildroot/autobuild/instance-2/output-1/host/bin/mips-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/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05' fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). 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 parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC ipc/network_ipc.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC ipc/network_ipc-if.o CC core/swupdate.o CC handlers/dummy_handler.o CC handlers/raw_handler.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC bootloader/none.o LD bootloader/built-in.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC corelib/multipart_parser.o CC ipc/progress_ipc.o LD ipc/built-in.o CC corelib/parsing_library_libconfig.o CC core/cpio_utils.o LD handlers/built-in.o CC corelib/swupdate_settings.o CC core/notifier.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)); | ^~~~~ CC core/handler.o AR corelib/lib.a 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] CC core/install_from_file.o CC core/util.o CC core/parser.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). AR mongoose/lib.a CC core/pctl.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC parser/parse_external.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). AR suricatta/lib.a CC core/state.o CC parser/parser.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). AR fs/lib.a CC core/syslog.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). CC tools/swupdate-client.o CC core/installer.o CC tools/swupdate-ipc.o CC core/network_thread.o CC core/stream_interface.o CC tools/swupdate-progress.o AR parser/lib.a CC core/progress_thread.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD libswupdate.so.0.1 CC core/parsing_library.o AR tools/lib.a CC core/artifacts_versions.o CC core/swupdate_dict.o CC core/semver.o CC core/strlcpy.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD core/built-in.o fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD swupdate_unstripped fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD tools/swupdate-ipc fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD tools/swupdate-client fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/buildroot/autobuild/instance-2/output-1/host/bin/mips-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 -lconfig -lz -Wl,--end-group ========== /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/mips-buildroot-linux-uclibc/10.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: core/built-in.o: in function `register_bootloader': (.text.register_bootloader+0x28): undefined reference to `reallocarray' /home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/mips-buildroot-linux-uclibc/10.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: (.text.register_bootloader+0x44): 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-client echo tools/swupdate-ipc echo tools/swupdate-progress make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/swupdate-2022.05/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'