===> License LGPL21 accepted by the user ===> xpi-u2f4moz-v1.0.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xpi-u2f4moz-v1.0.1 for building ===> Extracting for xpi-u2f4moz-v1.0.1 => SHA256 Checksum OK for prefiks-u2f4moz-v1.0.1_GH0.tar.gz. ===> Patching for xpi-u2f4moz-v1.0.1 ===> xpi-u2f4moz-v1.0.1 depends on file: /usr/local/bin/cmake - found ===> xpi-u2f4moz-v1.0.1 depends on executable: ninja - found ===> xpi-u2f4moz-v1.0.1 depends on package: pkgconf>=1.3.0_1 - found ===> Configuring for xpi-u2f4moz-v1.0.1 ===> Performing in-source build /bin/mkdir -p /wrkdirs/u2f4moz-0cipiertest-port/work/u2f4moz-1.0.1 -- The C compiler identification is Clang 4.0.0 -- The CXX compiler identification is Clang 4.0.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: pkgconf (found version "1.3.7") -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.13 -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file syslog.h -- Looking for include file syslog.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/cdefs.h -- Looking for include file sys/cdefs.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file endian.h -- Looking for include file endian.h - not found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file stdalign.h -- Looking for include file stdalign.h - found -- Looking for vprintf -- Looking for vprintf - found -- Looking for _doprnt -- Looking for _doprnt - not found -- Looking for memcpm -- Looking for memcpm - not found -- Looking for realloc -- Looking for realloc - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for open -- Looking for open - found -- Looking for vsyslog -- Looking for vsyslog - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for INFINITY -- Looking for INFINITY - found -- Looking for NAN -- Looking for NAN - found -- Looking for isnan -- Looking for isnan - found -- Looking for isinf -- Looking for isinf - found -- Looking for _isinf -- Looking for _isinf - not found -- Looking for _finite -- Looking for _finite - not found -- Configuring done -- Generating done -- Build files have been written to: /wrkdirs/u2f4moz-0cipiertest-port/work/u2f4moz-1.0.1 ===> Building for xpi-u2f4moz-v1.0.1 [1/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/cdecode.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/cdecode.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/cdecode.c.o -c c_src/libu2f-host/cdecode.c [2/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/authenticate.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/authenticate.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/authenticate.c.o -c c_src/libu2f-host/authenticate.c c_src/libu2f-host/authenticate.c:94:30: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cnt = base64_encode_block (buf, len, b64enc, &b64ctx); ^~~ c_src/libu2f-host/b64/cencode.h:44:38: note: passing argument to parameter 'plaintext_in' here int base64_encode_block (const char *plaintext_in, int length_in, ^ c_src/libu2f-host/authenticate.c:164:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] data + HOSIZE + CHALLBINLEN + 1, &b64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_src/libu2f-host/b64/cdecode.h:44:11: note: passing argument to parameter 'plaintext_out' here char *plaintext_out, base64_decodestate * state_in); ^ 2 warnings generated. [3/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/cencode.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/cencode.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/cencode.c.o -c c_src/libu2f-host/cencode.c [4/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/error.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/error.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/error.c.o -c c_src/libu2f-host/error.c [5/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2f.dir/main.c.o -MF CMakeFiles/u2f.dir/main.c.o.d -o CMakeFiles/u2f.dir/main.c.o -c c_src/main.c [6/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/global.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/global.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/global.c.o -c c_src/libu2f-host/global.c [7/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/register.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/register.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/register.c.o -c c_src/libu2f-host/register.c c_src/libu2f-host/register.c:77:30: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cnt = base64_encode_block (buf, len, b64resp, &b64ctx); ^~~ c_src/libu2f-host/b64/cencode.h:44:38: note: passing argument to parameter 'plaintext_in' here int base64_encode_block (const char *plaintext_in, int length_in, ^ 1 warning generated. [8/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/devs.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/devs.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/devs.c.o -c c_src/libu2f-host/devs.c [9/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/arraylist.c.o -MF CMakeFiles/jsonc.dir/json-c/arraylist.c.o.d -o CMakeFiles/jsonc.dir/json-c/arraylist.c.o -c c_src/json-c/arraylist.c [10/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/u2fmisc.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/u2fmisc.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/u2fmisc.c.o -c c_src/libu2f-host/u2fmisc.c c_src/libu2f-host/u2fmisc.c:328:12: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (data, "%c%c%c%c%c%c%c", 0, cmd, p1, 0, 0, (dlen >> 8) & 0xff, ^~~~ /usr/include/stdio.h:277:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ c_src/libu2f-host/u2fmisc.c:328:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf (data, "%c%c%c%c%c%c%c", 0, cmd, p1, 0, 0, (dlen >> 8) & 0xff, ~~ ^~~~~~~~~~~~~~~~~~ %lu c_src/libu2f-host/u2fmisc.c:329:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] dlen & 0xff); ^~~~~~~~~~~ 3 warnings generated. [11/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/hidapi.dir/hidapi/hid-linux-libusb.c.o -MF CMakeFiles/hidapi.dir/hidapi/hid-linux-libusb.c.o.d -o CMakeFiles/hidapi.dir/hidapi/hid-linux-libusb.c.o -c c_src/hidapi/hid-linux-libusb.c c_src/hidapi/hid-linux-libusb.c:460:18: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] res = iconv(ic, &inptr, &inbytes, &outptr, &outbytes); ^~~~~~ /usr/include/iconv.h:56:41: note: passing argument to parameter here size_t iconv(iconv_t, char ** __restrict, ^ 1 warning generated. [12/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/debug.c.o -MF CMakeFiles/jsonc.dir/json-c/debug.c.o.d -o CMakeFiles/jsonc.dir/json-c/debug.c.o -c c_src/json-c/debug.c [13/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/json_c_version.c.o -MF CMakeFiles/jsonc.dir/json-c/json_c_version.c.o.d -o CMakeFiles/jsonc.dir/json-c/json_c_version.c.o -c c_src/json-c/json_c_version.c [14/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/json_object_iterator.c.o -MF CMakeFiles/jsonc.dir/json-c/json_object_iterator.c.o.d -o CMakeFiles/jsonc.dir/json-c/json_object_iterator.c.o -c c_src/json-c/json_object_iterator.c [15/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/json_util.c.o -MF CMakeFiles/jsonc.dir/json-c/json_util.c.o.d -o CMakeFiles/jsonc.dir/json-c/json_util.c.o -c c_src/json-c/json_util.c [16/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/libjson.c.o -MF CMakeFiles/jsonc.dir/json-c/libjson.c.o.d -o CMakeFiles/jsonc.dir/json-c/libjson.c.o -c c_src/json-c/libjson.c [17/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/json_object.c.o -MF CMakeFiles/jsonc.dir/json-c/json_object.c.o.d -o CMakeFiles/jsonc.dir/json-c/json_object.c.o -c c_src/json-c/json_object.c [18/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/printbuf.c.o -MF CMakeFiles/jsonc.dir/json-c/printbuf.c.o.d -o CMakeFiles/jsonc.dir/json-c/printbuf.c.o -c c_src/json-c/printbuf.c [19/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/random_seed.c.o -MF CMakeFiles/jsonc.dir/json-c/random_seed.c.o.d -o CMakeFiles/jsonc.dir/json-c/random_seed.c.o -c c_src/json-c/random_seed.c [20/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/linkhash.c.o -MF CMakeFiles/jsonc.dir/json-c/linkhash.c.o.d -o CMakeFiles/jsonc.dir/json-c/linkhash.c.o -c c_src/json-c/linkhash.c [21/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/jsonc.dir/json-c/json_tokener.c.o -MF CMakeFiles/jsonc.dir/json-c/json_tokener.c.o.d -o CMakeFiles/jsonc.dir/json-c/json_tokener.c.o -c c_src/json-c/json_tokener.c [22/23] /usr/bin/cc -Ic_src/json-c -Ic_src/libu2f-host -Ic_src/hidapi -I. -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fvisibility=hidden -MD -MT CMakeFiles/u2fhost.dir/libu2f-host/sha256.c.o -MF CMakeFiles/u2fhost.dir/libu2f-host/sha256.c.o.d -o CMakeFiles/u2fhost.dir/libu2f-host/sha256.c.o -c c_src/libu2f-host/sha256.c [23/23] : && /usr/bin/cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -fstack-protector CMakeFiles/u2fhost.dir/libu2f-host/authenticate.c.o CMakeFiles/u2fhost.dir/libu2f-host/cdecode.c.o CMakeFiles/u2fhost.dir/libu2f-host/cencode.c.o CMakeFiles/u2fhost.dir/libu2f-host/devs.c.o CMakeFiles/u2fhost.dir/libu2f-host/error.c.o CMakeFiles/u2fhost.dir/libu2f-host/global.c.o CMakeFiles/u2fhost.dir/libu2f-host/register.c.o CMakeFiles/u2fhost.dir/libu2f-host/u2fmisc.c.o CMakeFiles/u2fhost.dir/libu2f-host/sha256.c.o CMakeFiles/hidapi.dir/hidapi/hid-linux-libusb.c.o CMakeFiles/jsonc.dir/json-c/arraylist.c.o CMakeFiles/jsonc.dir/json-c/debug.c.o CMakeFiles/jsonc.dir/json-c/json_c_version.c.o CMakeFiles/jsonc.dir/json-c/json_object.c.o CMakeFiles/jsonc.dir/json-c/json_object_iterator.c.o CMakeFiles/jsonc.dir/json-c/json_tokener.c.o CMakeFiles/jsonc.dir/json-c/json_util.c.o CMakeFiles/jsonc.dir/json-c/libjson.c.o CMakeFiles/jsonc.dir/json-c/linkhash.c.o CMakeFiles/jsonc.dir/json-c/printbuf.c.o CMakeFiles/jsonc.dir/json-c/random_seed.c.o CMakeFiles/u2f.dir/main.c.o -o u2f -lpthread -lusb && : CMakeFiles/jsonc.dir/json-c/json_object.c.o: warning: Warning: please link against libjson-c instead of libjson 0