>>> swupdate 2021.04 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-1/output-1/build/.swupdate-2021.04.tar.gz.ZUb4yb/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 13:57:18-- https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sbabic/swupdate/tar.gz/2021.04 [following] --2021-07-30 13:57:19-- 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-1/output-1/build/.swupdate-2021.04.tar.gz.ZUb4yb/output' 0K .......... .......... .......... .......... .......... 0% 2.97M 2s 50K .......... .......... .......... .......... .......... 1% 5.83M 2s 100K .......... .......... .......... .......... .......... 2% 68.5M 1s 150K .......... .......... .......... .......... .......... 2% 6.46M 1s 200K .......... .......... .......... .......... .......... 3% 67.4M 1s 250K .......... .......... .......... .......... .......... 4% 108M 1s 300K .......... .......... .......... .......... .......... 5% 113M 1s 350K .......... .......... .......... .......... .......... 5% 6.98M 1s 400K .......... .......... .......... .......... .......... 6% 63.3M 1s 450K .......... .......... .......... .......... .......... 7% 73.4M 1s 500K .......... .......... .......... .......... .......... 8% 121M 0s 550K .......... .......... .......... .......... .......... 8% 135M 0s 600K .......... .......... .......... .......... .......... 9% 159M 0s 650K .......... .......... .......... .......... .......... 10% 159M 0s 700K .......... .......... .......... .......... .......... 11% 150M 0s 750K .......... .......... .......... .......... .......... 11% 8.84M 0s 800K .......... .......... .......... .......... .......... 12% 166M 0s 850K .......... .......... .......... .......... .......... 13% 123M 0s 900K .......... .......... .......... .......... .......... 14% 174M 0s 950K .......... .......... .......... .......... .......... 14% 170M 0s 1000K .......... .......... .......... .......... .......... 15% 192M 0s 1050K .......... .......... .......... .......... .......... 16% 193M 0s 1100K .......... .......... .......... .......... .......... 17% 158M 0s 1150K .......... .......... .......... .......... .......... 17% 184M 0s 1200K .......... .......... .......... .......... .......... 18% 189M 0s 1250K .......... .......... .......... .......... .......... 19% 183M 0s 1300K .......... .......... .......... .......... .......... 20% 168M 0s 1350K .......... .......... .......... .......... .......... 20% 177M 0s 1400K .......... .......... .......... .......... .......... 21% 10.5M 0s 1450K .......... .......... .......... .......... .......... 22% 162M 0s 1500K .......... .......... .......... .......... .......... 23% 159M 0s 1550K .......... .......... .......... .......... .......... 23% 189M 0s 1600K .......... .......... .......... .......... .......... 24% 2.34M 0s 1650K .......... .......... .......... .......... .......... 25% 163M 0s 1700K .......... .......... .......... .......... .......... 26% 71.5M 0s 1750K .......... .......... .......... .......... .......... 26% 59.5M 0s 1800K .......... .......... .......... .......... .......... 27% 63.2M 0s 1850K .......... .......... .......... .......... .......... 28% 71.0M 0s 1900K .......... .......... .......... .......... .......... 29% 75.2M 0s 1950K .......... .......... .......... .......... .......... 29% 74.1M 0s 2000K .......... .......... .......... .......... .......... 30% 150M 0s 2050K .......... .......... .......... .......... .......... 31% 166M 0s 2100K .......... .......... .......... .......... .......... 32% 78.9M 0s 2150K .......... .......... .......... .......... .......... 32% 55.7M 0s 2200K .......... .......... .......... .......... .......... 33% 54.9M 0s 2250K .......... .......... .......... .......... .......... 34% 82.1M 0s 2300K .......... .......... .......... .......... .......... 35% 137M 0s 2350K .......... .......... .......... .......... .......... 35% 158M 0s 2400K .......... .......... .......... .......... .......... 36% 162M 0s 2450K .......... .......... .......... .......... .......... 37% 136M 0s 2500K .......... .......... .......... .......... .......... 38% 167M 0s 2550K .......... .......... .......... .......... .......... 38% 169M 0s 2600K .......... .......... .......... .......... .......... 39% 162M 0s 2650K .......... .......... .......... .......... .......... 40% 148M 0s 2700K .......... .......... .......... .......... .......... 41% 170M 0s 2750K .......... .......... .......... .......... .......... 41% 162M 0s 2800K .......... .......... .......... .......... .......... 42% 169M 0s 2850K .......... .......... .......... .......... .......... 43% 142M 0s 2900K .......... .......... .......... .......... .......... 44% 169M 0s 2950K .......... .......... .......... .......... .......... 44% 176M 0s 3000K .......... .......... .......... .......... .......... 45% 350M 0s 3050K .......... .......... .......... .......... .......... 46% 329M 0s 3100K .......... .......... .......... .......... .......... 47% 347M 0s 3150K .......... .......... .......... .......... .......... 47% 371M 0s 3200K .......... .......... .......... .......... .......... 48% 380M 0s 3250K .......... .......... .......... .......... .......... 49% 302M 0s 3300K .......... .......... .......... .......... .......... 50% 749K 0s 3350K .......... .......... .......... .......... .......... 50% 143M 0s 3400K .......... .......... .......... .......... .......... 51% 121M 0s 3450K .......... .......... .......... .......... .......... 52% 122M 0s 3500K .......... .......... .......... .......... .......... 53% 123M 0s 3550K .......... .......... .......... .......... .......... 53% 125M 0s 3600K .......... .......... .......... .......... .......... 54% 124M 0s 3650K .......... .......... .......... .......... .......... 55% 119M 0s 3700K .......... .......... .......... .......... .......... 56% 169M 0s 3750K .......... .......... .......... .......... .......... 56% 272M 0s 3800K .......... .......... .......... .......... .......... 57% 255M 0s 3850K .......... .......... .......... .......... .......... 58% 245M 0s 3900K .......... .......... .......... .......... .......... 59% 234M 0s 3950K .......... .......... .......... .......... .......... 59% 240M 0s 4000K .......... .......... .......... .......... .......... 60% 254M 0s 4050K .......... .......... .......... .......... .......... 61% 221M 0s 4100K .......... .......... .......... .......... .......... 62% 115M 0s 4150K .......... .......... .......... .......... .......... 62% 117M 0s 4200K .......... .......... .......... .......... .......... 63% 121M 0s 4250K .......... .......... .......... .......... .......... 64% 108M 0s 4300K .......... .......... .......... .......... .......... 65% 118M 0s 4350K .......... .......... .......... .......... .......... 65% 265M 0s 4400K .......... .......... .......... .......... .......... 66% 249M 0s 4450K .......... .......... .......... .......... .......... 67% 276M 0s 4500K .......... .......... .......... .......... .......... 68% 203M 0s 4550K .......... .......... .......... .......... .......... 68% 142M 0s 4600K .......... .......... .......... .......... .......... 69% 138M 0s 4650K .......... .......... .......... .......... .......... 70% 129M 0s 4700K .......... .......... .......... .......... .......... 70% 125M 0s 4750K .......... .......... .......... .......... .......... 71% 174M 0s 4800K .......... .......... .......... .......... .......... 72% 241M 0s 4850K .......... .......... .......... .......... .......... 73% 299M 0s 4900K .......... .......... .......... .......... .......... 73% 302M 0s 4950K .......... .......... .......... .......... .......... 74% 295M 0s 5000K .......... .......... .......... .......... .......... 75% 184M 0s 5050K .......... .......... .......... .......... .......... 76% 709K 0s 5100K .......... .......... .......... .......... .......... 76% 73.5M 0s 5150K .......... .......... .......... .......... .......... 77% 72.5M 0s 5200K .......... .......... .......... .......... .......... 78% 63.9M 0s 5250K .......... .......... .......... .......... .......... 79% 67.3M 0s 5300K .......... .......... .......... .......... .......... 79% 69.7M 0s 5350K .......... .......... .......... .......... .......... 80% 68.0M 0s 5400K .......... .......... .......... .......... .......... 81% 74.3M 0s 5450K .......... .......... .......... .......... .......... 82% 63.1M 0s 5500K .......... .......... .......... .......... .......... 82% 75.0M 0s 5550K .......... .......... .......... .......... .......... 83% 80.3M 0s 5600K .......... .......... .......... .......... .......... 84% 81.1M 0s 5650K .......... .......... .......... .......... .......... 85% 81.2M 0s 5700K .......... .......... .......... .......... .......... 85% 87.5M 0s 5750K .......... .......... .......... .......... .......... 86% 179M 0s 5800K .......... .......... .......... .......... .......... 87% 151M 0s 5850K .......... .......... .......... .......... .......... 88% 181M 0s 5900K .......... .......... .......... .......... .......... 88% 179M 0s 5950K .......... .......... .......... .......... .......... 89% 168M 0s 6000K .......... .......... .......... .......... .......... 90% 153M 0s 6050K .......... .......... .......... .......... .......... 91% 182M 0s 6100K .......... .......... .......... .......... .......... 91% 178M 0s 6150K .......... .......... .......... .......... .......... 92% 116M 0s 6200K .......... .......... .......... .......... .......... 93% 95.7M 0s 6250K .......... .......... .......... .......... .......... 94% 179M 0s 6300K .......... .......... .......... .......... .......... 94% 173M 0s 6350K .......... .......... .......... .......... .......... 95% 185M 0s 6400K .......... .......... .......... .......... .......... 96% 178M 0s 6450K .......... .......... .......... .......... .......... 97% 172M 0s 6500K .......... .......... .......... .......... .......... 97% 181M 0s 6550K .......... .......... .......... .......... .......... 98% 179M 0s 6600K .......... .......... .......... .......... .......... 99% 182M 0s 6650K .......... .......... .......... .......... 100% 167M=0.3s 2021-07-30 13:57:19 (25.6 MB/s) - '/tmp/instance-1/output-1/build/.swupdate-2021.04.tar.gz.ZUb4yb/output' saved [6851471/6851471] swupdate-2021.04.tar.gz: OK (sha256: 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8) >>> swupdate 2021.04 Extracting gzip -d -c /tmp/instance-1/dl/swupdate/swupdate-2021.04.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/swupdate-2021.04 -xf - >>> swupdate 2021.04 Patching Using /tmp/instance-1/output-1/build/swupdate-2021.04/.config as base # # merged configuration written to /tmp/instance-1/output-1/build/swupdate-2021.04/.config (needs make) # make[1]: Entering directory '/tmp/instance-1/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-1/output-1/build/swupdate-2021.04' /usr/bin/sed -i -e "/\\/d" /tmp/instance-1/output-1/build/swupdate-2021.04//.config echo 'CONFIG_STATIC=y' >> /tmp/instance-1/output-1/build/swupdate-2021.04//.config make[1]: Entering directory '/tmp/instance-1/output-1/build/swupdate-2021.04' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/tmp/instance-1/output-1/build/swupdate-2021.04' >>> swupdate 2021.04 Configuring >>> swupdate 2021.04 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC="/tmp/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" LD="/tmp/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-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=y HAVE_LIBUBI=y HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_MBEDTLS=n HAVE_P11KIT=n HAVE_LIBUBOOTENV=n HAVE_WOLFSSL=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y HAVE_ZSTD=y /usr/bin/make -j96 CROSS_COMPILE="/tmp/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static" CONFIG_EXTRA_LDFLAGS=" -static" -C /tmp/instance-1/output-1/build/swupdate-2021.04 make[1]: Entering directory '/tmp/instance-1/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 corelib/mtd-interface.o CC parser/parse_external.o CC core/cpio_utils.o CC corelib/parsing_library_libconfig.o CC ipc/network_ipc-if.o CC handlers/raw_handler.o CC mongoose/mongoose.o CC corelib/swupdate_settings.o CC ipc/progress_ipc.o AR suricatta/lib.a CC mongoose/mongoose_interface.o AR fs/lib.a CC bootloader/none.o CC core/notifier.o CC parser/parser.o CC tools/swupdate-client.o CC tools/swupdate-hawkbitcfg.o CC tools/swupdate-progress.o CC tools/swupdate-sendtohawkbit.o CC tools/swupdate-sysrestart.o CC core/handler.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 core/installer.o CC core/network_thread.o CC core/stream_interface.o tools/swupdate-sysrestart.c:264:2: warning: #warning "swupdate-sysrestart needs libcurl, replaced with dummy" [-Wcpp] 264 | #warning "swupdate-sysrestart needs libcurl, replaced with dummy" | ^~~~~~~ CC core/progress_thread.o AR bootloader/lib.a CC core/parsing_library.o CC core/artifacts_versions.o CC core/swupdate_dict.o CC core/semver.o CC core/strlcpy.o LD ipc/built-in.o LD libswupdate.so.0.1 LD handlers/built-in.o AR corelib/lib.a AR tools/lib.a AR parser/lib.a LD core/built-in.o Failed: Output of: /tmp/instance-1/output-1/host/bin/riscv64-buildroot-linux-uclibc-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 -O2 -g0 -static -o libswupdate.so.0.1 -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group -static -L/tmp/instance-1/output-1/build/swupdate-2021.04 ipc/built-in.o -Wl,--end-group ========== /tmp/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/10.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/instance-1/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/10.3.0/crtbeginT.o: relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. make[1]: *** [Makefile:448: libswupdate.so.0.1] Error 1 make[1]: *** Waiting for unfinished jobs.... AR mongoose/lib.a make[1]: Leaving directory '/tmp/instance-1/output-1/build/swupdate-2021.04' make: *** [package/pkg-generic.mk:270: /tmp/instance-1/output-1/build/swupdate-2021.04/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'