>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-5/output-1/build/.swupdate-2021.04.tar.gz.Mlf8QH/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 09:51:03-- 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 09:51:03-- 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-5/output-1/build/.swupdate-2021.04.tar.gz.Mlf8QH/output' 0K .......... .......... .......... .......... .......... 3.06M 50K .......... .......... .......... .......... .......... 6.16M 100K .......... .......... .......... .......... .......... 105M 150K .......... .......... .......... .......... .......... 6.39M 200K .......... .......... .......... .......... .......... 105M 250K .......... .......... .......... .......... .......... 179M 300K .......... .......... .......... .......... .......... 180M 350K .......... .......... .......... .......... .......... 6.79M 400K .......... .......... .......... .......... .......... 113M 450K .......... .......... .......... .......... .......... 189M 500K .......... .......... .......... .......... .......... 181M 550K .......... .......... .......... .......... .......... 182M 600K .......... .......... .......... .......... .......... 144M 650K .......... .......... .......... .......... .......... 192M 700K .......... .......... .......... .......... .......... 22.9M 750K .......... .......... .......... .......... .......... 11.1M 800K .......... .......... .......... .......... .......... 165M 850K .......... .......... .......... .......... .......... 40.0M 900K .......... .......... .......... .......... .......... 33.9M 950K .......... .......... .......... .......... .......... 19.3M 1000K .......... .......... .......... .......... .......... 30.7M 1050K .......... .......... .......... .......... .......... 23.9M 1100K .......... .......... .......... .......... .......... 30.9M 1150K .......... .......... .......... .......... .......... 21.6M 1200K .......... .......... .......... .......... .......... 30.0M 1250K .......... .......... .......... .......... .......... 32.9M 1300K .......... .......... .......... .......... .......... 19.2M 1350K .......... .......... .......... .......... .......... 63.5M 1400K .......... .......... .......... .......... .......... 7.33M 1450K .......... .......... .......... .......... .......... 151M 1500K .......... .......... .......... .......... .......... 52.6M 1550K .......... .......... .......... .......... .......... 111M 1600K .......... .......... .......... .......... .......... 12.1M 1650K .......... .......... .......... .......... .......... 92.4M 1700K .......... .......... .......... .......... .......... 43.7M 1750K .......... .......... .......... .......... .......... 23.5M 1800K .......... .......... .......... .......... .......... 31.4M 1850K .......... .......... .......... .......... .......... 24.9M 1900K .......... .......... .......... .......... .......... 33.8M 1950K .......... .......... .......... .......... .......... 20.5M 2000K .......... .......... .......... .......... .......... 30.5M 2050K .......... .......... .......... .......... .......... 35.7M 2100K .......... .......... .......... .......... .......... 19.1M 2150K .......... .......... .......... .......... .......... 41.1M 2200K .......... .......... .......... .......... .......... 21.3M 2250K .......... .......... .......... .......... .......... 34.4M 2300K .......... .......... .......... .......... .......... 18.1M 2350K .......... .......... .......... .......... .......... 31.1M 2400K .......... .......... .......... .......... .......... 19.4M 2450K .......... .......... .......... .......... .......... 31.2M 2500K .......... .......... .......... .......... .......... 36.6M 2550K .......... .......... .......... .......... .......... 18.3M 2600K .......... .......... .......... .......... .......... 28.9M 2650K .......... .......... .......... .......... .......... 25.6M 2700K .......... .......... .......... .......... .......... 33.1M 2750K .......... .......... .......... .......... .......... 22.0M 2800K .......... .......... .......... .......... .......... 24.7M 2850K .......... .......... .......... .......... .......... 27.5M 2900K .......... .......... .......... .......... .......... 21.5M 2950K .......... .......... .......... .......... .......... 35.7M 3000K .......... .......... .......... .......... .......... 21.3M 3050K .......... .......... .......... .......... .......... 31.9M 3100K .......... .......... .......... .......... .......... 19.7M 3150K .......... .......... .......... .......... .......... 29.2M 3200K .......... .......... .......... .......... .......... 22.9M 3250K .......... .......... .......... .......... .......... 19.2M 3300K .......... .......... .......... .......... .......... 28.0M 3350K .......... .......... .......... .......... .......... 23.2M 3400K .......... .......... .......... .......... .......... 40.7M 3450K .......... .......... .......... .......... .......... 9.13M 3500K .......... .......... .......... .......... .......... 201M 3550K .......... .......... .......... .......... .......... 82.4M 3600K .......... .......... .......... .......... .......... 33.2M 3650K .......... .......... .......... .......... .......... 31.7M 3700K .......... .......... .......... .......... .......... 17.0M 3750K .......... .......... .......... .......... .......... 63.4M 3800K .......... .......... .......... .......... .......... 18.7M 3850K .......... .......... .......... .......... .......... 13.1M 3900K .......... .......... .......... .......... .......... 4.41M 3950K .......... .......... .......... .......... .......... 22.4M 4000K .......... .......... .......... .......... .......... 21.5M 4050K .......... .......... .......... .......... .......... 35.2M 4100K .......... .......... .......... .......... .......... 14.5M 4150K .......... .......... .......... .......... .......... 56.6M 4200K .......... .......... .......... .......... .......... 12.6M 4250K .......... .......... .......... .......... .......... 122M 4300K .......... .......... .......... .......... .......... 15.1M 4350K .......... .......... .......... .......... .......... 179M 4400K .......... .......... .......... .......... .......... 102M 4450K .......... .......... .......... .......... .......... 39.0M 4500K .......... .......... .......... .......... .......... 31.2M 4550K .......... .......... .......... .......... .......... 30.7M 4600K .......... .......... .......... .......... .......... 30.7M 4650K .......... .......... .......... .......... .......... 14.4M 4700K .......... .......... .......... .......... .......... 70.7M 4750K .......... .......... .......... .......... .......... 40.5M 4800K .......... .......... .......... .......... .......... 22.3M 4850K .......... .......... .......... .......... .......... 33.7M 4900K .......... .......... .......... .......... .......... 7.38M 4950K .......... .......... .......... .......... .......... 11.1M 5000K .......... .......... .......... .......... .......... 13.2M 5050K .......... .......... .......... .......... .......... 15.4M 5100K .......... .......... .......... .......... .......... 38.9M 5150K .......... .......... .......... .......... .......... 20.4M 5200K .......... .......... .......... .......... .......... 4.59M 5250K .......... .......... .......... .......... .......... 67.4M 5300K .......... .......... .......... .......... .......... 5.72M 5350K .......... .......... .......... .......... .......... 5.71M 5400K .......... .......... .......... .......... .......... 4.77M 5450K .......... .......... .......... .......... .......... 6.48M 5500K .......... .......... .......... .......... .......... 5.69M 5550K .......... .......... .......... .......... .......... 5.41M 5600K .......... .......... .......... .......... .......... 4.08M 5650K .......... .......... .......... .......... .......... 8.90M 5700K .......... .......... .......... .......... .......... 75.5M 5750K .......... .......... .......... .......... .......... 26.5M 5800K .......... .......... .......... .......... .......... 36.3M 5850K .......... .......... .......... .......... .......... 24.5M 5900K .......... .......... .......... .......... .......... 39.4M 5950K .......... .......... .......... .......... .......... 19.2M 6000K .......... .......... .......... .......... .......... 25.4M 6050K .......... .......... .......... .......... .......... 35.2M 6100K .......... .......... .......... .......... .......... 18.9M 6150K .......... .......... .......... .......... .......... 31.2M 6200K .......... .......... .......... .......... .......... 24.6M 6250K .......... .......... .......... .......... .......... 33.1M 6300K .......... .......... .......... .......... .......... 23.1M 6350K .......... .......... .......... .......... .......... 30.2M 6400K .......... .......... .......... .......... .......... 22.7M 6450K .......... .......... .......... .......... .......... 22.3M 6500K .......... .......... .......... .......... .......... 33.3M 6550K .......... .......... .......... .......... .......... 17.2M 6600K .......... .......... .......... .......... .......... 38.0M 6650K .......... .......... .......... .......... 17.8M=0.3s 2021-07-30 09:51:04 (18.7 MB/s) - '/tmp/instance-5/output-1/build/.swupdate-2021.04.tar.gz.Mlf8QH/output' saved [6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-5/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-5/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-5/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-5/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-5/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-5/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-5/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-5/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-5/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-5/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-5/output-1/host/bin:/tmp/instance-5/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-5/output-1/host/bin/mipsel-linux-gcc" LD="/tmp/instance-5/output-1/host/bin/mipsel-linux-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=y HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=y HAVE_LIBGPIOD=n HAVE_URIPARSER=y 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-5/output-1/host/bin/mipsel-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-5/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-5/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 handlers/dummy_handler.o CC ipc/network_ipc.o CC core/swupdate.o CC corelib/parsing_library_libconfig.o CC core/cpio_utils.o CC handlers/raw_handler.o CC mongoose/mongoose.o CC corelib/swupdate_settings.o AR suricatta/lib.a CC ipc/network_ipc-if.o CC parser/parse_external.o CC core/notifier.o CC bootloader/none.o CC mongoose/mongoose_interface.o CC ipc/progress_ipc.o CC core/handler.o CC parser/parser.o CC tools/swupdate-client.o CC core/install_from_file.o AR fs/lib.a CC tools/swupdate-hawkbitcfg.o CC tools/swupdate-progress.o CC tools/swupdate-sendtohawkbit.o CC tools/swupdate-sysrestart.o CC core/util.o CC core/parser.o CC core/pctl.o CC core/state.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 AR bootloader/lib.a tools/swupdate-sysrestart.c:264:2: warning: #warning "swupdate-sysrestart needs libcurl, replaced with dummy" [-Wcpp] 264 | #warning "swupdate-sysrestart needs libcurl, replaced with dummy" | ^~~~~~~ In file included from core/util.c:33: core/util.c: In function 'check_free_space': include/util.h:91:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 91 | "ERROR %s : %s : %d : " format, \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu In file included from core/util.c:33: include/util.h:98:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 98 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu In file included from core/util.c:33: include/util.h:102:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type '__fsblkcnt64_t' {aka 'long long unsigned int'} [-Wformat=] 102 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:109:2: note: in expansion of macro 'swupdate_notify' 109 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/util.c:1061:3: note: in expansion of macro 'ERROR' 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ^~~~~ core/util.c:1061:66: note: format string is defined here 1061 | ERROR("Not enough free space to extract %s (needed %llu, got %lu)", | ~~^ | | | long unsigned int | %llu AR corelib/lib.a LD ipc/built-in.o LD libswupdate.so.0.1 AR tools/lib.a LD handlers/built-in.o Failed: Output of: /tmp/instance-5/output-1/host/bin/mipsel-linux-gcc -shared -Wl,-soname,libswupdate.so.0.1 -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -o libswupdate.so.0.1 -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group -static -L/tmp/instance-5/output-1/build/swupdate-2021.04 ipc/built-in.o -Wl,--end-group ========== /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o: in function `deregister_tm_clones': crtstuff.c:(.text+0x0): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x4): relocation R_MIPS_HI16 against `__TMC_END__' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x14): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o: in function `register_tm_clones': crtstuff.c:(.text+0x38): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x3c): relocation R_MIPS_HI16 against `__TMC_END__' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x60): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o: in function `__do_global_dtors_aux': crtstuff.c:(.text+0x8c): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x90): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0xb8): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0xb4): relocation R_MIPS_HI16 against `__DTOR_END__' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0xcc): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0xec): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x104): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0xd4): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o: in function `frame_dummy': crtstuff.c:(.text+0x154): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x174): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x178): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC crtstuff.c:(.text+0x190): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o:(.fini+0x8): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtbeginT.o:(.init+0x8): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtend.o: in function `__do_global_ctors_aux': crtstuff.c:(.text+0x8): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC /tmp/instance-5/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/crtend.o:(.init+0x8): relocation R_MIPS_HI16 against `__gnu_local_gp' cannot be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status make[1]: *** [Makefile:448: libswupdate.so.0.1] Error 1 make[1]: *** Waiting for unfinished jobs.... LD core/built-in.o AR parser/lib.a AR mongoose/lib.a make[1]: Leaving directory '/tmp/instance-5/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-5/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-5/buildroot'