>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.iOVgHV/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-31 01:54:07-- https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.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/2021.04 [following] --2021-07-31 01:54:07-- https://codeload.github.com/sbabic/swupdate/tar.gz/2021.04 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6851471 (6.5M) [application/x-gzip] Saving to: '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.iOVgHV/output' 0K .......... .......... .......... .......... .......... 0% 16.6M 0s 50K .......... .......... .......... .......... .......... 1% 18.8M 0s 100K .......... .......... .......... .......... .......... 2% 21.8M 0s 150K .......... .......... .......... .......... .......... 2% 29.2M 0s 200K .......... .......... .......... .......... .......... 3% 21.0M 0s 250K .......... .......... .......... .......... .......... 4% 32.2M 0s 300K .......... .......... .......... .......... .......... 5% 750K 1s 350K .......... .......... .......... .......... .......... 5% 29.5M 1s 400K .......... .......... .......... .......... .......... 6% 40.7M 1s 450K .......... .......... .......... .......... .......... 7% 35.5M 1s 500K .......... .......... .......... .......... .......... 8% 40.7M 1s 550K .......... .......... .......... .......... .......... 8% 35.9M 1s 600K .......... .......... .......... .......... .......... 9% 35.5M 1s 650K .......... .......... .......... .......... .......... 10% 36.1M 1s 700K .......... .......... .......... .......... .......... 11% 38.8M 1s 750K .......... .......... .......... .......... .......... 11% 17.4M 1s 800K .......... .......... .......... .......... .......... 12% 61.4M 1s 850K .......... .......... .......... .......... .......... 13% 70.7M 1s 900K .......... .......... .......... .......... .......... 14% 89.0M 1s 950K .......... .......... .......... .......... .......... 14% 54.0M 1s 1000K .......... .......... .......... .......... .......... 15% 87.8M 1s 1050K .......... .......... .......... .......... .......... 16% 9.70M 1s 1100K .......... .......... .......... .......... .......... 17% 85.2M 0s 1150K .......... .......... .......... .......... .......... 17% 118M 0s 1200K .......... .......... .......... .......... .......... 18% 125M 0s 1250K .......... .......... .......... .......... .......... 19% 64.8M 0s 1300K .......... .......... .......... .......... .......... 20% 115M 0s 1350K .......... .......... .......... .......... .......... 20% 904K 1s 1400K .......... .......... .......... .......... .......... 21% 68.0M 1s 1450K .......... .......... .......... .......... .......... 22% 54.0M 1s 1500K .......... .......... .......... .......... .......... 23% 72.7M 1s 1550K .......... .......... .......... .......... .......... 23% 57.2M 1s 1600K .......... .......... .......... .......... .......... 24% 59.1M 1s 1650K .......... .......... .......... .......... .......... 25% 56.5M 0s 1700K .......... .......... .......... .......... .......... 26% 5.47M 0s 1750K .......... .......... .......... .......... .......... 26% 64.1M 0s 1800K .......... .......... .......... .......... .......... 27% 44.9M 0s 1850K .......... .......... .......... .......... .......... 28% 47.0M 0s 1900K .......... .......... .......... .......... .......... 29% 59.3M 0s 1950K .......... .......... .......... .......... .......... 29% 47.8M 0s 2000K .......... .......... .......... .......... .......... 30% 46.1M 0s 2050K .......... .......... .......... .......... .......... 31% 47.3M 0s 2100K .......... .......... .......... .......... .......... 32% 62.0M 0s 2150K .......... .......... .......... .......... .......... 32% 66.7M 0s 2200K .......... .......... .......... .......... .......... 33% 71.6M 0s 2250K .......... .......... .......... .......... .......... 34% 60.1M 0s 2300K .......... .......... .......... .......... .......... 35% 69.3M 0s 2350K .......... .......... .......... .......... .......... 35% 68.1M 0s 2400K .......... .......... .......... .......... .......... 36% 71.5M 0s 2450K .......... .......... .......... .......... .......... 37% 68.1M 0s 2500K .......... .......... .......... .......... .......... 38% 77.0M 0s 2550K .......... .......... .......... .......... .......... 38% 86.5M 0s 2600K .......... .......... .......... .......... .......... 39% 76.2M 0s 2650K .......... .......... .......... .......... .......... 40% 82.4M 0s 2700K .......... .......... .......... .......... .......... 41% 78.8M 0s 2750K .......... .......... .......... .......... .......... 41% 74.9M 0s 2800K .......... .......... .......... .......... .......... 42% 73.2M 0s 2850K .......... .......... .......... .......... .......... 43% 61.0M 0s 2900K .......... .......... .......... .......... .......... 44% 72.0M 0s 2950K .......... .......... .......... .......... .......... 44% 71.9M 0s 3000K .......... .......... .......... .......... .......... 45% 75.3M 0s 3050K .......... .......... .......... .......... .......... 46% 68.4M 0s 3100K .......... .......... .......... .......... .......... 47% 81.2M 0s 3150K .......... .......... .......... .......... .......... 47% 85.7M 0s 3200K .......... .......... .......... .......... .......... 48% 90.4M 0s 3250K .......... .......... .......... .......... .......... 49% 72.8M 0s 3300K .......... .......... .......... .......... .......... 50% 74.8M 0s 3350K .......... .......... .......... .......... .......... 50% 77.3M 0s 3400K .......... .......... .......... .......... .......... 51% 70.6M 0s 3450K .......... .......... .......... .......... .......... 52% 1.20M 0s 3500K .......... .......... .......... .......... .......... 53% 65.3M 0s 3550K .......... .......... .......... .......... .......... 53% 31.8M 0s 3600K .......... .......... .......... .......... .......... 54% 31.7M 0s 3650K .......... .......... .......... .......... .......... 55% 54.7M 0s 3700K .......... .......... .......... .......... .......... 56% 105M 0s 3750K .......... .......... .......... .......... .......... 56% 114M 0s 3800K .......... .......... .......... .......... .......... 57% 89.0M 0s 3850K .......... .......... .......... .......... .......... 58% 122M 0s 3900K .......... .......... .......... .......... .......... 59% 73.0M 0s 3950K .......... .......... .......... .......... .......... 59% 49.4M 0s 4000K .......... .......... .......... .......... .......... 60% 42.9M 0s 4050K .......... .......... .......... .......... .......... 61% 43.9M 0s 4100K .......... .......... .......... .......... .......... 62% 40.5M 0s 4150K .......... .......... .......... .......... .......... 62% 46.6M 0s 4200K .......... .......... .......... .......... .......... 63% 85.2M 0s 4250K .......... .......... .......... .......... .......... 64% 118M 0s 4300K .......... .......... .......... .......... .......... 65% 103M 0s 4350K .......... .......... .......... .......... .......... 65% 111M 0s 4400K .......... .......... .......... .......... .......... 66% 119M 0s 4450K .......... .......... .......... .......... .......... 67% 170M 0s 4500K .......... .......... .......... .......... .......... 68% 215M 0s 4550K .......... .......... .......... .......... .......... 68% 175M 0s 4600K .......... .......... .......... .......... .......... 69% 190M 0s 4650K .......... .......... .......... .......... .......... 70% 197M 0s 4700K .......... .......... .......... .......... .......... 70% 211M 0s 4750K .......... .......... .......... .......... .......... 71% 198M 0s 4800K .......... .......... .......... .......... .......... 72% 168M 0s 4850K .......... .......... .......... .......... .......... 73% 180M 0s 4900K .......... .......... .......... .......... .......... 73% 174M 0s 4950K .......... .......... .......... .......... .......... 74% 151M 0s 5000K .......... .......... .......... .......... .......... 75% 136M 0s 5050K .......... .......... .......... .......... .......... 76% 203M 0s 5100K .......... .......... .......... .......... .......... 76% 210M 0s 5150K .......... .......... .......... .......... .......... 77% 166M 0s 5200K .......... .......... .......... .......... .......... 78% 171M 0s 5250K .......... .......... .......... .......... .......... 79% 155M 0s 5300K .......... .......... .......... .......... .......... 79% 188M 0s 5350K .......... .......... .......... .......... .......... 80% 150M 0s 5400K .......... .......... .......... .......... .......... 81% 140M 0s 5450K .......... .......... .......... .......... .......... 82% 161M 0s 5500K .......... .......... .......... .......... .......... 82% 152M 0s 5550K .......... .......... .......... .......... .......... 83% 850K 0s 5600K .......... .......... .......... .......... .......... 84% 90.3M 0s 5650K .......... .......... .......... .......... .......... 85% 106M 0s 5700K .......... .......... .......... .......... .......... 85% 53.4M 0s 5750K .......... .......... .......... .......... .......... 86% 41.7M 0s 5800K .......... .......... .......... .......... .......... 87% 81.3M 0s 5850K .......... .......... .......... .......... .......... 88% 53.1M 0s 5900K .......... .......... .......... .......... .......... 88% 55.4M 0s 5950K .......... .......... .......... .......... .......... 89% 69.7M 0s 6000K .......... .......... .......... .......... .......... 90% 90.3M 0s 6050K .......... .......... .......... .......... .......... 91% 88.5M 0s 6100K .......... .......... .......... .......... .......... 91% 122M 0s 6150K .......... .......... .......... .......... .......... 92% 101M 0s 6200K .......... .......... .......... .......... .......... 93% 124M 0s 6250K .......... .......... .......... .......... .......... 94% 114M 0s 6300K .......... .......... .......... .......... .......... 94% 121M 0s 6350K .......... .......... .......... .......... .......... 95% 93.3M 0s 6400K .......... .......... .......... .......... .......... 96% 96.2M 0s 6450K .......... .......... .......... .......... .......... 97% 118M 0s 6500K .......... .......... .......... .......... .......... 97% 169M 0s 6550K .......... .......... .......... .......... .......... 98% 148M 0s 6600K .......... .......... .......... .......... .......... 99% 166M 0s 6650K .......... .......... .......... .......... 100% 164M=0.3s 2021-07-31 01:54:07 (19.7 MB/s) - '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.iOVgHV/output' saved [6851471/6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-7/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-7/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-7/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-7/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-7/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-7/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-7/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-7/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-7/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-7/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-7/output-1/host/bin:/tmp/instance-7/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-7/output-1/host/bin/arm-linux-gcc" LD="/tmp/instance-7/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=y 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=y HAVE_ZLIB=y HAVE_ZSTD=y /usr/bin/make -j96 CROSS_COMPILE="/tmp/instance-7/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-7/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-7/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 ipc/network_ipc-if.o CC ipc/progress_ipc.o CC core/swupdate.o CC parser/parse_external.o CC handlers/dummy_handler.o CC core/cpio_utils.o CC handlers/raw_handler.o AR suricatta/lib.a CC mongoose/mongoose.o CC corelib/parsing_library_libconfig.o CC core/notifier.o CC bootloader/none.o CC mongoose/mongoose_interface.o AR fs/lib.a CC parser/parser.o CC core/handler.o CC tools/swupdate-client.o CC core/install_from_file.o CC corelib/swupdate_settings.o CC tools/swupdate-hawkbitcfg.o CC core/util.o CC core/parser.o CC core/pctl.o CC core/state.o CC tools/swupdate-progress.o CC core/syslog.o CC tools/swupdate-sendtohawkbit.o CC tools/swupdate-sysrestart.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 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" | ^~~~~~~ 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 AR corelib/lib.a LD ipc/built-in.o AR tools/lib.a LD libswupdate.so.0.1 LD handlers/built-in.o LD core/built-in.o AR parser/lib.a Failed: Output of: /tmp/instance-7/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-7/output-1/build/swupdate-2021.04 ipc/built-in.o -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/instance-7/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-7/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-7/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-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/instance-7/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-7/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-7/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-7/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-7/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-7/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 mongoose/lib.a make[1]: Leaving directory '/tmp/instance-7/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-7/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-7/buildroot'