couchbaselabs / couchbase-rs

The official, community supported Couchbase Rust SDK

Home Page:https://couchbase.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build failed with x86_64-unknown-linux-musl

x2x4com opened this issue · comments

OS: MacOS BigSur 11.6 (20G165)
Ver: 1.0.0-alpha.4
Rust Ver: rustc 1.58.0-nightly (dd549dcab 2021-11-25)
build cmd: OPENSSL_DIR=/usr/local/Cellar/openssl@1.1/1.1.1l_1 cargo build --release -v --target x86_64-unknown-linux-musl

Error details:

error: failed to run custom build command for couchbase-sys v1.0.0-alpha.4

Caused by:
process didn't exit successfully: /Users/xuja1/git/local/hype-healthcheck/target/release/build/couchbase-sys-a289be1c71a56a6d/build-script-main (exit status: 101)
--- stdout
running: "cmake" "/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DLCB_NO_TESTS=ON" "-DLCB_NO_TOOLS=ON" "-DLCB_NO_MOCK=ON" "-DLCB_BUILD_LIBEV=OFF" "-DLCB_BUILD_LIBUV=OFF" "-DCMAKE_INSTALL_PREFIX=/Users/xuja1/git/local/hype-healthcheck/target/x86_64-unknown-linux-musl/release/build/couchbase-sys-fe83607a16aa525e/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -static" "-DCMAKE_C_COMPILER=/usr/local/bin/musl-gcc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -static" "-DCMAKE_CXX_COMPILER=/usr/local/bin/musl-g++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -static" "-DCMAKE_ASM_COMPILER=/usr/local/bin/musl-gcc"
-- Found libevent in /usr/local/include : /usr/local/lib/libevent_core.dylib
-- Sanitized VERSION=
-- libcouchbase 3,0,3
-- Building libcouchbase 3.0.3/0xdeadbeef
-- Found OpenSSL Prefix: /usr/local/opt/openssl@3
-- SSL Found: 1.1.1l (/usr/local/Cellar/openssl@1.1/1.1.1l_1/lib/libssl.dylib;/usr/local/Cellar/openssl@1.1/1.1.1l_1/lib/libcrypto.dylib)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/xuja1/git/local/hype-healthcheck/target/x86_64-unknown-linux-musl/release/build/couchbase-sys-fe83607a16aa525e/out/build
running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--"
Consolidate compiler generated dependencies of target netbuf
Consolidate compiler generated dependencies of target netbuf-malloc
Consolidate compiler generated dependencies of target mcreq
Consolidate compiler generated dependencies of target couchbase_utils
Consolidate compiler generated dependencies of target mcreq-cxx
Consolidate compiler generated dependencies of target rdb
Consolidate compiler generated dependencies of target lcbht
Consolidate compiler generated dependencies of target lcbio
Consolidate compiler generated dependencies of target lcbio-cxx
Consolidate compiler generated dependencies of target couchbase_select
[ 1%] Built target netbuf
Consolidate compiler generated dependencies of target lcbcore
Consolidate compiler generated dependencies of target lcb_jsparse
Consolidate compiler generated dependencies of target vbucket-lcb
[ 2%] Built target netbuf-malloc
Consolidate compiler generated dependencies of target cbsasl-lcb
[ 3%] Building C object CMakeFiles/mcreq.dir/src/mc/forward.c.o
[ 7%] Building CXX object CMakeFiles/mcreq-cxx.dir/src/mc/compress.cc.o
[ 9%] Built target lcbht
[ 9%] Built target rdb
Consolidate compiler generated dependencies of target lcbssl
[ 10%] Building C object CMakeFiles/lcbio.dir/src/lcbio/ctx.c.o
[ 11%] Building C object CMakeFiles/mcreq.dir/src/mc/mcreq.c.o
[ 12%] Building C object CMakeFiles/lcbio.dir/src/lcbio/iotable.c.o
[ 13%] Building C object CMakeFiles/couchbase_utils.dir/contrib/genhash/genhash.c.o
[ 15%] Building C object plugins/io/select/CMakeFiles/couchbase_select.dir/plugin-select.c.o
[ 16%] Building CXX object CMakeFiles/lcbio-cxx.dir/src/lcbio/connect.cc.o
[ 16%] Building C object src/vbucket/CMakeFiles/vbucket-lcb.dir/vbucket.c.o
[ 19%] Building C object src/vbucket/CMakeFiles/vbucket-lcb.dir/ketama.c.o
[ 19%] Building CXX object CMakeFiles/lcbio-cxx.dir/src/lcbio/ioutils.cc.o
[ 19%] Built target lcb_jsparse
[ 20%] Building C object contrib/cbsasl/CMakeFiles/cbsasl-lcb.dir/src/client.c.o
[ 20%] Building C object CMakeFiles/lcbcore.dir/src/callbacks.c.o
Consolidate compiler generated dependencies of target lcbcore-cxx
[ 21%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_e.c.o
[ 22%] Building C object CMakeFiles/lcbio.dir/src/lcbio/protoctx.c.o
[ 22%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/instance.cc.o
[ 23%] Building C object contrib/cbsasl/CMakeFiles/cbsasl-lcb.dir/src/common.c.o
Consolidate compiler generated dependencies of target lcb_jsoncpp
[ 24%] Building C object CMakeFiles/lcbcore.dir/src/iofactory.c.o
Consolidate compiler generated dependencies of target lcb_snappy
[ 25%] Built target lcb_jsoncpp
[ 26%] Building C object contrib/cbsasl/CMakeFiles/cbsasl-lcb.dir/src/hash.c.o
[ 27%] Building CXX object contrib/snappy/CMakeFiles/lcb_snappy.dir/snappy-c.cc.o
Consolidate compiler generated dependencies of target cliopts
[ 28%] Building C object contrib/cbsasl/CMakeFiles/cbsasl-lcb.dir/src/scram-sha/scram_utils.c.o
[ 29%] Built target cliopts
[ 30%] Building C object CMakeFiles/lcbio.dir/src/lcbio/timer.c.o
Consolidate compiler generated dependencies of target couchbase_libevent
[ 31%] Building C object plugins/io/libevent/CMakeFiles/couchbase_libevent.dir/plugin-libevent.c.o
[ 32%] Building C object CMakeFiles/couchbase_utils.dir/src/gethrtime.c.o
[ 32%] Built target couchbase_select
[ 32%] Building C object CMakeFiles/couchbase_utils.dir/src/hashtable.c.o
[ 33%] Building C object CMakeFiles/lcbcore.dir/src/settings.c.o
[ 34%] Building C object CMakeFiles/lcbcore.dir/src/utilities.c.o
[ 35%] Building C object CMakeFiles/lcbcore.dir/src/timings.c.o
[ 36%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_c.c.o
[ 36%] Built target lcbio
[ 37%] Building C object src/ssl/CMakeFiles/lcbssl.dir/ssl_common.c.o
[ 38%] Building CXX object contrib/snappy/CMakeFiles/lcb_snappy.dir/snappy-stubs-internal.cc.o
[ 39%] Building CXX object contrib/snappy/CMakeFiles/lcb_snappy.dir/snappy.cc.o
[ 40%] Building C object CMakeFiles/couchbase_utils.dir/src/list.c.o
[ 41%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/analytics/analytics.cc.o
[ 43%] Built target cbsasl-lcb
[ 44%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bootstrap.cc.o
[ 45%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/bc_cccp.cc.o
[ 46%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/bc_http.cc.o
[ 46%] Built target lcbcore
[ 47%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/bc_file.cc.o
[ 48%] Building C object CMakeFiles/couchbase_utils.dir/src/logging.c.o
[ 49%] Building C object CMakeFiles/couchbase_utils.dir/src/ringbuffer.c.o
[ 49%] Built target mcreq
[ 49%] Building CXX object CMakeFiles/lcbio-cxx.dir/src/lcbio/manager.cc.o
[ 50%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/bc_static.cc.o
[ 50%] Built target lcbssl
[ 51%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/confmon.cc.o
[ 52%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/collections.cc.o
[ 53%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/connspec.cc.o
[ 54%] Built target vbucket-lcb
[ 55%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/crypto.cc.o
[ 55%] Built target mcreq-cxx
[ 56%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/dns-srv.cc.o
[ 57%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/dump.cc.o
[ 58%] Built target couchbase_utils
[ 59%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/errmap.cc.o
[ 60%] Built target lcb_snappy
[ 60%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/getconfig.cc.o
[ 61%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/nodeinfo.cc.o
[ 62%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/handler.cc.o
[ 63%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/hostlist.cc.o
[ 64%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/http/http.cc.o
[ 65%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/http/http_io.cc.o
[ 66%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/lcbht/lcbht.cc.o
[ 67%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/newconfig.cc.o
[ 67%] Built target lcbio-cxx

--- stderr
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:44:16: warning: redefinition of typedef 'event_callback_fn' [-Wpedantic]
44 | typedef void (*event_callback_fn)(evutil_socket_t, short, void *);
| ^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1014:16: note: previous declaration of 'event_callback_fn' was here
1014 | typedef void (*event_callback_fn)(evutil_socket_t, short, void *);
| ^~~~~~~~~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:46:12: error: static declaration of 'event_assign' follows non-static declaration
46 | static int event_assign(struct event *ev, struct event_base *base, evutil_socket_t fd, short events,
| ^~~~~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1132:5: note: previous declaration of 'event_assign' was here
1132 | int event_assign(struct event *, struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
| ^~~~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c: In function 'event_assign':
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:49:9: error: 'struct event' has no member named 'ev_callback'; did you mean 'ev_evcallback'?
49 | ev->ev_callback = callback;
| ^~~~~~~~~~~
| ev_evcallback
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:50:7: error: 'struct event' has no member named 'ev_arg'
50 | ev->ev_arg = arg;
| ^~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:54:7: error: 'struct event' has no member named 'ev_flags'
54 | ev->ev_flags = EVLIST_INIT;
| ^~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:55:7: error: 'struct event' has no member named 'ev_ncalls'
55 | ev->ev_ncalls = 0;
| ^~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:56:7: error: 'struct event' has no member named 'ev_pncalls'
56 | ev->ev_pncalls = NULL;
| ^~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c: At top level:
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:62:22: error: static declaration of 'event_new' follows non-static declaration
62 | static struct event *event_new(struct event_base *base, evutil_socket_t fd, short events, event_callback_fn cb,
| ^~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1090:15: note: previous declaration of 'event_new' was here
1090 | struct event *event_new(struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
| ^~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:77:13: error: static declaration of 'event_free' follows non-static declaration
77 | static void event_free(struct event *ev)
| ^~~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1141:6: note: previous declaration of 'event_free' was here
1141 | void event_free(struct event *);
| ^~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:82:14: error: static declaration of 'event_get_events' follows non-static declaration
82 | static short event_get_events(const struct event *ev)
| ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1358:7: note: previous declaration of 'event_get_events' was here
1358 | short event_get_events(const struct event *ev);
| ^~~~~~~~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:87:26: error: static declaration of 'event_get_callback' follows non-static declaration
87 | static event_callback_fn event_get_callback(const struct event *ev)
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/event.h:69,
from /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:26:
/usr/local/include/event2/event.h:1364:19: note: previous declaration of 'event_get_callback' was here
1364 | event_callback_fn event_get_callback(const struct event *ev);
| ^~~~~~~~~~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c: In function 'event_get_callback':
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:89:16: error: 'const struct event' has no member named 'ev_callback'; did you mean 'ev_evcallback'?
89 | return ev->ev_callback;
| ^~~~~~~~~~~
| ev_evcallback
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/plugins/io/libevent/plugin-libevent.c:90:1: warning: control reaches end of non-void function [-Wreturn-type]
90 | }
| ^
gmake[2]: *** [plugins/io/libevent/CMakeFiles/couchbase_libevent.dir/build.make:76: plugins/io/libevent/CMakeFiles/couchbase_libevent.dir/plugin-libevent.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:921: plugins/io/libevent/CMakeFiles/couchbase_libevent.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/ssl/ssl_common.c:492:13: warning: 'ossl_lockfn' defined but not used [-Wunused-function]
492 | static void ossl_lockfn(int mode, int lkid, const char f, int line)
| ^~~~~~~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/errmap.cc: In function 'lcb_RETRY_ACTION lcb_retry_strategy_fail_fast(lcb_RETRY_REQUEST
, lcb_RETRY_REASON)':
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/errmap.cc:252:66: warning: unused parameter 'req' [-Wunused-parameter]
252 | lcb_RETRY_ACTION lcb_retry_strategy_fail_fast(lcb_RETRY_REQUEST *req, lcb_RETRY_REASON reason) {
| ~~~~~~~~~~~~~~~~~~~^~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/errmap.cc:252:88: warning: unused parameter 'reason' [-Wunused-parameter]
252 | lcb_RETRY_ACTION lcb_retry_strategy_fail_fast(lcb_RETRY_REQUEST *req, lcb_RETRY_REASON reason) {
| ~~~~~~~~~~~~~~~~~^~~~~~
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/bucketconfig/confmon.cc: Assembler messages:
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/bucketconfig/confmon.cc:171: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/bucketconfig/confmon.cc:171: Error: unknown pseudo-op: .reference'
gmake[2]: *** [CMakeFiles/lcbcore-cxx.dir/build.make:188: CMakeFiles/lcbcore-cxx.dir/src/bucketconfig/confmon.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc: Assembler messages:
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:793: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:793: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:451: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:451: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:480: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:480: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:722: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:722: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:866: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:866: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:895: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:895: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:1038: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:1038: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:1053: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/handler.cc:1053: Error: unknown pseudo-op: .reference'
gmake[2]: *** [CMakeFiles/lcbcore-cxx.dir/build.make:314: CMakeFiles/lcbcore-cxx.dir/src/handler.cc.o] Error 1
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/http/http.cc: Assembler messages:
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/http/http.cc:338: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/http/http.cc:338: Error: unknown pseudo-op: .reference'
/Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/http/http.cc:435: Error: unknown pseudo-op: .reference' /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/libcouchbase/src/http/http.cc:435: Error: unknown pseudo-op: .reference'
gmake[2]: *** [CMakeFiles/lcbcore-cxx.dir/build.make:342: CMakeFiles/lcbcore-cxx.dir/src/http/http.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:551: CMakeFiles/lcbcore-cxx.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit status: 2

build script failed, must exit now', /Users/xuja1/.cargo/registry/src/github.com-1ecc6299db9ec823/couchbase-sys-1.0.0-alpha.4/build/cmake.rs:681:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace