+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcouchbase-2.5.6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcouchbase-2.5.6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libcouchbase-2.5.6 [ 0%] Building C object CMakeFiles/couchbase_utils.dir/contrib/genhash/genhash.c.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c: In function 'estimate_table_size': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c:17:52: warning: expression does not compute the number of elements in this array; element type is 'lcb_size_t' {aka 'long unsigned int'}, not 'int' [-Wsizeof-array-div] 17 | #define TABLE_SIZE ((int)(sizeof(prime_size_table) / sizeof(int))) | ^ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c:76:51: note: in expansion of macro 'TABLE_SIZE' 76 | while (prime_size_table[rv] < est && rv + 1 < TABLE_SIZE) { | ^~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c:17:52: note: add parentheses around the second 'sizeof' to silence this warning 17 | #define TABLE_SIZE ((int)(sizeof(prime_size_table) / sizeof(int))) | ^ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c:76:51: note: in expansion of macro 'TABLE_SIZE' 76 | while (prime_size_table[rv] < est && rv + 1 < TABLE_SIZE) { | ^~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/genhash/genhash.c:10:19: note: array 'prime_size_table' declared here 10 | static lcb_size_t prime_size_table[] = { | ^~~~~~~~~~~~~~~~ [ 1%] Building C object CMakeFiles/couchbase_utils.dir/src/strcodecs/base64.c.o [ 1%] Building C object CMakeFiles/couchbase_utils.dir/src/strcodecs/url_encoding.c.o [ 3%] Building C object CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o [ 3%] Building C object CMakeFiles/couchbase_utils.dir/src/hashtable.c.o [ 5%] Building C object CMakeFiles/couchbase_utils.dir/src/hashset.c.o [ 6%] Building C object CMakeFiles/couchbase_utils.dir/src/hostlist.c.o [ 6%] Building C object CMakeFiles/couchbase_utils.dir/src/list.c.o [ 8%] Building C object CMakeFiles/couchbase_utils.dir/src/logging.c.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/logging.c: In function 'console_log': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/logging.c:150:17: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'pid_t' {aka 'int'} [-Wformat=] 150 | fprintf(fp, "[I%d] {%"THREAD_ID_FMT"} [%s] (%s - L:%d) ", | ^~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/logging.c:52:33: note: format string is defined here 52 | #define THREAD_ID_FMT "ld/%u" | ^ | | | long int [ 8%] Building C object CMakeFiles/couchbase_utils.dir/src/packetutils.c.o [ 10%] Building C object CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o [ 10%] Building C object CMakeFiles/couchbase_utils.dir/src/simplestring.c.o [ 10%] Built target couchbase_utils [ 11%] Building C object CMakeFiles/netbuf.dir/src/netbuf/netbuf.c.o [ 11%] Built target netbuf [ 11%] Building C object CMakeFiles/netbuf-malloc.dir/src/netbuf/netbuf.c.o [ 11%] Built target netbuf-malloc [ 11%] Building C object CMakeFiles/mcreq.dir/src/mc/compress.c.o [ 13%] Building C object CMakeFiles/mcreq.dir/src/mc/forward.c.o [ 13%] Building C object CMakeFiles/mcreq.dir/src/mc/mcreq.c.o [ 13%] Built target mcreq [ 15%] Building C object CMakeFiles/rdb.dir/src/rdb/bigalloc.c.o [ 16%] Building C object CMakeFiles/rdb.dir/src/rdb/chunkalloc.c.o [ 16%] Building C object CMakeFiles/rdb.dir/src/rdb/libcalloc.c.o [ 18%] Building C object CMakeFiles/rdb.dir/src/rdb/rope.c.o [ 18%] Built target rdb [ 20%] Building C object CMakeFiles/lcbio.dir/src/lcbio/connect.c.o [ 20%] Building C object CMakeFiles/lcbio.dir/src/lcbio/ctx.c.o [ 21%] Building C object CMakeFiles/lcbio.dir/src/lcbio/iotable.c.o [ 21%] Building C object CMakeFiles/lcbio.dir/src/lcbio/ioutils.c.o [ 23%] Building C object CMakeFiles/lcbio.dir/src/lcbio/manager.c.o [ 23%] Building C object CMakeFiles/lcbio.dir/src/lcbio/protoctx.c.o [ 25%] Building C object CMakeFiles/lcbio.dir/src/lcbio/timer.c.o [ 25%] Built target lcbio [ 26%] Building C object CMakeFiles/lcbht.dir/src/lcbht/lcbht.c.o [ 26%] Building C object CMakeFiles/lcbht.dir/contrib/http_parser/http_parser.c.o [ 26%] Built target lcbht [ 28%] Building C object CMakeFiles/lcbcore.dir/src/operations/cbflush.c.o [ 28%] Building C object CMakeFiles/lcbcore.dir/src/operations/counter.c.o In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/counter.c:18: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/counter.c: In function 'lcb_counter3': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:38:22: warning: passing argument 4 of '__dtrace_libcouchbase___arithmetic_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | (cmd)->key.contig.bytes, (cmd)->key.contig.nbytes, ## __VA_ARGS__) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:37:5: note: in expansion of macro 'LIBCOUCHBASE_ARITHMETIC_BEGIN' 37 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:71:11: note: in expansion of macro 'TRACE_BEGIN_COMMON' 71 | TRACE(TRACE_BEGIN_COMMON(LIBCOUCHBASE_ARITHMETIC_BEGIN, req, cmd, \ | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/counter.c:75:5: note: in expansion of macro 'TRACE_ARITHMETIC_BEGIN' 75 | TRACE_ARITHMETIC_BEGIN(hdr, cmd); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:28: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:270:83: note: expected 'char *' but argument is of type 'const void *' 270 | extern void __dtrace_libcouchbase___arithmetic_begin(uint32_t, uint16_t, uint8_t, char *, size_t, uint64_t, uint64_t, uint32_t); | ^~~~~~ [ 30%] Building C object CMakeFiles/lcbcore.dir/src/operations/durability-cas.c.o [ 30%] Building C object CMakeFiles/lcbcore.dir/src/operations/durability-seqno.c.o [ 31%] Building C object CMakeFiles/lcbcore.dir/src/operations/durability.c.o [ 33%] Building C object CMakeFiles/lcbcore.dir/src/operations/get.c.o In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/get.c:19: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/get.c: In function 'lcb_get3': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:38:22: warning: passing argument 4 of '__dtrace_libcouchbase___get_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | (cmd)->key.contig.bytes, (cmd)->key.contig.nbytes, ## __VA_ARGS__) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:37:5: note: in expansion of macro 'LIBCOUCHBASE_GET_BEGIN' 37 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:52:11: note: in expansion of macro 'TRACE_BEGIN_COMMON' 52 | TRACE(TRACE_BEGIN_COMMON(LIBCOUCHBASE_GET_BEGIN, req, cmd, (cmd)->exptime)) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/get.c:77:5: note: in expansion of macro 'TRACE_GET_BEGIN' 77 | TRACE_GET_BEGIN(hdr, cmd); | ^~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:28: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:300:76: note: expected 'char *' but argument is of type 'const void *' 300 | extern void __dtrace_libcouchbase___get_begin(uint32_t, uint16_t, uint8_t, char *, size_t, uint32_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/get.c: In function 'lcb_unlock3': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:42:26: warning: passing argument 4 of '__dtrace_libcouchbase___unlock_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | (cmd)->key.contig.bytes, (cmd)->key.contig.nbytes) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:41:5: note: in expansion of macro 'LIBCOUCHBASE_UNLOCK_BEGIN' 41 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:59:44: note: in expansion of macro 'TRACE_BEGIN_SIMPLE' 59 | #define TRACE_UNLOCK_BEGIN(req, cmd) TRACE(TRACE_BEGIN_SIMPLE(LIBCOUCHBASE_UNLOCK_BEGIN, req, cmd)) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/get.c:147:5: note: in expansion of macro 'TRACE_UNLOCK_BEGIN' 147 | TRACE_UNLOCK_BEGIN(&hdr, cmd); | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:396:79: note: expected 'char *' but argument is of type 'const void *' 396 | extern void __dtrace_libcouchbase___unlock_begin(uint32_t, uint16_t, uint8_t, char *, size_t); | ^~~~~~ [ 33%] Building C object CMakeFiles/lcbcore.dir/src/operations/observe-seqno.c.o [ 35%] Building C object CMakeFiles/lcbcore.dir/src/operations/observe.c.o [ 35%] Building C object CMakeFiles/lcbcore.dir/src/operations/pktfwd.c.o [ 36%] Building C object CMakeFiles/lcbcore.dir/src/operations/remove.c.o In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/remove.c:19: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/remove.c: In function 'lcb_remove3': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:42:26: warning: passing argument 4 of '__dtrace_libcouchbase___remove_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | (cmd)->key.contig.bytes, (cmd)->key.contig.nbytes) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:41:5: note: in expansion of macro 'LIBCOUCHBASE_REMOVE_BEGIN' 41 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:82:44: note: in expansion of macro 'TRACE_BEGIN_SIMPLE' 82 | #define TRACE_REMOVE_BEGIN(req, cmd) TRACE(TRACE_BEGIN_SIMPLE(LIBCOUCHBASE_REMOVE_BEGIN, req, cmd)) | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/remove.c:52:5: note: in expansion of macro 'TRACE_REMOVE_BEGIN' 52 | TRACE_REMOVE_BEGIN(&hdr, cmd); | ^~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:28: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:342:79: note: expected 'char *' but argument is of type 'const void *' 342 | extern void __dtrace_libcouchbase___remove_begin(uint32_t, uint16_t, uint8_t, char *, size_t); | ^~~~~~ [ 36%] Building C object CMakeFiles/lcbcore.dir/src/operations/stats.c.o [ 38%] Building C object CMakeFiles/lcbcore.dir/src/operations/store.c.o In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/store.c:19: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/store.c: In function 'do_store3': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:38:22: warning: passing argument 4 of '__dtrace_libcouchbase___store_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | (cmd)->key.contig.bytes, (cmd)->key.contig.nbytes, ## __VA_ARGS__) | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:37:5: note: in expansion of macro 'LIBCOUCHBASE_STORE_BEGIN' 37 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:63:11: note: in expansion of macro 'TRACE_BEGIN_COMMON' 63 | TRACE(TRACE_BEGIN_COMMON(LIBCOUCHBASE_STORE_BEGIN, req, cmd, \ | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/store.c:309:5: note: in expansion of macro 'TRACE_STORE_BEGIN' 309 | TRACE_STORE_BEGIN(hdr, (lcb_CMDSTORE* )cmd); | ^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:28: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:372:78: note: expected 'char *' but argument is of type 'const void *' 372 | extern void __dtrace_libcouchbase___store_begin(uint32_t, uint16_t, uint8_t, char *, size_t, char *, size_t, uint32_t, uint64_t, uint8_t, uint32_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:64:51: warning: passing argument 6 of '__dtrace_libcouchbase___store_begin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ( (cmd)->value.vtype == LCB_KV_IOV ? NULL : (cmd)->value.u_buf.contig.bytes ),\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:37:5: note: in expansion of macro 'LIBCOUCHBASE_STORE_BEGIN' 37 | TGT((req)->request.opaque, ntohs((req)->request.vbucket), (req)->request.opcode, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:63:11: note: in expansion of macro 'TRACE_BEGIN_COMMON' 63 | TRACE(TRACE_BEGIN_COMMON(LIBCOUCHBASE_STORE_BEGIN, req, cmd, \ | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/operations/store.c:309:5: note: in expansion of macro 'TRACE_STORE_BEGIN' 309 | TRACE_STORE_BEGIN(hdr, (lcb_CMDSTORE* )cmd); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:372:94: note: expected 'char *' but argument is of type 'const void *' 372 | extern void __dtrace_libcouchbase___store_begin(uint32_t, uint16_t, uint8_t, char *, size_t, char *, size_t, uint32_t, uint64_t, uint8_t, uint32_t); | ^~~~~~ [ 38%] Building C object CMakeFiles/lcbcore.dir/src/operations/touch.c.o [ 40%] Building C object CMakeFiles/lcbcore.dir/src/bucketconfig/bc_cccp.c.o [ 41%] Building C object CMakeFiles/lcbcore.dir/src/bucketconfig/bc_file.c.o [ 41%] Building C object CMakeFiles/lcbcore.dir/src/bucketconfig/bc_http.c.o [ 43%] Building C object CMakeFiles/lcbcore.dir/src/bucketconfig/bc_mcraw.c.o [ 43%] Building C object CMakeFiles/lcbcore.dir/src/bucketconfig/confmon.c.o [ 45%] Building C object CMakeFiles/lcbcore.dir/src/bootstrap.c.o [ 45%] Building C object CMakeFiles/lcbcore.dir/src/callbacks.c.o [ 46%] Building C object CMakeFiles/lcbcore.dir/src/cntl.c.o [ 46%] Building C object CMakeFiles/lcbcore.dir/src/dump.c.o [ 48%] Building C object CMakeFiles/lcbcore.dir/src/connspec.c.o [ 48%] Building C object CMakeFiles/lcbcore.dir/src/handler.c.o In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:22: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_get': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___get_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_GET_END' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:55:11: note: in expansion of macro 'TRACE_END_COMMON' 55 | TRACE(TRACE_END_COMMON(LIBCOUCHBASE_GET_END, mcresp, resp, \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:299:5: note: in expansion of macro 'TRACE_GET_END' 299 | TRACE_GET_END(response, &resp); | ^~~~~~~~~~~~~ In file included from /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:28: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:306:84: note: expected 'char *' but argument is of type 'const void *' 306 | extern void __dtrace_libcouchbase___get_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, void *, size_t, uint32_t, uint64_t, uint8_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_delete': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___remove_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_REMOVE_END' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:84:11: note: in expansion of macro 'TRACE_END_COMMON' 84 | TRACE(TRACE_END_COMMON(LIBCOUCHBASE_REMOVE_END, mcresp, resp, (resp)->cas)) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:500:5: note: in expansion of macro 'TRACE_REMOVE_END' 500 | TRACE_REMOVE_END(response, &w.resp); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:348:87: note: expected 'char *' but argument is of type 'const void *' 348 | extern void __dtrace_libcouchbase___remove_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, uint64_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_observe': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___observe_progress' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_OBSERVE_PROGRESS' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:92:11: note: in expansion of macro 'TRACE_END_COMMON' 92 | TRACE(TRACE_END_COMMON(LIBCOUCHBASE_OBSERVE_PROGRESS,mcresp,resp, \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:564:9: note: in expansion of macro 'TRACE_OBSERVE_PROGRESS' 564 | TRACE_OBSERVE_PROGRESS(response, &resp); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:336:93: note: expected 'char *' but argument is of type 'const void *' 336 | extern void __dtrace_libcouchbase___observe_progress(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, uint64_t, uint8_t, uint8_t, uint32_t, uint32_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_store': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___store_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_STORE_END' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:68:45: note: in expansion of macro 'TRACE_END_COMMON' 68 | #define TRACE_STORE_END(mcresp, resp) TRACE(TRACE_END_COMMON(LIBCOUCHBASE_STORE_END, mcresp, resp, (resp)->cas)) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:636:5: note: in expansion of macro 'TRACE_STORE_END' 636 | TRACE_STORE_END(response, &w.resp); | ^~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:378:86: note: expected 'char *' but argument is of type 'const void *' 378 | extern void __dtrace_libcouchbase___store_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, uint64_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_arithmetic': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___arithmetic_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_ARITHMETIC_END' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:75:11: note: in expansion of macro 'TRACE_END_COMMON' 75 | TRACE(TRACE_END_COMMON(LIBCOUCHBASE_ARITHMETIC_END, mcresp, resp, (resp)->value, (resp)->cas)) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:659:5: note: in expansion of macro 'TRACE_ARITHMETIC_END' 659 | TRACE_ARITHMETIC_END(response, &w.resp); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:276:91: note: expected 'char *' but argument is of type 'const void *' 276 | extern void __dtrace_libcouchbase___arithmetic_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, uint64_t, uint64_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_touch': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:76: warning: passing argument 5 of '__dtrace_libcouchbase___touch_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:45:5: note: in expansion of macro 'LIBCOUCHBASE_TOUCH_END' 45 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey, \ | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:80:11: note: in expansion of macro 'TRACE_END_COMMON' 80 | TRACE(TRACE_END_COMMON(LIBCOUCHBASE_TOUCH_END, mcresp, resp, (resp)->cas)) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:731:5: note: in expansion of macro 'TRACE_TOUCH_END' 731 | TRACE_TOUCH_END(response, &resp); | ^~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:390:86: note: expected 'char *' but argument is of type 'const void *' 390 | extern void __dtrace_libcouchbase___touch_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t, uint64_t); | ^~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c: In function 'H_unlock': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:49:76: warning: passing argument 5 of '__dtrace_libcouchbase___unlock_end' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey) | ~~~~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:29:22: note: in definition of macro 'TRACE' 29 | #define TRACE(probe) probe | ^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:49:5: note: in expansion of macro 'LIBCOUCHBASE_UNLOCK_END' 49 | TGT(PACKET_OPAQUE(mcresp), 0, PACKET_OPCODE(mcresp), (resp)->rc, (resp)->key, (resp)->nkey) | ^~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/trace.h:60:46: note: in expansion of macro 'TRACE_END_SIMPLE' 60 | #define TRACE_UNLOCK_END(mcresp, resp) TRACE(TRACE_END_SIMPLE(LIBCOUCHBASE_UNLOCK_END, mcresp, resp)) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/handler.c:753:5: note: in expansion of macro 'TRACE_UNLOCK_END' 753 | TRACE_UNLOCK_END(response, &resp); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/generated/probes.h:402:87: note: expected 'char *' but argument is of type 'const void *' 402 | extern void __dtrace_libcouchbase___unlock_end(uint32_t, uint16_t, uint8_t, uint16_t, char *, size_t); | ^~~~~~ [ 50%] Building C object CMakeFiles/lcbcore.dir/src/getconfig.c.o [ 51%] Building C object CMakeFiles/lcbcore.dir/src/instance.c.o [ 51%] Building C object CMakeFiles/lcbcore.dir/src/legacy.c.o [ 53%] Building C object CMakeFiles/lcbcore.dir/src/mcserver/negotiate.c.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/mcserver/negotiate.c: In function 'setup_sasl_params': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/mcserver/negotiate.c:108:25: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 108 | callbacks[0].proc = (int( *)(void)) &sasl_get_username; | ^ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/mcserver/negotiate.c:111:25: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] 111 | callbacks[1].proc = (int( *)(void)) &sasl_get_username; | ^ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/mcserver/negotiate.c:114:25: warning: cast between incompatible function types from 'int (*)(cbsasl_conn_t *, void *, int, cbsasl_secret_t **)' {aka 'int (*)(struct cbsasl_conn_st *, void *, int, cbsasl_secret_t **)'} to 'int (*)(void)' [-Wcast-function-type] 114 | callbacks[2].proc = (int( *)(void)) &sasl_get_password; | ^ [ 53%] Building C object CMakeFiles/lcbcore.dir/src/mcserver/mcserver.c.o [ 55%] Building C object CMakeFiles/lcbcore.dir/src/newconfig.c.o [ 55%] Building C object CMakeFiles/lcbcore.dir/src/nodeinfo.c.o [ 56%] Building C object CMakeFiles/lcbcore.dir/src/iofactory.c.o [ 56%] Building C object CMakeFiles/lcbcore.dir/src/retryq.c.o [ 58%] Building C object CMakeFiles/lcbcore.dir/src/retrychk.c.o [ 60%] Building C object CMakeFiles/lcbcore.dir/src/settings.c.o [ 60%] Building C object CMakeFiles/lcbcore.dir/src/utilities.c.o [ 61%] Building C object CMakeFiles/lcbcore.dir/src/wait.c.o [ 61%] Building C object CMakeFiles/lcbcore.dir/src/timings.c.o [ 61%] Built target lcbcore [ 63%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/http/http.cc.o [ 63%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/http/http_io.cc.o [ 65%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/n1ql/params.cc.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/n1ql/params.cc: In function 'void encode_mutation_token(Json::Value&, const lcb_MUTATION_TOKEN*)': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/n1ql/params.cc:93:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 93 | sprintf(buf, "%llu", sv->uuid_); | ~~~^ ~~~~~~~~~ | | | | | long unsigned int | long long unsigned int | %lu [ 65%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/n1ql/n1ql.cc.o [ 66%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/operations/subdoc.cc.o [ 66%] Built target lcbcore-cxx [ 68%] Building C object CMakeFiles/lcb_views_c.dir/src/views/docreq.c.o [ 68%] Building C object CMakeFiles/lcb_views_c.dir/src/views/viewreq.c.o [ 68%] Built target lcb_views_c [ 68%] Building CXX object CMakeFiles/lcb_jsparse.dir/src/jsparse/parser.cc.o [ 68%] Built target lcb_jsparse [ 70%] Building C object src/vbucket/CMakeFiles/vbucket.dir/vbucket.c.o [ 70%] Building C object src/vbucket/CMakeFiles/vbucket.dir/ketama.c.o [ 71%] Building C object src/vbucket/CMakeFiles/vbucket.dir/__/__/contrib/cJSON/cJSON.c.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c: In function 'cJSON_strcasecmp': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:38:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 38 | if (!s1) return (s1==s2)?0:1;if (!s2) return 1; | ^~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:38:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 38 | if (!s1) return (s1==s2)?0:1;if (!s2) return 1; | ^~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c: In function 'print_object': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:573:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 573 | if (fmt) *ptr++='\n';*ptr=0; | ^~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:573:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 573 | if (fmt) *ptr++='\n';*ptr=0; | ^ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c: In function 'cJSON_DetachItemFromArray': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:600:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 600 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:600:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 600 | if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} | ^~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c: In function 'parse_string': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:290:67: warning: this statement may fall through [-Wimplicit-fallthrough=] 290 | case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:291:25: note: here 291 | case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ^~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:291:67: warning: this statement may fall through [-Wimplicit-fallthrough=] 291 | case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; | ~~~^~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/contrib/cJSON/cJSON.c:292:25: note: here 292 | case 1: *--ptr2 =(uc | firstByteMark[len]); | ^~~~ [ 71%] Built target vbucket [ 71%] Building C object contrib/cbsasl/CMakeFiles/cbsasl.dir/src/client.c.o [ 73%] Building C object contrib/cbsasl/CMakeFiles/cbsasl.dir/src/common.c.o [ 73%] Building C object contrib/cbsasl/CMakeFiles/cbsasl.dir/src/hash.c.o [ 75%] Building C object contrib/cbsasl/CMakeFiles/cbsasl.dir/src/cram-md5/hmac.c.o [ 76%] Building C object contrib/cbsasl/CMakeFiles/cbsasl.dir/src/cram-md5/md5.c.o [ 76%] Built target cbsasl [ 78%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_e.c.o [ 78%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_c.c.o [ 80%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_common.c.o /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/ssl/ssl_common.c: In function 'iotssl_log_errors': /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/ssl/ssl_common.c:159:18: error: 'SSL_R_MISSING_VERIFY_MESSAGE' undeclared (first use in this function) 159 | case SSL_R_MISSING_VERIFY_MESSAGE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/ssl/ssl_common.c:159:18: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/ssl/ssl_common.c: At top level: /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6/src/ssl/ssl_common.c:400:1: warning: 'ossl_lockfn' defined but not used [-Wunused-function] 400 | ossl_lockfn(int mode, int lkid, const char *f, int line) | ^~~~~~~~~~~ *** [src/ssl/CMakeFiles/lcbssl.dir/ssl_common.c.o] Error code 1 bmake[2]: stopped making "src/ssl/CMakeFiles/lcbssl.dir/build" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 bmake[2]: 1 error bmake[2]: stopped making "src/ssl/CMakeFiles/lcbssl.dir/build" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 *** [src/ssl/CMakeFiles/lcbssl.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/wip/libcouchbase/work/libcouchbase-2.5.6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wip/libcouchbase *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/wip/libcouchbase