>>> swupdate 2017.11 Downloading --2018-01-14 23:35:06-- https://github.com/sbabic/swupdate/archive/2017.11/swupdate-2017.11.tar.gz Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sbabic/swupdate/tar.gz/2017.11 [following] --2018-01-14 23:35:07-- https://codeload.github.com/sbabic/swupdate/tar.gz/2017.11 Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120 Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: `/home/peko/autobuild/instance-2/output/build/.swupdate-2017.11.tar.gz.FsAWzK/output' 0K .......... .......... .......... .......... .......... 283K 50K .......... .......... .......... .......... .......... 559K 100K .......... .......... .......... .......... .......... 573K 150K .......... .......... .......... .......... .......... 1.20M 200K .......... .......... .......... .......... .......... 1.02M 250K .......... .......... .......... .......... .......... 1.30M 300K .......... .......... .......... .......... .......... 24.4M 350K .......... .......... .......... .......... .......... 1003K 400K .......... .......... .......... .......... .......... 1.35M 450K .......... .......... .......... .......... .......... 14.1M 500K .......... .......... .......... .......... .......... 1.04M 550K .......... .......... .......... .......... .......... 13.5M 600K .......... .......... .......... .......... .......... 17.7M 650K .......... .......... .......... .......... .......... 1.62M 700K .......... .......... .......... .......... .......... 18.6M 750K .......... .......... .......... .......... .......... 1.03M 800K .......... .......... .......... .......... .......... 25.6M 850K .......... .......... .......... .......... .......... 29.4M 900K .......... .......... .......... .......... .......... 1.43M 950K .......... .......... .......... .......... .......... 28.4M 1000K .......... .......... .......... .......... .......... 26.1M 1050K .......... .......... .......... ...... 26.1M=0.7s 2018-01-14 23:35:09 (1.42 MB/s) - `/home/peko/autobuild/instance-2/output/build/.swupdate-2017.11.tar.gz.FsAWzK/output' saved [1112902] swupdate-2017.11.tar.gz: OK (sha256: 1e15d9675cf7e23886dca7ea058498282c35679a555845dbc85ffe688f2cc681) >>> swupdate 2017.11 Extracting gzip -d -c /home/peko/autobuild/instance-2/dl/swupdate-2017.11.tar.gz | tar --strip-components=1 -C /home/peko/autobuild/instance-2/output/build/swupdate-2017.11 -xf - >>> swupdate 2017.11 Patching Using /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config as base # # merged configuration written to /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config (needs make) # make[1]: Entering directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' 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 `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' /bin/sed -i -e "/\\/d" /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config echo 'CONFIG_CROSS_COMPILE="/home/peko/autobuild/instance-2/output/host/bin/x86_64-linux-"' >> /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config echo 'CONFIG_SYSROOT="/home/peko/autobuild/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot"' >> /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config echo 'CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os "' >> /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config echo 'CONFIG_EXTRA_LDFLAGS=""' >> /home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.config make[1]: Entering directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' >>> swupdate 2017.11 Configuring >>> swupdate 2017.11 Building PATH="/home/peko/autobuild/instance-2/output/host/bin:/home/peko/autobuild/instance-2/output/host/sbin:/home/peko/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBCONFIG=n HAVE_LIBCURL=y HAVE_LUA=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_LIBUBOOTENV=n HAVE_LIBZEROMQ=y HAVE_ZLIB=y /usr/bin/make -j6 -C /home/peko/autobuild/instance-2/output/build/swupdate-2017.11 make[1]: Entering directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' make[1]: Entering directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' CC handlers/raw_handler.o CC corelib/artifacts_versions.o CC core/swupdate.o CC archival/gun.o CC ipc/network_ipc.o CC mongoose/mongoose.o mongoose/mongoose.c:27:0: warning: "_LARGEFILE_SOURCE" redefined #define _LARGEFILE_SOURCE // Enable 64-bit file offsets :0:0: note: this is the location of the previous definition ipc/network_ipc.c: In function 'ipc_postupdate': ipc/network_ipc.c:89:17: warning: implicit declaration of function 'strndupa' [-Wimplicit-function-declaration] if ((tmpbuf = strndupa(msg->data.instmsg.buf, ^~~~~~~~ ipc/network_ipc.c:89:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((tmpbuf = strndupa(msg->data.instmsg.buf, ^ CC corelib/installer.o LD handlers/built-in.o CC corelib/network_thread.o CC ipc/progress_ipc.o mongoose/mongoose.c:362:24: warning: 'ssl_sw' defined but not used [-Wunused-variable] static struct ssl_func ssl_sw[] = { ^~~~~~ AR ipc/lib.a AR archival/lib.a CC core/cpio_utils.o CC core/notifier.o In file included from core/cpio_utils.c:28:0: core/cpio_utils.c: In function 'fill_buffer': include/sslapi.h:106:43: warning: statement with no effect [-Wunused-value] #define swupdate_HASH_update(p, buf, len) (-1) ^ core/cpio_utils.c:75:4: note: in expansion of macro 'swupdate_HASH_update' swupdate_HASH_update(dgst, buf, len); ^~~~~~~~~~~~~~~~~~~~ core/cpio_utils.c: In function 'copyfile': include/sslapi.h:107:45: warning: statement with no effect [-Wunused-value] #define swupdate_HASH_final(p, result, len) (-1) ^ core/cpio_utils.c:256:3: note: in expansion of macro 'swupdate_HASH_final' swupdate_HASH_final(dgst, md_value, &md_len); ^~~~~~~~~~~~~~~~~~~ CC corelib/parsing_library.o CC core/handler.o CC parser/parser.o CC core/util.o AR suricatta/lib.a CC mongoose/mongoose_interface.o CC bootloader/none.o AR corelib/lib.a CC tools/client.o AR bootloader/lib.a CC core/parser.o AR parser/lib.a CC core/pctl.o CC tools/hawkbitcfg.o CC core/syslog.o CC tools/progress.o CC tools/sendtohawkbit.o LD core/built-in.o AR mongoose/lib.a LD swupdate_unstripped AR tools/lib.a LD tools/client LD tools/hawkbitcfg LD tools/progress LD tools/sendtohawkbit Failed: -Wl,--start-group -lpthread -lz -Wl,--end-group Output of: /home/peko/autobuild/instance-2/output/host/bin/x86_64-linux-gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -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 --sysroot=/home/peko/autobuild/instance-2/output/host/x86_64-buildroot-linux-musl/sysroot -DNO_SSL -DUSE_IPV6 -o swupdate_unstripped -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group core/built-in.o handlers/built-in.o archival/lib.a corelib/lib.a ipc/lib.a mongoose/lib.a parser/lib.a suricatta/lib.a bootloader/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lz -Wl,--end-group ========== ipc/lib.a(network_ipc.o): In function `ipc_postupdate': network_ipc.c:(.text.ipc_postupdate+0x3e): undefined reference to `strndupa' collect2: error: ld returned 1 exit status make[1]: *** [swupdate_unstripped] Error 1 make[1]: *** Waiting for unfinished jobs.... STRIP tools/hawkbitcfg STRIP tools/sendtohawkbit STRIP tools/client STRIP tools/progress make[1]: Leaving directory `/home/peko/autobuild/instance-2/output/build/swupdate-2017.11' make: *** [/home/peko/autobuild/instance-2/output/build/swupdate-2017.11/.stamp_built] Error 2 make: Leaving directory `/home/peko/autobuild/instance-2/buildroot'