>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-31/output-1/build/.swupdate-2021.04.tar.gz.esLXbg/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-31 01:16:40-- https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sbabic/swupdate/tar.gz/2021.04 [following] --2021-07-31 01:16:40-- https://codeload.github.com/sbabic/swupdate/tar.gz/2021.04 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: '/tmp/instance-31/output-1/build/.swupdate-2021.04.tar.gz.esLXbg/output' 0K .......... .......... .......... .......... .......... 9.55M 50K .......... .......... .......... .......... .......... 23.1M 100K .......... .......... .......... .......... .......... 5.55M 150K .......... .......... .......... .......... .......... 95.7M 200K .......... .......... .......... .......... .......... 7.56M 250K .......... .......... .......... .......... .......... 97.6M 300K .......... .......... .......... .......... .......... 87.4M 350K .......... .......... .......... .......... .......... 107M 400K .......... .......... .......... .......... .......... 55.4M 450K .......... .......... .......... .......... .......... 8.22M 500K .......... .......... .......... .......... .......... 104M 550K .......... .......... .......... .......... .......... 87.5M 600K .......... .......... .......... .......... .......... 18.2M 650K .......... .......... .......... .......... .......... 103M 700K .......... .......... .......... .......... .......... 12.9M 750K .......... .......... .......... .......... .......... 106M 800K .......... .......... .......... .......... .......... 49.1M 850K .......... .......... .......... .......... .......... 9.78M 900K .......... .......... .......... .......... .......... 100M 950K .......... .......... .......... .......... .......... 106M 1000K .......... .......... .......... .......... .......... 90.9M 1050K .......... .......... .......... .......... .......... 110M 1100K .......... .......... .......... .......... .......... 13.8M 1150K .......... .......... .......... .......... .......... 103M 1200K .......... .......... .......... .......... .......... 95.6M 1250K .......... .......... .......... .......... .......... 22.4M 1300K .......... .......... .......... .......... .......... 73.4M 1350K .......... .......... .......... .......... .......... 28.3M 1400K .......... .......... .......... .......... .......... 31.3M 1450K .......... .......... .......... .......... .......... 20.8M 1500K .......... .......... .......... .......... .......... 48.8M 1550K .......... .......... .......... .......... .......... 35.7M 1600K .......... .......... .......... .......... .......... 11.2M 1650K .......... .......... .......... .......... .......... 92.2M 1700K .......... .......... .......... .......... .......... 47.1M 1750K .......... .......... .......... .......... .......... 7.63M 1800K .......... .......... .......... .......... .......... 97.4M 1850K .......... .......... .......... .......... .......... 99.9M 1900K .......... .......... .......... .......... .......... 87.4M 1950K .......... .......... .......... .......... .......... 33.7M 2000K .......... .......... .......... .......... .......... 30.4M 2050K .......... .......... .......... .......... .......... 7.82M 2100K .......... .......... .......... .......... .......... 5.52M 2150K .......... .......... .......... .......... .......... 44.6M 2200K .......... .......... .......... .......... .......... 97.2M 2250K .......... .......... .......... .......... .......... 19.8M 2300K .......... .......... .......... .......... .......... 37.2M 2350K .......... .......... .......... .......... .......... 16.9M 2400K .......... .......... .......... .......... .......... 13.3M 2450K .......... .......... .......... .......... .......... 107M 2500K .......... .......... .......... .......... .......... 72.9M 2550K .......... .......... .......... .......... .......... 14.2M 2600K .......... .......... .......... .......... .......... 34.7M 2650K .......... .......... .......... .......... .......... 23.8M 2700K .......... .......... .......... .......... .......... 104M 2750K .......... .......... .......... .......... .......... 26.8M 2800K .......... .......... .......... .......... .......... 21.0M 2850K .......... .......... .......... .......... .......... 36.2M 2900K .......... .......... .......... .......... .......... 21.8M 2950K .......... .......... .......... .......... .......... 38.4M 3000K .......... .......... .......... .......... .......... 65.5M 3050K .......... .......... .......... .......... .......... 21.5M 3100K .......... .......... .......... .......... .......... 38.6M 3150K .......... .......... .......... .......... .......... 7.74M 3200K .......... .......... .......... .......... .......... 105M 3250K .......... .......... .......... .......... .......... 83.1M 3300K .......... .......... .......... .......... .......... 97.3M 3350K .......... .......... .......... .......... .......... 114M 3400K .......... .......... .......... .......... .......... 32.6M 3450K .......... .......... .......... .......... .......... 37.4M 3500K .......... .......... .......... .......... .......... 97.8M 3550K .......... .......... .......... .......... .......... 17.4M 3600K .......... .......... .......... .......... .......... 26.5M 3650K .......... .......... .......... .......... .......... 17.0M 3700K .......... .......... .......... .......... .......... 163M 3750K .......... .......... .......... .......... .......... 11.8M 3800K .......... .......... .......... .......... .......... 144M 3850K .......... .......... .......... .......... .......... 38.4M 3900K .......... .......... .......... .......... .......... 30.0M 3950K .......... .......... .......... .......... .......... 27.6M 4000K .......... .......... .......... .......... .......... 23.2M 4050K .......... .......... .......... .......... .......... 41.9M 4100K .......... .......... .......... .......... .......... 8.13M 4150K .......... .......... .......... .......... .......... 6.42M 4200K .......... .......... .......... .......... .......... 18.6M 4250K .......... .......... .......... .......... .......... 22.4M 4300K .......... .......... .......... .......... .......... 80.2M 4350K .......... .......... .......... .......... .......... 40.1M 4400K .......... .......... .......... .......... .......... 15.8M 4450K .......... .......... .......... .......... .......... 19.0M 4500K .......... .......... .......... .......... .......... 34.6M 4550K .......... .......... .......... .......... .......... 6.93M 4600K .......... .......... .......... .......... .......... 73.1M 4650K .......... .......... .......... .......... .......... 111M 4700K .......... .......... .......... .......... .......... 105M 4750K .......... .......... .......... .......... .......... 87.3M 4800K .......... .......... .......... .......... .......... 22.2M 4850K .......... .......... .......... .......... .......... 83.8M 4900K .......... .......... .......... .......... .......... 20.7M 4950K .......... .......... .......... .......... .......... 10.7M 5000K .......... .......... .......... .......... .......... 10.6M 5050K .......... .......... .......... .......... .......... 10.9M 5100K .......... .......... .......... .......... .......... 75.5M 5150K .......... .......... .......... .......... .......... 3.33M 5200K .......... .......... .......... .......... .......... 13.1M 5250K .......... .......... .......... .......... .......... 112M 5300K .......... .......... .......... .......... .......... 6.18M 5350K .......... .......... .......... .......... .......... 12.3M 5400K .......... .......... .......... .......... .......... 5.88M 5450K .......... .......... .......... .......... .......... 4.20M 5500K .......... .......... .......... .......... .......... 12.6M 5550K .......... .......... .......... .......... .......... 6.09M 5600K .......... .......... .......... .......... .......... 6.17M 5650K .......... .......... .......... .......... .......... 6.10M 5700K .......... .......... .......... .......... .......... 95.4M 5750K .......... .......... .......... .......... .......... 77.9M 5800K .......... .......... .......... .......... .......... 6.88M 5850K .......... .......... .......... .......... .......... 77.8M 5900K .......... .......... .......... .......... .......... 107M 5950K .......... .......... .......... .......... .......... 83.1M 6000K .......... .......... .......... .......... .......... 96.7M 6050K .......... .......... .......... .......... .......... 10.2M 6100K .......... .......... .......... .......... .......... 86.0M 6150K .......... .......... .......... .......... .......... 85.5M 6200K .......... .......... .......... .......... .......... 117M 6250K .......... .......... .......... .......... .......... 13.8M 6300K .......... .......... .......... .......... .......... 82.0M 6350K .......... .......... .......... .......... .......... 87.7M 6400K .......... .......... .......... .......... .......... 6.84M 6450K .......... .......... .......... .......... .......... 94.3M 6500K .......... .......... .......... .......... .......... 97.1M 6550K .......... .......... .......... .......... .......... 93.0M 6600K .......... .......... .......... .......... .......... 104M 6650K .......... .......... .......... .......... 7.01M=0.3s 2021-07-31 01:16:40 (19.7 MB/s) - '/tmp/instance-31/output-1/build/.swupdate-2021.04.tar.gz.esLXbg/output' saved [6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-31/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-31/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-31/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-31/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-31/output-1/build/swupdate-2021.04' 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 '/tmp/instance-31/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-31/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-31/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-31/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-31/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-31/output-1/host/bin:/tmp/instance-31/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-31/output-1/host/bin/arm-linux-gcc" LD="/tmp/instance-31/output-1/host/bin/arm-linux-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=y HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=n HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=n HAVE_LUA=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_MBEDTLS=n HAVE_P11KIT=n HAVE_LIBUBOOTENV=n HAVE_WOLFSSL=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y HAVE_ZSTD=n /usr/bin/make -j32 CROSS_COMPILE="/tmp/instance-31/output-1/host/bin/arm-linux-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static" CONFIG_EXTRA_LDFLAGS=" -static" -C /tmp/instance-31/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-31/output-1/build/swupdate-2021.04' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CC ipc/network_ipc.o CC core/swupdate.o CC ipc/network_ipc-if.o CC handlers/dummy_handler.o CC ipc/progress_ipc.o CC handlers/raw_handler.o CC core/cpio_utils.o CC corelib/parsing_library_libconfig.o CC core/notifier.o CC core/handler.o CC core/install_from_file.o CC core/util.o CC core/parser.o CC mongoose/mongoose.o CC corelib/swupdate_settings.o CC parser/parse_external.o CC core/pctl.o CC core/state.o CC mongoose/mongoose_interface.o CC core/syslog.o CC bootloader/none.o CC parser/parser.o AR suricatta/lib.a AR fs/lib.a CC tools/swupdate-client.o CC tools/swupdate-hawkbitcfg.o CC core/installer.o CC tools/swupdate-progress.o CC core/network_thread.o CC tools/swupdate-sendtohawkbit.o CC core/stream_interface.o CC core/progress_thread.o In file included from core/util.c:33: core/util.c: In function 'check_free_space': include/util.h:91:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 91 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu In file included from core/util.c:33: include/util.h:98:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 98 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu In file included from core/util.c:33: include/util.h:102:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 102 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu CC core/parsing_library.o CC core/artifacts_versions.o CC core/swupdate_dict.o CC tools/swupdate-sysrestart.o CC core/semver.o CC core/strlcpy.o LD ipc/built-in.o LD handlers/built-in.o AR bootloader/lib.a tools/swupdate-sysrestart.c:264:2: warning: #warning "swupdate-sysrestart needs libcurl, replaced with dummy" [-Wcpp] 264 | #warning "swupdate-sysrestart needs libcurl, replaced with dummy" | ^~~~~~~ LD libswupdate.so.0.1 AR corelib/lib.a AR tools/lib.a LD core/built-in.o Failed: Output of: /tmp/instance-31/output-1/host/bin/arm-linux-gcc -shared -Wl,-soname,libswupdate.so.0.1 -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 -static -o libswupdate.so.0.1 -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group -static -L/tmp/instance-31/output-1/build/swupdate-2021.04 ipc/built-in.o -Wl,--end-group ========== /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/instance-31/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': __uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x164): undefined reference to `__fini_array_start' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/instance-31/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_main': __uClibc_main.c:(.text+0x568): undefined reference to `__preinit_array_start' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x56c): undefined reference to `__preinit_array_end' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x574): undefined reference to `__init_array_start' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x578): undefined reference to `__init_array_end' /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: libswupdate.so.0.1: hidden symbol `__fini_array_end' isn't defined /tmp/instance-31/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile:448: libswupdate.so.0.1] Error 1 make[1]: *** Waiting for unfinished jobs.... AR parser/lib.a AR mongoose/lib.a make[1]: Leaving directory '/tmp/instance-31/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-31/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-31/buildroot'