Skip to content

Instantly share code, notes, and snippets.

@flyq
Created May 29, 2020 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyq/804fd5177a39d67c8e35136b37748de5 to your computer and use it in GitHub Desktop.
Save flyq/804fd5177a39d67c8e35136b37748de5 to your computer and use it in GitHub Desktop.
Compiling cita-network v20.2.0 (/home/flyq/workspaces/cita/cita/cita-network)
Compiling cita-bft v20.2.0 (/home/flyq/workspaces/cita/cita/cita-bft)
Compiling cita-auth v20.2.0 (/home/flyq/workspaces/cita/cita/cita-auth)
Compiling cita-chain v20.2.0 (/home/flyq/workspaces/cita/cita/cita-chain)
Compiling jsonrpc-proto v0.1.0 (https://github.com/citahub/cita-common.git?branch=develop#7a23d751)
Compiling chain-executor-mock v0.1.0 (/home/flyq/workspaces/cita/cita/tests/chain-executor-mock)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.0.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.1.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.10.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.11.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.12.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.13.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.14.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.15.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.2.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.3.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.4.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.5.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.6.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.7.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.8.rcgu.o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.chain_executor_mock.81ltuxb8-cgu.9.rcgu.o" "-o" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a" "/home/flyq/workspaces/cita/cita/target/release/deps/chain_executor_mock-0ea0a0338851fc6a.35jygc15ezsx73g3.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/flyq/workspaces/cita/cita/target/release/deps" "-L" "/home/flyq/workspaces/cita/cita/target/release/build/secp256k1-59e6fe6079486544/out" "-L" "/home/flyq/workspaces/cita/cita/target/release/build/backtrace-sys-8619dbb2b700ab72/out" "-L" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/flyq/workspaces/cita/cita/target/release/deps/libclap-64b03aed079354f3.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libvec_map-9e8b251f80bfb5dc.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libtextwrap-b81bbef39a510fac.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libunicode_width-8ea4e47463abb2ce.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libstrsim-7515e8e85cdc22cb.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbitflags-477724e7e0289424.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libatty-a59f0b86bcaa6003.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libansi_term-66910f7037323d7c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libpubsub-9f28066b8de322e5.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libdotenv-786cacac7f6e5f82.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libregex-9c5a3d94b625142c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libthread_local-9a8f838ade3d691c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libregex_syntax-a114d3637e49b99f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libaho_corasick-e2302d359b0f9c17.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libmemchr-f246873024de842f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libfailure-32aa3bcfc315f83e.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libamqp-1e64488b5cd0bde5.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libamq_proto-40e2a66b3718a415.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libenum_primitive-930eb2eccdd45d4e.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liberror_chain-7f61c833f1178fbe.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbacktrace-990d6de547418761.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbacktrace_sys-9e62ab1be83ab4f2.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librustc_demangle-0a7219622826b2e6.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbit_vec-1514f3619f77fb65.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbyteorder-ec53e64920c8bcb2.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblog-fd5c366f6ec1b633.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liburl-7d2bac6ff229ac18.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libpercent_encoding-3b78efe898f04dfa.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libidna-28e864004083e93f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libunicode_normalization-6ea87fd484bfa623.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libsmallvec-63e581e0ddf46050.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libunicode_bidi-c68a63efdf856339.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libmatches-b6fb7335c7f8f112.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libproof-1be2b067e719204c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_directories-640c0c9bab337f1f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libuuid-6b9aabb30bf53fe6.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbincode-46640475152bfd3b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libnum_traits-6dd14f390becb516.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblibproto-e473cb46da6a6efb.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libsnappy-8ad4407fb97e5cb3.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_merklehash-1cd9c7520fb33959.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libstatic_merkle_tree-f382daa01dd0407b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libprotobuf-f88c270c36bd5eeb.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbytes-e29bb3c242901bca.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libeither-4c4777fca46f3977.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libiovec-f6a6ff435ec7a086.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_logger-294a786715d96fca.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libsignal_hook-bdbfe32b2f64a83b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libsignal_hook_registry-6ba0131c17fecb3e.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libarc_swap-f5524aee78a7060a.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblog4rs-4038ad82eeb266bb.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libtypemap-9aa6744f61e32af6.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libunsafe_any-bae073790ac1d4ec.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libtraitobject-ae59e263cd8147f1.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libthread_id-8be26268d929f57b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libserde_yaml-4cd68e08ed5e148b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libdtoa-6559117b360febbd.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libyaml_rust-6f3393231b04492d.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblinked_hash_map-7b96ac6afff08073.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libserde_value-3c01414b2dd93a1a.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libordered_float-cd08c90eb4f5cc54.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libserde_json-96208e73e0cb76d5.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libryu-c7aef7cbc2ea94be.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libitoa-c82b3bf47ecb03d0.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblog_mdc-e4de5aba15ed12b3.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libhumantime-777d00b73dffa5df.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libquick_error-02b392118401000d.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libfnv-a83ee5e670c975e0.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libflate2-cebbf51477eb59ac.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libminiz_oxide-c308cb4ace9658fc.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libadler32-21afbe493d713ab4.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcrc32fast-ae80b664c3b510c7.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libantidote-f6a4d70dd4cc947f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libarc_swap-2968a922bc18d35b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcrossbeam_channel-69f6b4f080d3e5ed.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcrossbeam_utils-c5a08590c8d8a9b4.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libchrono-ad1589c4242ea8db.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libnum_integer-c88f20f0cd511edb.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libnum_traits-fb3643af3352c923.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libtime-0d0b7f4b9c9885b3.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblog-94d82bbb7a39ead8.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcfg_if-ca69715010a08b95.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_crypto-6b94389b571521e4.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_secp256k1-957e4c18d5eb645f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librlp-b2c1dfc983aa343a.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librustc_hex-1b5b413e6a2b6ac4.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libelastic_array-67f72083c25e711c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libsecp256k1-187577afd8105a75.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librustc_serialize-6190575199495149.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand-e412dc74dc1719b6.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_xorshift-db226d3f28c4af79.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_pcg-7c495da263d959a2.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_hc-67a6437fd2e04b76.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_chacha-a6e5afcd541ef73d.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_isaac-3bc08b46f5536870.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_core-7290802770efd9ea.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_os-bc9d375a4465a6c9.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_jitter-6b5ad52244b09906.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand_core-946b458dbd48434c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libhashable-8c6490844b426d3b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_crypto_trait-20e60a4b000d4827.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblazy_static-0929cad8e74482bf.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcita_types-3909d5376e4717fc.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libplain_hasher-321c84df7db524fc.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libethereum_types-72d4a70aeb4a362f.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libethbloom-b0bddd80dd7bbd5b.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libethereum_types_serialize-c8b0abc9ad39ace6.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libserde-6bb3f759de47e4e7.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libtiny_keccak-908e6767cabb039c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcrunchy-b90bc4784161390e.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libfixed_hash-2af4398d57bfb95a.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librand-f47bbec73888befa.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/liblibc-f1c54eed25707762.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libuint-6740940f321999de.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/librustc_hex-24dd25dbb0099d5e.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libheapsize-3cc373c23d1c093c.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libbyteorder-069ac196c29bf1dd.rlib" "/home/flyq/workspaces/cita/cita/target/release/deps/libcrunchy-5956d592568f0d55.rlib" "-Wl,--start-group" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c32b051c3aafd36c.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-eabf8b29c0a244dd.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5c336cc1b5ec2048.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c7631f762b1ba6d9.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-db0f6c539591c951.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-32c2dc6fbc292c9c.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-84e9c510dc249620.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-13bc027534de0b4c.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b3c13ecda1794c6c.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-72dc11de859645e9.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a78b04f112feb31a.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-29469f6c53ac35f8.rlib" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0eb3c513c640c4a6.rlib" "-Wl,--end-group" "/home/flyq/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0b278345638bce90.rlib" "-Wl,-Bdynamic" "-lsnappy" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /usr/bin/ld: cannot find -lsnappy
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `chain-executor-mock`.
To learn more, run the command again with --verbose.
Makefile:10: recipe for target 'release' failed
make: *** [release] Error 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment