>>> swupdate 2017.11 Downloading --2018-01-13 07:40:34-- 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-13 07:40:35-- https://codeload.github.com/sbabic/swupdate/tar.gz/2017.11 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: `/home/test/autobuild/run/instance-1/output/build/.swupdate-2017.11.tar.gz.J5hUK8/output' 0K .......... .......... .......... .......... .......... 324K 50K .......... .......... .......... .......... .......... 633K 100K .......... .......... .......... .......... .......... 24.2M 150K .......... .......... .......... .......... .......... 648K 200K .......... .......... .......... .......... .......... 29.8M 250K .......... .......... .......... .......... .......... 33.5M 300K .......... .......... .......... .......... .......... 67.2M 350K .......... .......... .......... .......... .......... 673K 400K .......... .......... .......... .......... .......... 22.0M 450K .......... .......... .......... .......... .......... 25.6M 500K .......... .......... .......... .......... .......... 25.8M 550K .......... .......... .......... .......... .......... 27.0M 600K .......... .......... .......... .......... .......... 36.8M 650K .......... .......... .......... .......... .......... 1.57M 700K .......... .......... .......... .......... .......... 29.8M 750K .......... .......... .......... .......... .......... 1.31M 800K .......... .......... .......... .......... .......... 29.1M 850K .......... .......... .......... .......... .......... 32.4M 900K .......... .......... .......... .......... .......... 86.2M 950K .......... .......... .......... .......... .......... 53.2M 1000K .......... .......... .......... .......... .......... 35.9M 1050K .......... .......... .......... ...... 72.1K=1.0s 2018-01-13 07:40:37 (1.08 MB/s) - `/home/test/autobuild/run/instance-1/output/build/.swupdate-2017.11.tar.gz.J5hUK8/output' saved [1112902] swupdate-2017.11.tar.gz: OK (sha256: 1e15d9675cf7e23886dca7ea058498282c35679a555845dbc85ffe688f2cc681) >>> swupdate 2017.11 Extracting gzip -d -c /home/test/autobuild/run/instance-1/dl/swupdate-2017.11.tar.gz | tar --strip-components=1 -C /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11 -xf - >>> swupdate 2017.11 Patching Using /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config as base # # merged configuration written to /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config (needs make) # make[1]: Entering directory `/home/test/autobuild/run/instance-1/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/test/autobuild/run/instance-1/output/build/swupdate-2017.11' /bin/sed -i -e "/\\/d" /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config echo 'CONFIG_CROSS_COMPILE="/home/test/autobuild/run/instance-1/output/host/bin/i586-linux-"' >> /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config echo 'CONFIG_SYSROOT="/home/test/autobuild/run/instance-1/output/host/i586-buildroot-linux-musl/sysroot"' >> /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config echo 'CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os "' >> /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config /bin/sed -i -e "/\\/d" /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config echo 'CONFIG_EXTRA_LDFLAGS=""' >> /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.config make[1]: Entering directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' >>> swupdate 2017.11 Configuring >>> swupdate 2017.11 Building PATH="/home/test/autobuild/run/instance-1/output/host/bin:/home/test/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" HAVE_JSON_C=y HAVE_LIBARCHIVE=n HAVE_LIBCONFIG=y 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 -j4 -C /home/test/autobuild/run/instance-1/output/build/swupdate-2017.11 make[1]: Entering directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' make[1]: Entering directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' CC core/swupdate.o CC handlers/raw_handler.o CC core/cpio_utils.o CC archival/gun.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); ^~~~~~~~~~~~~~~~~~~ In file included from core/swupdate.c:42:0: core/swupdate.c: In function 'install_from_file': include/util.h:81:11: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t {aka long long int}' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^ include/util.h:99:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:328:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ include/util.h:88:14: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t {aka long long int}' [-Wformat=] "ERROR : " format, ## arg); \ ^ include/util.h:99:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:328:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ include/util.h:92:13: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t {aka long long int}' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^ include/util.h:99:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:328:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ LD handlers/built-in.o CC corelib/artifacts_versions.o CC corelib/installer.o AR archival/lib.a CC ipc/network_ipc.o 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 ipc/progress_ipc.o CC core/notifier.o CC core/handler.o CC mongoose/mongoose.o CC core/util.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 AR ipc/lib.a CC parser/parse_external.o CC corelib/network_thread.o CC parser/parser.o mongoose/mongoose.c:362:24: warning: 'ssl_sw' defined but not used [-Wunused-variable] static struct ssl_func ssl_sw[] = { ^~~~~~ CC corelib/parsing_library.o CC core/parser.o CC corelib/parsing_library_libconfig.o CC core/pctl.o CC corelib/progress_thread.o AR parser/lib.a CC corelib/stream_interface.o CC core/syslog.o LD core/built-in.o CC mongoose/mongoose_interface.o AR suricatta/lib.a CC bootloader/none.o AR bootloader/lib.a CC corelib/swupdate_dict.o CC corelib/swupdate_settings.o CC tools/client.o AR corelib/lib.a CC tools/hawkbitcfg.o CC tools/progress.o CC tools/sendtohawkbit.o AR tools/lib.a AR mongoose/lib.a LD swupdate_unstripped LD tools/client LD tools/hawkbitcfg LD tools/progress Failed: -Wl,--start-group -lpthread -lconfig -lz -Wl,--end-group Output of: /home/test/autobuild/run/instance-1/output/host/bin/i586-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/test/autobuild/run/instance-1/output/host/i586-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 -lconfig -lz -Wl,--end-group ========== ipc/lib.a(network_ipc.o): In function `ipc_postupdate': network_ipc.c:(.text.ipc_postupdate+0x39): 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/progress STRIP tools/client STRIP tools/hawkbitcfg make[1]: Leaving directory `/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11' make: *** [/home/test/autobuild/run/instance-1/output/build/swupdate-2017.11/.stamp_built] Error 2 make: Leaving directory `/home/test/autobuild/run/instance-1/buildroot'