>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-0/output-1/build/.swupdate-2021.04.tar.gz.VIMP5l/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 15:00:15-- 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-30 15:00:15-- 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-0/output-1/build/.swupdate-2021.04.tar.gz.VIMP5l/output' 0K .......... .......... .......... .......... .......... 0% 18.9M 0s 50K .......... .......... .......... .......... .......... 1% 16.4M 0s 100K .......... .......... .......... .......... .......... 2% 22.3M 0s 150K .......... .......... .......... .......... .......... 2% 18.4M 0s 200K .......... .......... .......... .......... .......... 3% 24.3M 0s 250K .......... .......... .......... .......... .......... 4% 23.9M 0s 300K .......... .......... .......... .......... .......... 5% 26.4M 0s 350K .......... .......... .......... .......... .......... 5% 18.4M 0s 400K .......... .......... .......... .......... .......... 6% 22.5M 0s 450K .......... .......... .......... .......... .......... 7% 36.7M 0s 500K .......... .......... .......... .......... .......... 8% 37.6M 0s 550K .......... .......... .......... .......... .......... 8% 36.0M 0s 600K .......... .......... .......... .......... .......... 9% 27.0M 0s 650K .......... .......... .......... .......... .......... 10% 36.1M 0s 700K .......... .......... .......... .......... .......... 11% 37.4M 0s 750K .......... .......... .......... .......... .......... 11% 75.3M 0s 800K .......... .......... .......... .......... .......... 12% 39.6M 0s 850K .......... .......... .......... .......... .......... 13% 42.5M 0s 900K .......... .......... .......... .......... .......... 14% 53.6M 0s 950K .......... .......... .......... .......... .......... 14% 58.1M 0s 1000K .......... .......... .......... .......... .......... 15% 46.1M 0s 1050K .......... .......... .......... .......... .......... 16% 38.3M 0s 1100K .......... .......... .......... .......... .......... 17% 74.4M 0s 1150K .......... .......... .......... .......... .......... 17% 42.0M 0s 1200K .......... .......... .......... .......... .......... 18% 62.7M 0s 1250K .......... .......... .......... .......... .......... 19% 40.7M 0s 1300K .......... .......... .......... .......... .......... 20% 69.9M 0s 1350K .......... .......... .......... .......... .......... 20% 42.2M 0s 1400K .......... .......... .......... .......... .......... 21% 177M 0s 1450K .......... .......... .......... .......... .......... 22% 42.2M 0s 1500K .......... .......... .......... .......... .......... 23% 95.4M 0s 1550K .......... .......... .......... .......... .......... 23% 54.4M 0s 1600K .......... .......... .......... .......... .......... 24% 45.6M 0s 1650K .......... .......... .......... .......... .......... 25% 186M 0s 1700K .......... .......... .......... .......... .......... 26% 75.6M 0s 1750K .......... .......... .......... .......... .......... 26% 78.0M 0s 1800K .......... .......... .......... .......... .......... 27% 48.3M 0s 1850K .......... .......... .......... .......... .......... 28% 173M 0s 1900K .......... .......... .......... .......... .......... 29% 50.8M 0s 1950K .......... .......... .......... .......... .......... 29% 83.7M 0s 2000K .......... .......... .......... .......... .......... 30% 70.4M 0s 2050K .......... .......... .......... .......... .......... 31% 88.9M 0s 2100K .......... .......... .......... .......... .......... 32% 73.8M 0s 2150K .......... .......... .......... .......... .......... 32% 179M 0s 2200K .......... .......... .......... .......... .......... 33% 97.8M 0s 2250K .......... .......... .......... .......... .......... 34% 80.9M 0s 2300K .......... .......... .......... .......... .......... 35% 73.4M 0s 2350K .......... .......... .......... .......... .......... 35% 85.9M 0s 2400K .......... .......... .......... .......... .......... 36% 1.90M 0s 2450K .......... .......... .......... .......... .......... 37% 38.4M 0s 2500K .......... .......... .......... .......... .......... 38% 143M 0s 2550K .......... .......... .......... .......... .......... 38% 162M 0s 2600K .......... .......... .......... .......... .......... 39% 62.7M 0s 2650K .......... .......... .......... .......... .......... 40% 91.0M 0s 2700K .......... .......... .......... .......... .......... 41% 65.7M 0s 2750K .......... .......... .......... .......... .......... 41% 385M 0s 2800K .......... .......... .......... .......... .......... 42% 114M 0s 2850K .......... .......... .......... .......... .......... 43% 56.6M 0s 2900K .......... .......... .......... .......... .......... 44% 117M 0s 2950K .......... .......... .......... .......... .......... 44% 177M 0s 3000K .......... .......... .......... .......... .......... 45% 94.7M 0s 3050K .......... .......... .......... .......... .......... 46% 92.2M 0s 3100K .......... .......... .......... .......... .......... 47% 203M 0s 3150K .......... .......... .......... .......... .......... 47% 47.7M 0s 3200K .......... .......... .......... .......... .......... 48% 192M 0s 3250K .......... .......... .......... .......... .......... 49% 235M 0s 3300K .......... .......... .......... .......... .......... 50% 208M 0s 3350K .......... .......... .......... .......... .......... 50% 49.7M 0s 3400K .......... .......... .......... .......... .......... 51% 174M 0s 3450K .......... .......... .......... .......... .......... 52% 70.4M 0s 3500K .......... .......... .......... .......... .......... 53% 181M 0s 3550K .......... .......... .......... .......... .......... 53% 230M 0s 3600K .......... .......... .......... .......... .......... 54% 278M 0s 3650K .......... .......... .......... .......... .......... 55% 64.9M 0s 3700K .......... .......... .......... .......... .......... 56% 227M 0s 3750K .......... .......... .......... .......... .......... 56% 134M 0s 3800K .......... .......... .......... .......... .......... 57% 751K 0s 3850K .......... .......... .......... .......... .......... 58% 121M 0s 3900K .......... .......... .......... .......... .......... 59% 183M 0s 3950K .......... .......... .......... .......... .......... 59% 284M 0s 4000K .......... .......... .......... .......... .......... 60% 74.9M 0s 4050K .......... .......... .......... .......... .......... 61% 133M 0s 4100K .......... .......... .......... .......... .......... 62% 301M 0s 4150K .......... .......... .......... .......... .......... 62% 390M 0s 4200K .......... .......... .......... .......... .......... 63% 71.2M 0s 4250K .......... .......... .......... .......... .......... 64% 161M 0s 4300K .......... .......... .......... .......... .......... 65% 245M 0s 4350K .......... .......... .......... .......... .......... 65% 413M 0s 4400K .......... .......... .......... .......... .......... 66% 81.0M 0s 4450K .......... .......... .......... .......... .......... 67% 161M 0s 4500K .......... .......... .......... .......... .......... 68% 277M 0s 4550K .......... .......... .......... .......... .......... 68% 234M 0s 4600K .......... .......... .......... .......... .......... 69% 76.0M 0s 4650K .......... .......... .......... .......... .......... 70% 213M 0s 4700K .......... .......... .......... .......... .......... 70% 360M 0s 4750K .......... .......... .......... .......... .......... 71% 321M 0s 4800K .......... .......... .......... .......... .......... 72% 203M 0s 4850K .......... .......... .......... .......... .......... 73% 88.4M 0s 4900K .......... .......... .......... .......... .......... 73% 191M 0s 4950K .......... .......... .......... .......... .......... 74% 365M 0s 5000K .......... .......... .......... .......... .......... 75% 366M 0s 5050K .......... .......... .......... .......... .......... 76% 242M 0s 5100K .......... .......... .......... .......... .......... 76% 81.4M 0s 5150K .......... .......... .......... .......... .......... 77% 211M 0s 5200K .......... .......... .......... .......... .......... 78% 289M 0s 5250K .......... .......... .......... .......... .......... 79% 399M 0s 5300K .......... .......... .......... .......... .......... 79% 245M 0s 5350K .......... .......... .......... .......... .......... 80% 79.9M 0s 5400K .......... .......... .......... .......... .......... 81% 173M 0s 5450K .......... .......... .......... .......... .......... 82% 396M 0s 5500K .......... .......... .......... .......... .......... 82% 339M 0s 5550K .......... .......... .......... .......... .......... 83% 330M 0s 5600K .......... .......... .......... .......... .......... 84% 70.1M 0s 5650K .......... .......... .......... .......... .......... 85% 273M 0s 5700K .......... .......... .......... .......... .......... 85% 392M 0s 5750K .......... .......... .......... .......... .......... 86% 341M 0s 5800K .......... .......... .......... .......... .......... 87% 227M 0s 5850K .......... .......... .......... .......... .......... 88% 81.5M 0s 5900K .......... .......... .......... .......... .......... 88% 327M 0s 5950K .......... .......... .......... .......... .......... 89% 285M 0s 6000K .......... .......... .......... .......... .......... 90% 298M 0s 6050K .......... .......... .......... .......... .......... 91% 292M 0s 6100K .......... .......... .......... .......... .......... 91% 279M 0s 6150K .......... .......... .......... .......... .......... 92% 105M 0s 6200K .......... .......... .......... .......... .......... 93% 29.0M 0s 6250K .......... .......... .......... .......... .......... 94% 318M 0s 6300K .......... .......... .......... .......... .......... 94% 771K 0s 6350K .......... .......... .......... .......... .......... 95% 189M 0s 6400K .......... .......... .......... .......... .......... 96% 256M 0s 6450K .......... .......... .......... .......... .......... 97% 367M 0s 6500K .......... .......... .......... .......... .......... 97% 323M 0s 6550K .......... .......... .......... .......... .......... 98% 213M 0s 6600K .......... .......... .......... .......... .......... 99% 92.4M 0s 6650K .......... .......... .......... .......... 100% 397M=0.2s 2021-07-30 15:00:15 (27.0 MB/s) - '/tmp/instance-0/output-1/build/.swupdate-2021.04.tar.gz.VIMP5l/output' saved [6851471/6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-0/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-0/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-0/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-0/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-0/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-0/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-0/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-0/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-0/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-0/output-1/host/bin/powerpc-linux-gcc" LD="/tmp/instance-0/output-1/host/bin/powerpc-linux-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=n HAVE_LIBCURL=y HAVE_LIBGPIOD=y 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-0/output-1/host/bin/powerpc-linux-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static" CONFIG_EXTRA_LDFLAGS=" -static" -C /tmp/instance-0/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-0/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 handlers/dummy_handler.o CC ipc/network_ipc-if.o AR corelib/lib.a CC handlers/raw_handler.o CC core/cpio_utils.o CC mongoose/mongoose.o CC ipc/progress_ipc.o CC core/notifier.o AR suricatta/lib.a CC parser/parse_external.o CC mongoose/mongoose_interface.o CC core/handler.o CC bootloader/none.o AR fs/lib.a CC parser/parser.o 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 tools/swupdate-client.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 CC tools/swupdate-hawkbitcfg.o CC tools/swupdate-progress.o CC tools/swupdate-sendtohawkbit.o CC tools/swupdate-sysrestart.o 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 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 parser/lib.a LD ipc/built-in.o LD handlers/built-in.o LD libswupdate.so.0.1 AR tools/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-0/output-1/host/bin/powerpc-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 -O2 -g0 -static -static -L/tmp/instance-0/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-0/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group make[1]: *** [Makefile:467: tools/swupdate-sendtohawkbit] Error 1 make[1]: *** Waiting for unfinished jobs.... Output of: /tmp/instance-0/output-1/host/bin/powerpc-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 -O2 -g0 -static -static -L/tmp/instance-0/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-0/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:467: tools/swupdate-sysrestart] Error 1 Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-0/output-1/host/bin/powerpc-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 -O2 -g0 -static -static -L/tmp/instance-0/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-0/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group make[1]: *** [Makefile:467: tools/swupdate-progress] Error 1 Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-0/output-1/host/bin/powerpc-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 -O2 -g0 -static -static -L/tmp/instance-0/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-0/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status Output of: /tmp/instance-0/output-1/host/bin/powerpc-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 -O2 -g0 -static -static -L/tmp/instance-0/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 -lz -l:libswupdate.so.0.1 -Wl,--end-group ========== /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: attempted static link of dynamic object `/tmp/instance-0/output-1/build/swupdate-2021.04/libswupdate.so.0.1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:467: tools/swupdate-client] Error 1 make[1]: *** [Makefile:467: tools/swupdate-hawkbitcfg] Error 1 make[1]: Leaving directory '/tmp/instance-0/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'