>>> 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.wDkv2r/output' 'https://github.com/sbabic/swupdate/archive/2021.04/swupdate-2021.04.tar.gz' --2021-07-30 19:05:38-- 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 19:05:38-- 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: 6851471 (6.5M) [application/x-gzip] Saving to: '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.wDkv2r/output' 0K .......... .......... .......... .......... .......... 0% 3.03M 2s 50K .......... .......... .......... .......... .......... 1% 6.05M 2s 100K .......... .......... .......... .......... .......... 2% 148M 1s 150K .......... .......... .......... .......... .......... 2% 6.34M 1s 200K .......... .......... .......... .......... .......... 3% 90.2M 1s 250K .......... .......... .......... .......... .......... 4% 202M 1s 300K .......... .......... .......... .......... .......... 5% 202M 1s 350K .......... .......... .......... .......... .......... 5% 6.77M 1s 400K .......... .......... .......... .......... .......... 6% 64.9M 1s 450K .......... .......... .......... .......... .......... 7% 162M 1s 500K .......... .......... .......... .......... .......... 8% 217M 0s 550K .......... .......... .......... .......... .......... 8% 269M 0s 600K .......... .......... .......... .......... .......... 9% 286M 0s 650K .......... .......... .......... .......... .......... 10% 240M 0s 700K .......... .......... .......... .......... .......... 11% 290M 0s 750K .......... .......... .......... .......... .......... 11% 7.80M 0s 800K .......... .......... .......... .......... .......... 12% 181M 0s 850K .......... .......... .......... .......... .......... 13% 76.4M 0s 900K .......... .......... .......... .......... .......... 14% 371M 0s 950K .......... .......... .......... .......... .......... 14% 403M 0s 1000K .......... .......... .......... .......... .......... 15% 337M 0s 1050K .......... .......... .......... .......... .......... 16% 390M 0s 1100K .......... .......... .......... .......... .......... 17% 421M 0s 1150K .......... .......... .......... .......... .......... 17% 415M 0s 1200K .......... .......... .......... .......... .......... 18% 362M 0s 1250K .......... .......... .......... .......... .......... 19% 409M 0s 1300K .......... .......... .......... .......... .......... 20% 402M 0s 1350K .......... .......... .......... .......... .......... 20% 436M 0s 1400K .......... .......... .......... .......... .......... 21% 352M 0s 1450K .......... .......... .......... .......... .......... 22% 430M 0s 1500K .......... .......... .......... .......... .......... 23% 426M 0s 1550K .......... .......... .......... .......... .......... 23% 8.54M 0s 1600K .......... .......... .......... .......... .......... 24% 86.8M 0s 1650K .......... .......... .......... .......... .......... 25% 367M 0s 1700K .......... .......... .......... .......... .......... 26% 422M 0s 1750K .......... .......... .......... .......... .......... 26% 425M 0s 1800K .......... .......... .......... .......... .......... 27% 337M 0s 1850K .......... .......... .......... .......... .......... 28% 430M 0s 1900K .......... .......... .......... .......... .......... 29% 436M 0s 1950K .......... .......... .......... .......... .......... 29% 428M 0s 2000K .......... .......... .......... .......... .......... 30% 386M 0s 2050K .......... .......... .......... .......... .......... 31% 387M 0s 2100K .......... .......... .......... .......... .......... 32% 2.21M 0s 2150K .......... .......... .......... .......... .......... 32% 157M 0s 2200K .......... .......... .......... .......... .......... 33% 75.6M 0s 2250K .......... .......... .......... .......... .......... 34% 329M 0s 2300K .......... .......... .......... .......... .......... 35% 123M 0s 2350K .......... .......... .......... .......... .......... 35% 305M 0s 2400K .......... .......... .......... .......... .......... 36% 245M 0s 2450K .......... .......... .......... .......... .......... 37% 224M 0s 2500K .......... .......... .......... .......... .......... 38% 274M 0s 2550K .......... .......... .......... .......... .......... 38% 249M 0s 2600K .......... .......... .......... .......... .......... 39% 227M 0s 2650K .......... .......... .......... .......... .......... 40% 253M 0s 2700K .......... .......... .......... .......... .......... 41% 250M 0s 2750K .......... .......... .......... .......... .......... 41% 260M 0s 2800K .......... .......... .......... .......... .......... 42% 288M 0s 2850K .......... .......... .......... .......... .......... 43% 408M 0s 2900K .......... .......... .......... .......... .......... 44% 366M 0s 2950K .......... .......... .......... .......... .......... 44% 134M 0s 3000K .......... .......... .......... .......... .......... 45% 89.8M 0s 3050K .......... .......... .......... .......... .......... 46% 70.0M 0s 3100K .......... .......... .......... .......... .......... 47% 175M 0s 3150K .......... .......... .......... .......... .......... 47% 298M 0s 3200K .......... .......... .......... .......... .......... 48% 196M 0s 3250K .......... .......... .......... .......... .......... 49% 270M 0s 3300K .......... .......... .......... .......... .......... 50% 340M 0s 3350K .......... .......... .......... .......... .......... 50% 426M 0s 3400K .......... .......... .......... .......... .......... 51% 416M 0s 3450K .......... .......... .......... .......... .......... 52% 427M 0s 3500K .......... .......... .......... .......... .......... 53% 383M 0s 3550K .......... .......... .......... .......... .......... 53% 400M 0s 3600K .......... .......... .......... .......... .......... 54% 426M 0s 3650K .......... .......... .......... .......... .......... 55% 693K 0s 3700K .......... .......... .......... .......... .......... 56% 106M 0s 3750K .......... .......... .......... .......... .......... 56% 388M 0s 3800K .......... .......... .......... .......... .......... 57% 172M 0s 3850K .......... .......... .......... .......... .......... 58% 405M 0s 3900K .......... .......... .......... .......... .......... 59% 142M 0s 3950K .......... .......... .......... .......... .......... 59% 400M 0s 4000K .......... .......... .......... .......... .......... 60% 254M 0s 4050K .......... .......... .......... .......... .......... 61% 229M 0s 4100K .......... .......... .......... .......... .......... 62% 234M 0s 4150K .......... .......... .......... .......... .......... 62% 260M 0s 4200K .......... .......... .......... .......... .......... 63% 330M 0s 4250K .......... .......... .......... .......... .......... 64% 284M 0s 4300K .......... .......... .......... .......... .......... 65% 203M 0s 4350K .......... .......... .......... .......... .......... 65% 249M 0s 4400K .......... .......... .......... .......... .......... 66% 315M 0s 4450K .......... .......... .......... .......... .......... 67% 239M 0s 4500K .......... .......... .......... .......... .......... 68% 425M 0s 4550K .......... .......... .......... .......... .......... 68% 303M 0s 4600K .......... .......... .......... .......... .......... 69% 425M 0s 4650K .......... .......... .......... .......... .......... 70% 340M 0s 4700K .......... .......... .......... .......... .......... 70% 244M 0s 4750K .......... .......... .......... .......... .......... 71% 417M 0s 4800K .......... .......... .......... .......... .......... 72% 392M 0s 4850K .......... .......... .......... .......... .......... 73% 251M 0s 4900K .......... .......... .......... .......... .......... 73% 222M 0s 4950K .......... .......... .......... .......... .......... 74% 348M 0s 5000K .......... .......... .......... .......... .......... 75% 170M 0s 5050K .......... .......... .......... .......... .......... 76% 266M 0s 5100K .......... .......... .......... .......... .......... 76% 295M 0s 5150K .......... .......... .......... .......... .......... 77% 201M 0s 5200K .......... .......... .......... .......... .......... 78% 279M 0s 5250K .......... .......... .......... .......... .......... 79% 231M 0s 5300K .......... .......... .......... .......... .......... 79% 427M 0s 5350K .......... .......... .......... .......... .......... 80% 421M 0s 5400K .......... .......... .......... .......... .......... 81% 397M 0s 5450K .......... .......... .......... .......... .......... 82% 381M 0s 5500K .......... .......... .......... .......... .......... 82% 439M 0s 5550K .......... .......... .......... .......... .......... 83% 421M 0s 5600K .......... .......... .......... .......... .......... 84% 435M 0s 5650K .......... .......... .......... .......... .......... 85% 344M 0s 5700K .......... .......... .......... .......... .......... 85% 425M 0s 5750K .......... .......... .......... .......... .......... 86% 36.8M 0s 5800K .......... .......... .......... .......... .......... 87% 259M 0s 5850K .......... .......... .......... .......... .......... 88% 702K 0s 5900K .......... .......... .......... .......... .......... 88% 141M 0s 5950K .......... .......... .......... .......... .......... 89% 267M 0s 6000K .......... .......... .......... .......... .......... 90% 191M 0s 6050K .......... .......... .......... .......... .......... 91% 220M 0s 6100K .......... .......... .......... .......... .......... 91% 321M 0s 6150K .......... .......... .......... .......... .......... 92% 288M 0s 6200K .......... .......... .......... .......... .......... 93% 257M 0s 6250K .......... .......... .......... .......... .......... 94% 204M 0s 6300K .......... .......... .......... .......... .......... 94% 386M 0s 6350K .......... .......... .......... .......... .......... 95% 233M 0s 6400K .......... .......... .......... .......... .......... 96% 348M 0s 6450K .......... .......... .......... .......... .......... 97% 437M 0s 6500K .......... .......... .......... .......... .......... 97% 402M 0s 6550K .......... .......... .......... .......... .......... 98% 402M 0s 6600K .......... .......... .......... .......... .......... 99% 372M 0s 6650K .......... .......... .......... .......... 100% 431M=0.2s 2021-07-30 19:05:39 (26.9 MB/s) - '/tmp/instance-7/output-1/build/.swupdate-2021.04.tar.gz.wDkv2r/output' saved [6851471/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/microblazeel-buildroot-linux-uclibc-gcc" LD="/tmp/instance-7/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc" HAVE_LIBEBGENV=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBBLKID=y HAVE_LIBCONFIG=y HAVE_LIBCURL=n HAVE_LIBGPIOD=y HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=n HAVE_LUA=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_MBEDTLS=n HAVE_P11KIT=n HAVE_LIBUBOOTENV=n HAVE_WOLFSSL=n HAVE_LIBZEROMQ=n HAVE_ZLIB=y HAVE_ZSTD=n /usr/bin/make -j96 CROSS_COMPILE="/tmp/instance-7/output-1/host/bin/microblazeel-buildroot-linux-uclibc-" 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 core/swupdate.o CC ipc/network_ipc.o CC ipc/network_ipc-if.o CC ipc/progress_ipc.o CC core/cpio_utils.o CC mongoose/mongoose.o CC handlers/dummy_handler.o CC handlers/raw_handler.o CC mongoose/mongoose_interface.o CC corelib/parsing_library_libconfig.o CC corelib/swupdate_settings.o CC parser/parse_external.o CC core/notifier.o AR suricatta/lib.a CC core/handler.o CC parser/parser.o CC bootloader/none.o AR fs/lib.a CC core/install_from_file.o CC tools/swupdate-client.o CC core/util.o CC core/parser.o CC tools/swupdate-hawkbitcfg.o CC tools/swupdate-progress.o CC core/pctl.o CC tools/swupdate-sendtohawkbit.o CC core/state.o CC core/syslog.o AR bootloader/lib.a CC tools/swupdate-sysrestart.o CC core/installer.o CC core/network_thread.o CC core/stream_interface.o LD ipc/built-in.o CC core/progress_thread.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 '__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)", | ^~~~~ 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)", | ^~~~~ 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)", | ^~~~~ LD handlers/built-in.o AR corelib/lib.a LD libswupdate.so.0.1 CC core/parsing_library.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/artifacts_versions.o CC core/swupdate_dict.o CC core/semver.o CC core/strlcpy.o AR tools/lib.a AR parser/lib.a LD core/built-in.o Failed: Output of: /tmp/instance-7/output-1/host/bin/microblazeel-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 -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-7/output-1/build/swupdate-2021.04 ipc/built-in.o -Wl,--end-group ========== /tmp/instance-7/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/10.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: BFD (GNU Binutils) 2.35.2 assertion fail elf32-microblaze.c:1538 /tmp/instance-7/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/10.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: /tmp/instance-7/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/10.3.0/crtbeginT.o: probably compiled without -fPIC? /tmp/instance-7/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/10.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status 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-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'