facebook/mcrouter

ubuntu 20.04 building issue

csabyka opened this issue · 1 comments

Hey
Because debian repo desnt have recent release, i start to build 20.04 from source.
./install_ubuntu_20.04.sh /usr/src/mcrouter/ and i received this error:

../mcrouter/lib/network/gen/MemcacheThriftTransport.h:741:37: warning: ‘virtual folly::Try<apache::thrift::RpcResponseCompletefacebook::memcache::McVersionReply > apache::thrift::Clientfacebook::memcache::thrift::Memcache::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)’ is deprecated: To be replaced by new API soon [-Wdeprecated-declarations]
741 | std::move(rpcOptions), request);
| ^
In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27,
from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:174,
from ../mcrouter/RouterRegistry.h:14,
from ../mcrouter/config.h:279,
from ../mcrouter/options.h:18,
from CarbonRouterInstanceBase.h:29,
from CarbonRouterInstanceBase.cpp:8:
../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here
1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try<apache::thrift::RpcResponseCompletefacebook::memcache::McVersionReply> sync_complete_mcVersion(
| ^~~~~~~~~~~~~~~~~~~~~~~
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[3]: *** [Makefile:2033: mcrouter-StandaloneUtils.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/libmcroutercore_a-CarbonRouterInstanceBase.Tpo .deps/libmcroutercore_a-CarbonRouterInstanceBase.Po
make[3]: Leaving directory '/usr/src/mcrouter/mcrouter'
make[2]: *** [Makefile:2062: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/mcrouter/mcrouter'
make[1]: *** [Makefile:833: all] Error 2
make[1]: Leaving directory '/usr/src/mcrouter/mcrouter'
make: *** [Makefile_ubuntu-20.04:9: all] Error 2

Have you any idea how can i build?

resolved, need 8+G ram.