corelight / zeek-community-id

Zeek support for Community ID flow hashing.
https://github.com/corelight/community-id-spec
Other
33 stars 18 forks source link

Install error via git clone and zkg with Zeek 3.3.0 #11

Closed cyamal1b4 closed 4 years ago

cyamal1b4 commented 4 years ago

Greetings, I've seen the recent issues with install and am also running into issues. Gives me the exact same errors:

The following packages will be INSTALLED: zeek/corelight/zeek-community-id (1.4)

Proceed? [Y/n] y Running unit tests for "zeek/corelight/zeek-community-id" error: failed to run tests for zeek/corelight/zeek-community-id: package build_command failed, see log in /home/fenrir/.zkg/logs/zeek-community-id-build.log Proceed to install anyway? [N/y] y Installing "zeek/corelight/zeek-community-id".... Failed installing "zeek/corelight/zeek-community-id": package build_command failed, see log in /home/fenrir/.zkg/logs/zeek-community-id-build.log error: incomplete installation, the follow packages failed to be installed: zeek/corelight/zeek-community-id (1.4)

ERROR LOG:

=== STDERR === In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:2:0: /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.h:14:36: warning: ‘using Configuration = class zeek::plugin::Configuration’ is deprecated: Remove in v4.1. Use zeek::plugin::Configuration instead [-Wdeprecated-declarations] plugin::Configuration Configure() override; ^~~~ In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.h:5:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:2: /usr/local/zeek/include/zeek/plugin/Plugin.h:901:124: note: declared here using Configuration [[deprecated("Remove in v4.1. Use zeek::plugin::Configuration instead")]] = zeek::plugin::Configuration; ^ /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:8:41: warning: ‘using Configuration = class zeek::plugin::Configuration’ is deprecated: Remove in v4.1. Use zeek::plugin::Configuration instead [-Wdeprecated-declarations] plugin::Configuration Plugin::Configure() ^ In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.h:5:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:2: /usr/local/zeek/include/zeek/plugin/Plugin.h:901:124: note: declared here using Configuration [[deprecated("Remove in v4.1. Use zeek::plugin::Configuration instead")]] = zeek::plugin::Configuration; ^ /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc: In member function ‘virtual plugin::Configuration plugin::Corelight_CommunityID::Plugin::Configure()’: /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:10:24: warning: ‘using Configuration = class zeek::plugin::Configuration’ is deprecated: Remove in v4.1. Use zeek::plugin::Configuration instead [-Wdeprecated-declarations] plugin::Configuration config; ^~ In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.h:5:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/src/Plugin.cc:2: /usr/local/zeek/include/zeek/plugin/Plugin.h:901:124: note: declared here using Configuration [[deprecated("Remove in v4.1. Use zeek::plugin::Configuration instead")]] = zeek::plugin::Configuration; ^ communityid.bif: In function ‘void digest_init(Ctx)’: communityid.bif:40:16: warning: ‘hash_init’ is deprecated: Remove in v4.1. Use zeek::detail::hash_init. [-Wdeprecated-declarations] In file included from communityid.bif:6:0: /usr/local/zeek/include/zeek/digest.h:87:16: note: declared here constexpr auto hash_init [[deprecated("Remove in v4.1. Use zeek::detail::hash_init.")]] = zeek::detail::hash_init; ^~~~~ communityid.bif:40:26: warning: ‘Hash_SHA1’ is deprecated: Remove in v4.1. Use zeek::detail::Hash_SHA1. [-Wdeprecated-declarations] In file included from communityid.bif:6:0: /usr/local/zeek/include/zeek/digest.h:77:16: note: declared here constexpr auto Hash_SHA1 [[deprecated("Remove in v4.1. Use zeek::detail::Hash_SHA1.")]] = zeek::detail::Hash_SHA1; ^~~~~ communityid.bif: In function ‘void digest_update(Ctx, const void, long unsigned int)’: communityid.bif:44:5: warning: ‘hash_update’ is deprecated: Remove in v4.1. Use zeek::detail::hash_update. [-Wdeprecated-declarations] In file included from communityid.bif:6:0: /usr/local/zeek/include/zeek/digest.h:88:16: note: declared here constexpr auto hash_update [[deprecated("Remove in v4.1. Use zeek::detail::hash_update.")]] = zeek::detail::hash_update; ^~~ communityid.bif: In function ‘void digest_final(Ctx, u_char)’: communityid.bif:48:5: warning: ‘hash_final’ is deprecated: Remove in v4.1. Use zeek::detail::hash_final. [-Wdeprecated-declarations] In file included from communityid.bif:6:0: /usr/local/zeek/include/zeek/digest.h:89:16: note: declared here constexpr auto hash_final [[deprecated("Remove in v4.1. Use zeek::detail::hash_final.")]] = zeek::detail::hash_final; ^~~~~~ communityid.bif: In function ‘zeek::detail::BifReturnVal zeek::BifFunc::CommunityID::hash_conn_bif(zeek::detail::Frame, const Args*)’: communityid.bif:79:9: warning: ‘using ID = class zeek::detail::ID’ is deprecated: Remove in v4.1 Use zeek::detail::ID instead. [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/util.h:29:0, from /usr/local/zeek/include/zeek/Hash.h:22, from /usr/local/zeek/include/zeek/Dict.h:8, from /usr/local/zeek/include/zeek/Conn.h:11, from /usr/local/zeek/include/zeek/bro-bif.h:4, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/zeek-config.h:287:86: note: declared here using cls [[deprecated("Remove in v4.1. Use " #ns "::" #cls " instead.")]] = ns::cls; ^ /usr/local/zeek/include/zeek/zeek-config.h:281:46: note: in expansion of macro ‘ZEEK_FDN_2’

define GET_MACRO(_0, _1, _2, _3, NAME, ...) NAME

                                          ^~~~

/usr/local/zeek/include/zeek/zeek-config.h:282:48: note: in expansion of macro ‘GET_MACRO’

define ZEEK_FORWARD_DECLARE_NAMESPACED( ... ) GET_MACRO(_0, ##VA_ARGS, ZEEK_FDN_3, ZEEK_FDN_2, ZEEK_FDN_1, ZEEK_FDN_0)(VA_ARGS)

                                            ^~~~~~~~~

/usr/local/zeek/include/zeek/Scope.h:18:1: note: in expansion of macro ‘ZEEK_FORWARD_DECLARE_NAMESPACED’ ZEEK_FORWARD_DECLARE_NAMESPACED(ID, zeek::detail); ^~~~~~~ communityid.bif:81:16: warning: ‘global_scope’ is deprecated: Remove in v4.1 Use zeek::detail::global_scope instead. [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:127:16: note: declared here constexpr auto global_scope [[deprecated("Remove in v4.1 Use zeek::detail::global_scope instead.")]] = zeek::detail::global_scope; ^~~~ communityid.bif:81:58: warning: ‘zeek::detail::ID zeek::detail::Scope::Lookup(N&&) const [with N = const char (&)[18]]’ is deprecated: Remove in v4.1. Use Find(). [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:43:20: note: declared here zeek::detail::ID Lookup(N&& name) const ^~ communityid.bif:82:35: warning: ‘zeek::Val zeek::detail::ID::ID_Val()’ is deprecated: Remove in v4.1. Use GetVal(). [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:8:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/ID.h:100:7: note: declared here Val ID_Val() { return val.get(); } ^~ communityid.bif:84:82: warning: ‘void builtin_error(const char)’ is deprecated: Remove in v4.1. Use zeek::emit_builtin_error. [-Wdeprecated-declarations] In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:5:0: /usr/local/zeek/include/zeek/Func.h:312:13: note: declared here extern void builtin_error(const char msg); ^~~~~ communityid.bif:87:16: warning: ‘global_scope’ is deprecated: Remove in v4.1 Use zeek::detail::global_scope instead. [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:127:16: note: declared here constexpr auto global_scope [[deprecated("Remove in v4.1 Use zeek::detail::global_scope instead.")]] = zeek::detail::global_scope; ^~~~ communityid.bif:87:63: warning: ‘zeek::detail::ID zeek::detail::Scope::Lookup(N&&) const [with N = const char (&)[23]]’ is deprecated: Remove in v4.1. Use Find(). [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:43:20: note: declared here zeek::detail::ID Lookup(N&& name) const ^~ communityid.bif:88:32: warning: ‘zeek::Val zeek::detail::ID::ID_Val()’ is deprecated: Remove in v4.1. Use GetVal(). [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:8:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/ID.h:100:7: note: declared here Val ID_Val() { return val.get(); } ^~ communityid.bif:90:89: warning: ‘void builtin_error(const char)’ is deprecated: Remove in v4.1. Use zeek::emit_builtin_error. [-Wdeprecated-declarations] In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:5:0: /usr/local/zeek/include/zeek/Func.h:312:13: note: declared here extern void builtin_error(const char msg); ^~~~~ communityid.bif:93:16: warning: ‘global_scope’ is deprecated: Remove in v4.1 Use zeek::detail::global_scope instead. [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:127:16: note: declared here constexpr auto global_scope [[deprecated("Remove in v4.1 Use zeek::detail::global_scope instead.")]] = zeek::detail::global_scope; ^~~~ communityid.bif:93:61: warning: ‘zeek::detail::ID zeek::detail::Scope::Lookup(N&&) const [with N = const char (&)[21]]’ is deprecated: Remove in v4.1. Use Find(). [-Wdeprecated-declarations] In file included from communityid.bif:8:0: /usr/local/zeek/include/zeek/Scope.h:43:20: note: declared here zeek::detail::ID Lookup(N&& name) const ^~ communityid.bif:94:30: warning: ‘zeek::Val zeek::detail::ID::ID_Val()’ is deprecated: Remove in v4.1. Use GetVal(). [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:8:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/ID.h:100:7: note: declared here Val ID_Val() { return val.get(); } ^~ communityid.bif:128:71: warning: ‘void builtin_error(const char, zeek::Obj)’ is deprecated: Remove in v4.1. Use zeek::emit_builtin_error. [-Wdeprecated-declarations] In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:5:0: /usr/local/zeek/include/zeek/Func.h:316:13: note: declared here extern void builtin_error(const char msg, zeek::Obj arg); ^~~~~ communityid.bif:129:36: warning: ‘zeek::detail::BifReturnVal::BifReturnVal(zeek::Val)’ is deprecated: Remove in v4.1. Return an IntrusivePtr instead. [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:10:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/BifReturnVal.h:31:2: note: declared here BifReturnVal(zeek::Val v) noexcept; ^~~~ communityid.bif:131:73: warning: ‘void builtin_error(const char, zeek::Obj)’ is deprecated: Remove in v4.1. Use zeek::emit_builtin_error. [-Wdeprecated-declarations] In file included from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:5:0: /usr/local/zeek/include/zeek/Func.h:316:13: note: declared here extern void builtin_error(const char msg, zeek::Obj arg); ^~~~~ communityid.bif:132:36: warning: ‘zeek::detail::BifReturnVal::BifReturnVal(zeek::Val)’ is deprecated: Remove in v4.1. Return an IntrusivePtr instead. [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:10:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/BifReturnVal.h:31:2: note: declared here BifReturnVal(zeek::Val v) noexcept; ^~~~ communityid.bif:157:23: error: ‘zeek::analyzer::icmp’ has not been declared communityid.bif:161:23: error: ‘zeek::analyzer::icmp’ has not been declared communityid.bif:200:33: warning: ‘using Base64Converter = class zeek::detail::Base64Converter’ is deprecated: Remove in v4.1. Use zeek::detail::Base64Converter. [-Wdeprecated-declarations] In file included from communityid.bif:7:0: /usr/local/zeek/include/zeek/Base64.h:70:123: note: declared here using Base64Converter [[deprecated("Remove in v4.1. Use zeek::detail::Base64Converter.")]] = zeek::detail::Base64Converter; ^ communityid.bif:208:36: warning: ‘sha1_digest_print’ is deprecated: Remove in v4.1. Use zeek::detail::sha1_digest_print. [-Wdeprecated-declarations] In file included from communityid.bif:6:0: /usr/local/zeek/include/zeek/digest.h:85:16: note: declared here constexpr auto sha1_digest_print [[deprecated("Remove in v4.1. Use zeek::detail::sha1_digest_print.")]] = zeek::detail::sha1_digest_print; ^~~~~ communityid.bif:215:12: warning: ‘zeek::detail::BifReturnVal::BifReturnVal(zeek::Val)’ is deprecated: Remove in v4.1. Return an IntrusivePtr instead. [-Wdeprecated-declarations] In file included from /usr/local/zeek/include/zeek/bro-bif.h:10:0, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.h:7, from /home/fenrir/.zkg/clones/package/zeek-community-id/build/communityid.bif.cc:4: /usr/local/zeek/include/zeek/BifReturnVal.h:31:2: note: declared here BifReturnVal(zeek::Val v) noexcept; ^~~~ make[2]: [CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/communityid.bif.cc.o] Error 1 make[1]: [CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/all] Error 2 make: *** [all] Error 2 === STDOUT === Build Directory : build Zeek Source Directory : -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.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 -- Performing Test cxx17_already_works -- Performing Test cxx17_already_works - Failed -- Performing Test cxx17_works -- Performing Test cxx17_works - Success -- Found BinPAC: /usr/local/zeek/bin/binpac
-- Found CAF: 0.17.6 found components: core io openssl -- Found Broker: /usr/local/zeek/lib/libbroker.so
-- Zeek executable : /usr/local/zeek/bin/zeek -- Zeek source : -- Zeek build : -- Zeek install prefix : /usr/local/zeek -- Zeek plugin directory: /usr/local/zeek/lib/zeek/plugins -- Zeek debug mode : -- Configuring done -- Generating done -- Build files have been written to: /home/fenrir/.zkg/clones/package/zeek-community-id/build Scanning dependencies of target generate_outputs [ 0%] Built target generate_outputs Scanning dependencies of target bif-plugin-Corelight_CommunityID-communityid.bif [ 11%] [BIFCL] Processing src/communityid.bif [ 11%] Built target bif-plugin-Corelight_CommunityID-communityid.bif Scanning dependencies of target bif-init-Corelight_CommunityID [ 11%] Built target bif-init-Corelight_CommunityID Scanning dependencies of target copy-scripts-Corelight_CommunityID [ 11%] Built target copy-scripts-Corelight_CommunityID Scanning dependencies of target bro-plugin-Corelight_CommunityID [ 22%] Creating __bro_plugin__ for Corelight::CommunityID [ 22%] Built target bro-plugin-Corelight_CommunityID Scanning dependencies of target Corelight-CommunityID.linux-x86_64 [ 33%] Building CXX object CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/src/Plugin.cc.o [ 44%] Building CXX object CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/communityid.bif.cc.o CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/build.make:105: recipe for target 'CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/communityid.bif.cc.o' failed CMakeFiles/Makefile2:204: recipe for target 'CMakeFiles/Corelight-CommunityID.linux-x86_64.dir/all' failed Makefile:151: recipe for target 'all' failed