You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Erlang are you building with? Realize that gateway_config was only tested and deployed with pretty old versions of Erlang (like 21 or 22 at best)
i compile this package at ubuntu20.04 it report error when compile grpc
"make" grpc
make[1]: Entering directory '/root/gateway-config'
generating gateway_config grpc services
REBAR_CONFIG="config/grpc_client_gen_local.config" ./rebar3 grpc gen
===> Evaluating config script "/root/gateway-config/_build/default/plugins/gpb/rebar.config.script"
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Expanded command sequence to be run: []
===> Running provider: do
===> Expanded command sequence to be run: [app_discovery,{grpc,gen}]
===> Running provider: app_discovery
===> Found top-level apps: [gateway_config]
using config: [{src_dirs,["src"]},{lib_dirs,["apps/","lib/","."]}]
===> Evaluating config script "/root/gateway-config/_build/default/lib/lager/rebar.config.script"
===> Evaluating config script "/root/gateway-config/_build/default/plugins/gpb/rebar.config.script"
===> Setting paths to [deps]
===> Compile (apps)
===> Setting paths to [plugins]
===> Setting paths to [deps]
===> Setting paths to [plugins]
===> Setting paths to [plugins]
===> Not adding provider grpc gen from module grpcbox_plugin_prv because it already exists from module grpcbox_plugin_prv
===> Running provider: {grpc,gen}
===> Writing /root/gateway-config/src/grpc/autogen/client/gateway_local_client_pb.erl
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: undef
===> Stack trace to the error location:
[{gpb_compile,file,
["/root/gateway-config/_build/default/lib/helium_proto/src/service/local.proto",
[{rename,{msg_fqname,base_name}},
use_packages,
{defs_as_proplists,false},
{report_errors,false},
{descriptor,false},
{recursive,false},
{i,"build/default/lib/helium_proto/src"},
{o,"src/grpc/autogen/client"},
{module_name_prefix,"gateway"},
{module_name_suffix,"_client_pb"},
{rename,{msg_name,{suffix,"_pb"}}},
{strings_as_binaries,false},
type_specs,maps]],
[]},
{grpcbox_plugin_prv,compile_pb,5,
[{file,"/root/gateway-config/_build/default/plugins/grpcbox_plugin/src/grpcbox_plugin_prv.erl"},
{line,141}]},
{grpcbox_plugin_prv,'-handle_app/3-lc$^2/1-2-',5,
[{file,"/root/gateway-config/_build/default/plugins/grpcbox_plugin/src/grpcbox_plugin_prv.erl"},
{line,102}]},
{grpcbox_plugin_prv,handle_app,3,
[{file,"/root/gateway-config/_build/default/plugins/grpcbox_plugin/src/grpcbox_plugin_prv.erl"},
{line,102}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
{grpcbox_plugin_prv,do,1,
[{file,"/root/gateway-config/_build/default/plugins/grpcbox_plugin/src/grpcbox_plugin_prv.erl"},
{line,40}]},
{rebar_core,do,2,
[{file,"/Users/evan/src/rebar3/src/rebar_core.erl"},{line,155}]},
{rebar_prv_do,do_task,5,
[{file,"/Users/evan/src/rebar3/src/rebar_prv_do.erl"},
{line,87}]}]
===> When submitting a bug report, please include the output of
rebar3 report "your command"
make[1]: *** [Makefile:46: grpc] Error 1
make[1]: Leaving directory '/root/gateway-config'
make: *** [Makefile:19: compile] Error 2
The text was updated successfully, but these errors were encountered: