>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-6/output-1/build/.swupdate-2021.04.tar.gz.scc4iV/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-31 09:50:12-- https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sbabic/swupdate/tar.gz/2021.04 [following] --2021-07-31 09:50:12-- 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: unspecified [application/x-gzip] Saving to: '/tmp/instance-6/output-1/build/.swupdate-2021.04.tar.gz.scc4iV/output' 0K .......... .......... .......... .......... .......... 3.06M 50K .......... .......... .......... .......... .......... 9.48M 100K .......... .......... .......... .......... .......... 4.03M 150K .......... .......... .......... .......... .......... 110M 200K .......... .......... .......... .......... .......... 117M 250K .......... .......... .......... .......... .......... 112M 300K .......... .......... .......... .......... .......... 7.99M 350K .......... .......... .......... .......... .......... 112M 400K .......... .......... .......... .......... .......... 110M 450K .......... .......... .......... .......... .......... 120M 500K .......... .......... .......... .......... .......... 105M 550K .......... .......... .......... .......... .......... 8.69M 600K .......... .......... .......... .......... .......... 80.5M 650K .......... .......... .......... .......... .......... 113M 700K .......... .......... .......... .......... .......... 110M 750K .......... .......... .......... .......... .......... 101M 800K .......... .......... .......... .......... .......... 104M 850K .......... .......... .......... .......... .......... 107M 900K .......... .......... .......... .......... .......... 33.5M 950K .......... .......... .......... .......... .......... 12.5M 1000K .......... .......... .......... .......... .......... 115M 1050K .......... .......... .......... .......... .......... 13.8M 1100K .......... .......... .......... .......... .......... 12.6M 1150K .......... .......... .......... .......... .......... 3.03M 1200K .......... .......... .......... .......... .......... 113M 1250K .......... .......... .......... .......... .......... 118M 1300K .......... .......... .......... .......... .......... 123M 1350K .......... .......... .......... .......... .......... 121M 1400K .......... .......... .......... .......... .......... 102M 1450K .......... .......... .......... .......... .......... 123M 1500K .......... .......... .......... .......... .......... 114M 1550K .......... .......... .......... .......... .......... 24.5M 1600K .......... .......... .......... .......... .......... 7.07M 1650K .......... .......... .......... .......... .......... 109M 1700K .......... .......... .......... .......... .......... 115M 1750K .......... .......... .......... .......... .......... 14.9M 1800K .......... .......... .......... .......... .......... 12.3M 1850K .......... .......... .......... .......... .......... 100M 1900K .......... .......... .......... .......... .......... 13.9M 1950K .......... .......... .......... .......... .......... 12.7M 2000K .......... .......... .......... .......... .......... 97.1M 2050K .......... .......... .......... .......... .......... 13.9M 2100K .......... .......... .......... .......... .......... 12.6M 2150K .......... .......... .......... .......... .......... 109M 2200K .......... .......... .......... .......... .......... 13.5M 2250K .......... .......... .......... .......... .......... 96.8M 2300K .......... .......... .......... .......... .......... 16.0M 2350K .......... .......... .......... .......... .......... 99.4M 2400K .......... .......... .......... .......... .......... 12.2M 2450K .......... .......... .......... .......... .......... 104M 2500K .......... .......... .......... .......... .......... 110M 2550K .......... .......... .......... .......... .......... 6.78M 2600K .......... .......... .......... .......... .......... 98.9M 2650K .......... .......... .......... .......... .......... 105M 2700K .......... .......... .......... .......... .......... 115M 2750K .......... .......... .......... .......... .......... 7.57M 2800K .......... .......... .......... .......... .......... 114M 2850K .......... .......... .......... .......... .......... 120M 2900K .......... .......... .......... .......... .......... 103M 2950K .......... .......... .......... .......... .......... 108M 3000K .......... .......... .......... .......... .......... 4.66M 3050K .......... .......... .......... .......... .......... 107M 3100K .......... .......... .......... .......... .......... 111M 3150K .......... .......... .......... .......... .......... 112M 3200K .......... .......... .......... .......... .......... 104M 3250K .......... .......... .......... .......... .......... 117M 3300K .......... .......... .......... .......... .......... 106M 3350K .......... .......... .......... .......... .......... 9.71M 3400K .......... .......... .......... .......... .......... 95.0M 3450K .......... .......... .......... .......... .......... 109M 3500K .......... .......... .......... .......... .......... 6.74M 3550K .......... .......... .......... .......... .......... 101M 3600K .......... .......... .......... .......... .......... 113M 3650K .......... .......... .......... .......... .......... 107M 3700K .......... .......... .......... .......... .......... 9.16M 3750K .......... .......... .......... .......... .......... 120M 3800K .......... .......... .......... .......... .......... 119M 3850K .......... .......... .......... .......... .......... 11.0M 3900K .......... .......... .......... .......... .......... 4.05M 3950K .......... .......... .......... .......... .......... 128M 4000K .......... .......... .......... .......... .......... 103M 4050K .......... .......... .......... .......... .......... 101M 4100K .......... .......... .......... .......... .......... 17.9M 4150K .......... .......... .......... .......... .......... 13.0M 4200K .......... .......... .......... .......... .......... 99.1M 4250K .......... .......... .......... .......... .......... 116M 4300K .......... .......... .......... .......... .......... 6.62M 4350K .......... .......... .......... .......... .......... 103M 4400K .......... .......... .......... .......... .......... 103M 4450K .......... .......... .......... .......... .......... 111M 4500K .......... .......... .......... .......... .......... 7.67M 4550K .......... .......... .......... .......... .......... 120M 4600K .......... .......... .......... .......... .......... 108M 4650K .......... .......... .......... .......... .......... 103M 4700K .......... .......... .......... .......... .......... 7.23M 4750K .......... .......... .......... .......... .......... 105M 4800K .......... .......... .......... .......... .......... 91.7M 4850K .......... .......... .......... .......... .......... 119M 4900K .......... .......... .......... .......... .......... 7.46M 4950K .......... .......... .......... .......... .......... 6.13M 5000K .......... .......... .......... .......... .......... 5.96M 5050K .......... .......... .......... .......... .......... 113M 5100K .......... .......... .......... .......... .......... 114M 5150K .......... .......... .......... .......... .......... 114M 5200K .......... .......... .......... .......... .......... 3.41M 5250K .......... .......... .......... .......... .......... 113M 5300K .......... .......... .......... .......... .......... 6.20M 5350K .......... .......... .......... .......... .......... 6.08M 5400K .......... .......... .......... .......... .......... 6.20M 5450K .......... .......... .......... .......... .......... 6.09M 5500K .......... .......... .......... .......... .......... 4.12M 5550K .......... .......... .......... .......... .......... 12.7M 5600K .......... .......... .......... .......... .......... 4.04M 5650K .......... .......... .......... .......... .......... 12.1M 5700K .......... .......... .......... .......... .......... 89.1M 5750K .......... .......... .......... .......... .......... 13.0M 5800K .......... .......... .......... .......... .......... 113M 5850K .......... .......... .......... .......... .......... 24.9M 5900K .......... .......... .......... .......... .......... 8.85M 5950K .......... .......... .......... .......... .......... 88.6M 6000K .......... .......... .......... .......... .......... 113M 6050K .......... .......... .......... .......... .......... 69.6M 6100K .......... .......... .......... .......... .......... 8.52M 6150K .......... .......... .......... .......... .......... 114M 6200K .......... .......... .......... .......... .......... 103M 6250K .......... .......... .......... .......... .......... 104M 6300K .......... .......... .......... .......... .......... 6.60M 6350K .......... .......... .......... .......... .......... 110M 6400K .......... .......... .......... .......... .......... 103M 6450K .......... .......... .......... .......... .......... 100M 6500K .......... .......... .......... .......... .......... 113M 6550K .......... .......... .......... .......... .......... 15.9M 6600K .......... .......... .......... .......... .......... 114M 6650K .......... .......... .......... .......... 6.14M=0.4s 2021-07-31 09:50:13 (17.6 MB/s) - '/tmp/instance-6/output-1/build/.swupdate-2021.04.tar.gz.scc4iV/output' saved [6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-6/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-6/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-6/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-6/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-6/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-6/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-6/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-6/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-6/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-6/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-6/output-1/host/bin:/tmp/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" LD="/tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=y HAVE_LIBBLKID=y HAVE_LIBCONFIG=n 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-6/output-1/host/bin/arm-buildroot-linux-musleabihf-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static" CONFIG_EXTRA_LDFLAGS=" -static" -C /tmp/instance-6/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-6/output-1/build/swupdate-2021.04' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CC ipc/network_ipc.o CC core/swupdate.o CC ipc/network_ipc-if.o CC handlers/dummy_handler.o CC ipc/progress_ipc.o CC core/cpio_utils.o AR corelib/lib.a CC mongoose/mongoose.o CC handlers/raw_handler.o AR suricatta/lib.a CC mongoose/mongoose_interface.o CC bootloader/none.o CC core/notifier.o CC parser/parse_external.o AR fs/lib.a CC core/handler.o CC tools/swupdate-client.o CC core/install_from_file.o CC parser/parser.o CC core/util.o CC tools/swupdate-hawkbitcfg.o CC core/parser.o CC tools/swupdate-progress.o CC core/pctl.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 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)", | ^~~~~ 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)", | ^~~~~ 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)", | ^~~~~ CC core/artifacts_versions.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" | ^~~~~~~ CC core/swupdate_dict.o CC core/semver.o CC core/strlcpy.o 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...", | ^~~~~ 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...", | ^~~~~ 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...", | ^~~~~ 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...", | ^~~~~ 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...", | ^~~~~ 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...", | ^~~~~ AR parser/lib.a LD ipc/built-in.o LD libswupdate.so.0.1 AR tools/lib.a LD handlers/built-in.o 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-6/output-1/host/bin/arm-buildroot-linux-musleabihf-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-6/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-6/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `/tmp/instance-6/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]: *** Waiting for unfinished jobs.... Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-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-6/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-6/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `/tmp/instance-6/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 Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-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-6/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-6/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `/tmp/instance-6/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 Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-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-6/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-6/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `/tmp/instance-6/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 Failed: -Wl,--start-group -lpthread -lz -l:libswupdate.so.0.1 -Wl,--end-group Output of: /tmp/instance-6/output-1/host/bin/arm-buildroot-linux-musleabihf-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-6/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-6/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `/tmp/instance-6/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 make[1]: Leaving directory '/tmp/instance-6/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-6/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-6/buildroot'