>>> 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.SYvjdN/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 13:39:00-- 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-30 13:39:00-- 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: 6851471 (6.5M) [application/x-gzip] Saving to: '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.SYvjdN/output' 0K .......... .......... .......... .......... .......... 0% 3.00M 2s 50K .......... .......... .......... .......... .......... 1% 6.02M 2s 100K .......... .......... .......... .......... .......... 2% 101M 1s 150K .......... .......... .......... .......... .......... 2% 6.40M 1s 200K .......... .......... .......... .......... .......... 3% 27.7M 1s 250K .......... .......... .......... .......... .......... 4% 144M 1s 300K .......... .......... .......... .......... .......... 5% 153M 1s 350K .......... .......... .......... .......... .......... 5% 350K 3s 400K .......... .......... .......... .......... .......... 6% 134M 2s 450K .......... .......... .......... .......... .......... 7% 234M 2s 500K .......... .......... .......... .......... .......... 8% 319M 2s 550K .......... .......... .......... .......... .......... 8% 313M 2s 600K .......... .......... .......... .......... .......... 9% 275M 2s 650K .......... .......... .......... .......... .......... 10% 318M 2s 700K .......... .......... .......... .......... .......... 11% 304M 1s 750K .......... .......... .......... .......... .......... 11% 297M 1s 800K .......... .......... .......... .......... .......... 12% 270M 1s 850K .......... .......... .......... .......... .......... 13% 295M 1s 900K .......... .......... .......... .......... .......... 14% 281M 1s 950K .......... .......... .......... .......... .......... 14% 294M 1s 1000K .......... .......... .......... .......... .......... 15% 262M 1s 1050K .......... .......... .......... .......... .......... 16% 278M 1s 1100K .......... .......... .......... .......... .......... 17% 271M 1s 1150K .......... .......... .......... .......... .......... 17% 280M 1s 1200K .......... .......... .......... .......... .......... 18% 245M 1s 1250K .......... .......... .......... .......... .......... 19% 281M 1s 1300K .......... .......... .......... .......... .......... 20% 270M 1s 1350K .......... .......... .......... .......... .......... 20% 261M 1s 1400K .......... .......... .......... .......... .......... 21% 236M 1s 1450K .......... .......... .......... .......... .......... 22% 282M 1s 1500K .......... .......... .......... .......... .......... 23% 887K 1s 1550K .......... .......... .......... .......... .......... 23% 355M 1s 1600K .......... .......... .......... .......... .......... 24% 310M 1s 1650K .......... .......... .......... .......... .......... 25% 325M 1s 1700K .......... .......... .......... .......... .......... 26% 288M 1s 1750K .......... .......... .......... .......... .......... 26% 309M 1s 1800K .......... .......... .......... .......... .......... 27% 67.0M 1s 1850K .......... .......... .......... .......... .......... 28% 217M 1s 1900K .......... .......... .......... .......... .......... 29% 272M 1s 1950K .......... .......... .......... .......... .......... 29% 217M 1s 2000K .......... .......... .......... .......... .......... 30% 258M 1s 2050K .......... .......... .......... .......... .......... 31% 375M 1s 2100K .......... .......... .......... .......... .......... 32% 380M 1s 2150K .......... .......... .......... .......... .......... 32% 343M 0s 2200K .......... .......... .......... .......... .......... 33% 168M 0s 2250K .......... .......... .......... .......... .......... 34% 154M 0s 2300K .......... .......... .......... .......... .......... 35% 158M 0s 2350K .......... .......... .......... .......... .......... 35% 152M 0s 2400K .......... .......... .......... .......... .......... 36% 161M 0s 2450K .......... .......... .......... .......... .......... 37% 153M 0s 2500K .......... .......... .......... .......... .......... 38% 163M 0s 2550K .......... .......... .......... .......... .......... 38% 165M 0s 2600K .......... .......... .......... .......... .......... 39% 387M 0s 2650K .......... .......... .......... .......... .......... 40% 343M 0s 2700K .......... .......... .......... .......... .......... 41% 380M 0s 2750K .......... .......... .......... .......... .......... 41% 347M 0s 2800K .......... .......... .......... .......... .......... 42% 379M 0s 2850K .......... .......... .......... .......... .......... 43% 317M 0s 2900K .......... .......... .......... .......... .......... 44% 362M 0s 2950K .......... .......... .......... .......... .......... 44% 356M 0s 3000K .......... .......... .......... .......... .......... 45% 295M 0s 3050K .......... .......... .......... .......... .......... 46% 115M 0s 3100K .......... .......... .......... .......... .......... 47% 107M 0s 3150K .......... .......... .......... .......... .......... 47% 141M 0s 3200K .......... .......... .......... .......... .......... 48% 206M 0s 3250K .......... .......... .......... .......... .......... 49% 306M 0s 3300K .......... .......... .......... .......... .......... 50% 175M 0s 3350K .......... .......... .......... .......... .......... 50% 377M 0s 3400K .......... .......... .......... .......... .......... 51% 358M 0s 3450K .......... .......... .......... .......... .......... 52% 277M 0s 3500K .......... .......... .......... .......... .......... 53% 338M 0s 3550K .......... .......... .......... .......... .......... 53% 318M 0s 3600K .......... .......... .......... .......... .......... 54% 206M 0s 3650K .......... .......... .......... .......... .......... 55% 166M 0s 3700K .......... .......... .......... .......... .......... 56% 155M 0s 3750K .......... .......... .......... .......... .......... 56% 149M 0s 3800K .......... .......... .......... .......... .......... 57% 360M 0s 3850K .......... .......... .......... .......... .......... 58% 1.90M 0s 3900K .......... .......... .......... .......... .......... 59% 339M 0s 3950K .......... .......... .......... .......... .......... 59% 390M 0s 4000K .......... .......... .......... .......... .......... 60% 394M 0s 4050K .......... .......... .......... .......... .......... 61% 393M 0s 4100K .......... .......... .......... .......... .......... 62% 303M 0s 4150K .......... .......... .......... .......... .......... 62% 325M 0s 4200K .......... .......... .......... .......... .......... 63% 351M 0s 4250K .......... .......... .......... .......... .......... 64% 336M 0s 4300K .......... .......... .......... .......... .......... 65% 165M 0s 4350K .......... .......... .......... .......... .......... 65% 94.9M 0s 4400K .......... .......... .......... .......... .......... 66% 161M 0s 4450K .......... .......... .......... .......... .......... 67% 282M 0s 4500K .......... .......... .......... .......... .......... 68% 294M 0s 4550K .......... .......... .......... .......... .......... 68% 257M 0s 4600K .......... .......... .......... .......... .......... 69% 158M 0s 4650K .......... .......... .......... .......... .......... 70% 160M 0s 4700K .......... .......... .......... .......... .......... 70% 155M 0s 4750K .......... .......... .......... .......... .......... 71% 160M 0s 4800K .......... .......... .......... .......... .......... 72% 163M 0s 4850K .......... .......... .......... .......... .......... 73% 161M 0s 4900K .......... .......... .......... .......... .......... 73% 165M 0s 4950K .......... .......... .......... .......... .......... 74% 40.9M 0s 5000K .......... .......... .......... .......... .......... 75% 91.5M 0s 5050K .......... .......... .......... .......... .......... 76% 215M 0s 5100K .......... .......... .......... .......... .......... 76% 344M 0s 5150K .......... .......... .......... .......... .......... 77% 1.56M 0s 5200K .......... .......... .......... .......... .......... 78% 338M 0s 5250K .......... .......... .......... .......... .......... 79% 369M 0s 5300K .......... .......... .......... .......... .......... 79% 312M 0s 5350K .......... .......... .......... .......... .......... 80% 349M 0s 5400K .......... .......... .......... .......... .......... 81% 379M 0s 5450K .......... .......... .......... .......... .......... 82% 333M 0s 5500K .......... .......... .......... .......... .......... 82% 304M 0s 5550K .......... .......... .......... .......... .......... 83% 3.43M 0s 5600K .......... .......... .......... .......... .......... 84% 281M 0s 5650K .......... .......... .......... .......... .......... 85% 234M 0s 5700K .......... .......... .......... .......... .......... 85% 293M 0s 5750K .......... .......... .......... .......... .......... 86% 287M 0s 5800K .......... .......... .......... .......... .......... 87% 309M 0s 5850K .......... .......... .......... .......... .......... 88% 273M 0s 5900K .......... .......... .......... .......... .......... 88% 6.39M 0s 5950K .......... .......... .......... .......... .......... 89% 159M 0s 6000K .......... .......... .......... .......... .......... 90% 81.3M 0s 6050K .......... .......... .......... .......... .......... 91% 287M 0s 6100K .......... .......... .......... .......... .......... 91% 350M 0s 6150K .......... .......... .......... .......... .......... 92% 336M 0s 6200K .......... .......... .......... .......... .......... 93% 352M 0s 6250K .......... .......... .......... .......... .......... 94% 270M 0s 6300K .......... .......... .......... .......... .......... 94% 351M 0s 6350K .......... .......... .......... .......... .......... 95% 363M 0s 6400K .......... .......... .......... .......... .......... 96% 5.23M 0s 6450K .......... .......... .......... .......... .......... 97% 317M 0s 6500K .......... .......... .......... .......... .......... 97% 353M 0s 6550K .......... .......... .......... .......... .......... 98% 383M 0s 6600K .......... .......... .......... .......... .......... 99% 366M 0s 6650K .......... .......... .......... .......... 100% 336M=0.3s 2021-07-30 13:39:00 (18.7 MB/s) - '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.SYvjdN/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/xtensa-linux-gcc" LD="/tmp/instance-7/output-1/host/bin/xtensa-linux-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n 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=n /usr/bin/make -j96 CROSS_COMPILE="/tmp/instance-7/output-1/host/bin/xtensa-linux-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -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 core/swupdate.o CC corelib/parsing_library_libconfig.o CC core/cpio_utils.o CC ipc/network_ipc-if.o CC mongoose/mongoose.o CC handlers/dummy_handler.o CC core/notifier.o CC corelib/swupdate_settings.o CC ipc/progress_ipc.o CC parser/parse_external.o AR suricatta/lib.a CC core/handler.o CC mongoose/mongoose_interface.o CC handlers/raw_handler.o CC parser/parser.o CC bootloader/none.o AR fs/lib.a CC core/install_from_file.o CC core/util.o CC tools/swupdate-client.o CC core/parser.o CC tools/swupdate-hawkbitcfg.o CC core/pctl.o CC tools/swupdate-progress.o CC core/state.o CC tools/swupdate-sendtohawkbit.o CC tools/swupdate-sysrestart.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 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" | ^~~~~~~ AR bootloader/lib.a 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 LD libswupdate.so.0.1 mongoose/mongoose.c:6385:6: warning: no previous prototype for 'mg_http_handler' [-Wmissing-prototypes] 6385 | void mg_http_handler(struct mg_connection *nc, int ev, | ^~~~~~~~~~~~~~~ AR tools/lib.a LD handlers/built-in.o AR parser/lib.a LD core/built-in.o AR mongoose/lib.a LD swupdate_unstripped LD tools/swupdate-sendtohawkbit LD tools/swupdate-hawkbitcfg LD tools/swupdate-client LD tools/swupdate-sysrestart LD tools/swupdate-progress Failed: -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group Failed: -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group Failed: -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-7/output-1/host/bin/xtensa-linux-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 -mlongcalls -mauto-litpools -O2 -g0 -static -static -L/tmp/instance-7/output-1/build/swupdate-2021.04 -o tools/swupdate-sysrestart -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group tools/swupdate-sysrestart.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-7/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Failed: -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-7/output-1/host/bin/xtensa-linux-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 -mlongcalls -mauto-litpools -O2 -g0 -static -static -L/tmp/instance-7/output-1/build/swupdate-2021.04 -o tools/swupdate-progress -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group tools/swupdate-progress.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-7/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Failed: -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group make[1]: *** [Makefile:467: tools/swupdate-sysrestart] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:467: tools/swupdate-progress] Error 1 Output of: /tmp/instance-7/output-1/host/bin/xtensa-linux-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 -mlongcalls -mauto-litpools -O2 -g0 -static -static -L/tmp/instance-7/output-1/build/swupdate-2021.04 -o tools/swupdate-hawkbitcfg -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group tools/swupdate-hawkbitcfg.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-7/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Output of: /tmp/instance-7/output-1/host/bin/xtensa-linux-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 -mlongcalls -mauto-litpools -O2 -g0 -static -static -L/tmp/instance-7/output-1/build/swupdate-2021.04 -o tools/swupdate-client -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group tools/swupdate-client.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-7/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:467: tools/swupdate-hawkbitcfg] Error 1 make[1]: *** [Makefile:467: tools/swupdate-client] Error 1 Output of: /tmp/instance-7/output-1/host/bin/xtensa-linux-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 -mlongcalls -mauto-litpools -O2 -g0 -static -static -L/tmp/instance-7/output-1/build/swupdate-2021.04 -o tools/swupdate-sendtohawkbit -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group tools/swupdate-sendtohawkbit.o corelib/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a fs/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lconfig -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-7/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-7/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:467: tools/swupdate-sendtohawkbit] Error 1 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'