>>> 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.HNgCUG/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 21:17:16-- 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 21:17:16-- 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-7/output-1/build/.swupdate-2021.04.tar.gz.HNgCUG/output' 0K .......... .......... .......... .......... .......... 3.05M 50K .......... .......... .......... .......... .......... 6.38M 100K .......... .......... .......... .......... .......... 19.3M 150K .......... .......... .......... .......... .......... 8.50M 200K .......... .......... .......... .......... .......... 13.3M 250K .......... .......... .......... .......... .......... 10.1M 300K .......... .......... .......... .......... .......... 15.8M 350K .......... .......... .......... .......... .......... 10.1M 400K .......... .......... .......... .......... .......... 14.1M 450K .......... .......... .......... .......... .......... 10.5M 500K .......... .......... .......... .......... .......... 19.8M 550K .......... .......... .......... .......... .......... 14.4M 600K .......... .......... .......... .......... .......... 12.0M 650K .......... .......... .......... .......... .......... 3.26M 700K .......... .......... .......... .......... .......... 16.5M 750K .......... .......... .......... .......... .......... 14.1M 800K .......... .......... .......... .......... .......... 13.7M 850K .......... .......... .......... .......... .......... 11.5M 900K .......... .......... .......... .......... .......... 30.7M 950K .......... .......... .......... .......... .......... 16.5M 1000K .......... .......... .......... .......... .......... 10.9M 1050K .......... .......... .......... .......... .......... 23.7M 1100K .......... .......... .......... .......... .......... 10.1M 1150K .......... .......... .......... .......... .......... 29.4M 1200K .......... .......... .......... .......... .......... 24.5M 1250K .......... .......... .......... .......... .......... 11.3M 1300K .......... .......... .......... .......... .......... 29.1M 1350K .......... .......... .......... .......... .......... 17.2M 1400K .......... .......... .......... .......... .......... 14.0M 1450K .......... .......... .......... .......... .......... 21.1M 1500K .......... .......... .......... .......... .......... 22.6M 1550K .......... .......... .......... .......... .......... 29.0M 1600K .......... .......... .......... .......... .......... 14.8M 1650K .......... .......... .......... .......... .......... 16.7M 1700K .......... .......... .......... .......... .......... 27.5M 1750K .......... .......... .......... .......... .......... 15.5M 1800K .......... .......... .......... .......... .......... 23.7M 1850K .......... .......... .......... .......... .......... 18.0M 1900K .......... .......... .......... .......... .......... 20.9M 1950K .......... .......... .......... .......... .......... 20.8M 2000K .......... .......... .......... .......... .......... 24.7M 2050K .......... .......... .......... .......... .......... 13.5M 2100K .......... .......... .......... .......... .......... 58.2M 2150K .......... .......... .......... .......... .......... 24.1M 2200K .......... .......... .......... .......... .......... 26.6M 2250K .......... .......... .......... .......... .......... 14.9M 2300K .......... .......... .......... .......... .......... 21.3M 2350K .......... .......... .......... .......... .......... 25.9M 2400K .......... .......... .......... .......... .......... 47.6M 2450K .......... .......... .......... .......... .......... 17.6M 2500K .......... .......... .......... .......... .......... 39.6M 2550K .......... .......... .......... .......... .......... 21.2M 2600K .......... .......... .......... .......... .......... 60.4M 2650K .......... .......... .......... .......... .......... 23.0M 2700K .......... .......... .......... .......... .......... 22.6M 2750K .......... .......... .......... .......... .......... 18.7M 2800K .......... .......... .......... .......... .......... 26.4M 2850K .......... .......... .......... .......... .......... 42.7M 2900K .......... .......... .......... .......... .......... 21.7M 2950K .......... .......... .......... .......... .......... 18.2M 3000K .......... .......... .......... .......... .......... 47.3M 3050K .......... .......... .......... .......... .......... 26.9M 3100K .......... .......... .......... .......... .......... 43.3M 3150K .......... .......... .......... .......... .......... 23.6M 3200K .......... .......... .......... .......... .......... 25.1M 3250K .......... .......... .......... .......... .......... 25.1M 3300K .......... .......... .......... .......... .......... 25.4M 3350K .......... .......... .......... .......... .......... 37.0M 3400K .......... .......... .......... .......... .......... 58.7M 3450K .......... .......... .......... .......... .......... 24.7M 3500K .......... .......... .......... .......... .......... 24.7M 3550K .......... .......... .......... .......... .......... 25.6M 3600K .......... .......... .......... .......... .......... 36.2M 3650K .......... .......... .......... .......... .......... 59.0M 3700K .......... .......... .......... .......... .......... 25.8M 3750K .......... .......... .......... .......... .......... 23.7M 3800K .......... .......... .......... .......... .......... 26.7M 3850K .......... .......... .......... .......... .......... 35.5M 3900K .......... .......... .......... .......... .......... 35.3M 3950K .......... .......... .......... .......... .......... 38.9M 4000K .......... .......... .......... .......... .......... 19.9M 4050K .......... .......... .......... .......... .......... 32.9M 4100K .......... .......... .......... .......... .......... 73.8M 4150K .......... .......... .......... .......... .......... 50.2M 4200K .......... .......... .......... .......... .......... 32.9M 4250K .......... .......... .......... .......... .......... 16.9M 4300K .......... .......... .......... .......... .......... 50.3M 4350K .......... .......... .......... .......... .......... 45.6M 4400K .......... .......... .......... .......... .......... 31.9M 4450K .......... .......... .......... .......... .......... 81.7M 4500K .......... .......... .......... .......... .......... 49.8M 4550K .......... .......... .......... .......... .......... 17.0M 4600K .......... .......... .......... .......... .......... 46.1M 4650K .......... .......... .......... .......... .......... 43.4M 4700K .......... .......... .......... .......... .......... 46.5M 4750K .......... .......... .......... .......... .......... 105M 4800K .......... .......... .......... .......... .......... 20.7M 4850K .......... .......... .......... .......... .......... 25.9M 4900K .......... .......... .......... .......... .......... 93.0M 4950K .......... .......... .......... .......... .......... 38.6M 5000K .......... .......... .......... .......... .......... 80.5M 5050K .......... .......... .......... .......... .......... 36.7M 5100K .......... .......... .......... .......... .......... 20.5M 5150K .......... .......... .......... .......... .......... 26.6M 5200K .......... .......... .......... .......... .......... 95.6M 5250K .......... .......... .......... .......... .......... 53.8M 5300K .......... .......... .......... .......... .......... 48.9M 5350K .......... .......... .......... .......... .......... 37.1M 5400K .......... .......... .......... .......... .......... 66.9M 5450K .......... .......... .......... .......... .......... 26.7M 5500K .......... .......... .......... .......... .......... 23.8M 5550K .......... .......... .......... .......... .......... 11.0M 5600K .......... .......... .......... .......... .......... 5.32M 5650K .......... .......... .......... .......... .......... 6.92M 5700K .......... .......... .......... .......... .......... 58.1M 5750K .......... .......... .......... .......... .......... 25.7M 5800K .......... .......... .......... .......... .......... 48.1M 5850K .......... .......... .......... .......... .......... 24.7M 5900K .......... .......... .......... .......... .......... 39.9M 5950K .......... .......... .......... .......... .......... 25.9M 6000K .......... .......... .......... .......... .......... 28.3M 6050K .......... .......... .......... .......... .......... 37.0M 6100K .......... .......... .......... .......... .......... 23.2M 6150K .......... .......... .......... .......... .......... 48.7M 6200K .......... .......... .......... .......... .......... 21.5M 6250K .......... .......... .......... .......... .......... 39.9M 6300K .......... .......... .......... .......... .......... 25.7M 6350K .......... .......... .......... .......... .......... 32.9M 6400K .......... .......... .......... .......... .......... 27.9M 6450K .......... .......... .......... .......... .......... 26.7M 6500K .......... .......... .......... .......... .......... 29.4M 6550K .......... .......... .......... .......... .......... 21.4M 6600K .......... .......... .......... .......... .......... 35.7M 6650K .......... .......... .......... .......... 20.9M=0.3s 2021-07-30 21:17:17 (20.3 MB/s) - '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.HNgCUG/output' saved [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/i586-linux-gcc" LD="/tmp/instance-7/output-1/host/bin/i586-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=y /usr/bin/make -j96 CROSS_COMPILE="/tmp/instance-7/output-1/host/bin/i586-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 core/swupdate.o CC handlers/dummy_handler.o CC ipc/progress_ipc.o CC corelib/parsing_library_libconfig.o CC handlers/raw_handler.o CC mongoose/mongoose.o CC core/cpio_utils.o CC corelib/swupdate_settings.o AR suricatta/lib.a CC parser/parse_external.o CC mongoose/mongoose_interface.o CC bootloader/none.o AR fs/lib.a CC parser/parser.o CC core/notifier.o CC tools/swupdate-client.o CC core/handler.o CC core/install_from_file.o CC tools/swupdate-hawkbitcfg.o CC tools/swupdate-progress.o CC core/util.o CC core/parser.o CC tools/swupdate-sendtohawkbit.o CC core/pctl.o CC core/state.o CC core/syslog.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 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 'fsblkcnt_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 'fsblkcnt_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 'fsblkcnt_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 In file included from mongoose/mongoose_interface.c:32: mongoose/mongoose_interface.c: In function 'ev_handler': include/util.h:91:11: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:44: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld In file included from mongoose/mongoose_interface.c:32: include/util.h:91:11: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:52: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld In file included from mongoose/mongoose_interface.c:32: include/util.h:98:14: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:44: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld In file included from mongoose/mongoose_interface.c:32: include/util.h:98:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:52: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld In file included from mongoose/mongoose_interface.c:32: include/util.h:102:13: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:44: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld In file included from mongoose/mongoose_interface.c:32: include/util.h:102:13: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long 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) | ^~~~~~~~~~~~~~~ mongoose/mongoose_interface.c:387:4: note: in expansion of macro 'ERROR' 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ^~~~~ mongoose/mongoose_interface.c:387:52: note: format string is defined here 387 | ERROR("Connection lost, no data since %ld now %ld, closing...", | ~~^ | | | long int | %lld 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" | ^~~~~~~ AR corelib/lib.a LD ipc/built-in.o LD libswupdate.so.0.1 LD handlers/built-in.o AR tools/lib.a 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 Output of: /tmp/instance-7/output-1/host/bin/i586-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 -Os -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/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/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]: *** Waiting for unfinished jobs.... 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/i586-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 -Os -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/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/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/i586-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 -Os -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/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/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-hawkbitcfg] Error 1 Output of: /tmp/instance-7/output-1/host/bin/i586-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 -Os -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/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/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-progress] Error 1 Output of: /tmp/instance-7/output-1/host/bin/i586-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 -Os -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/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/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-client] Error 1 make[1]: *** [Makefile:467: tools/swupdate-sysrestart] 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'