Running ./start-server.sh produces the following gRPC build failure:
[ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/json/json_writer.cc.o
[ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/context/security_context.cc.o
[ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/alts_credentials.cc.o
/home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc:325:42: error: use of undeclared identifier 'TCP_USER_TIMEOUT'
if (0 != setsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, &timeout,
^
/home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc:330:42: error: use of undeclared identifier 'TCP_USER_TIMEOUT'
if (0 != getsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, &newval, &len)) {
2 errors generated
CMakeFiles/grpc.dir/build.make:6470: recipe for target 'CMakeFiles/grpc.dir/src/core/lib/iomgr/socket_utils_common_posix.cc.o' failed
make[3]: [CMakeFiles/grpc.dir/src/core/lib/iomgr/socket_utils_common_posix.cc.o] Error 1
make[3]: Waiting for unfinished jobs....
^[[0m[ 73%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/check_gcp_environment.cc.o
Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc.o
make[2]: [CMakeFiles/grpc.dir/all] Error 2
CMakeFiles/Makefile2:861: recipe for target 'CMakeFiles/grpc.dir/all' failed
CMakeFiles/Makefile2:1180: recipe for target 'CMakeFiles/grpc++.dir/rule' failed
make[1]: [CMakeFiles/grpc++.dir/rule] Error 2
Makefile:489: recipe for target 'grpc++' failed
make: * [grpc++] Error 2
Warning: the libcxx package has been deprecated and will be removed in a future version of conan-ue4cli.
grpc-ue4/1.30.2@adamrehn/4.23:
cares-ue4/1.16.1@adamrehn/4.23: WARN: This conanfile has no package step
protobuf-ue4/3.12.3@adamrehn/4.23: WARN: This conanfile has no package step
grpc-ue4/1.30.2@adamrehn/4.23: ERROR: Package 'bbaadf9c14f1821b000882e0282e20b2519fdbed' build failed
grpc-ue4/1.30.2@adamrehn/4.23: WARN: Build folder /home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed
ERROR: grpc-ue4/1.30.2@adamrehn/4.23: Error in build() method, line 99
cmake.build(target="grpc++")
ConanException: Error 2 while executing cmake --build '/home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed' '--target' 'grpc++' '--' '-j40'
Traceback (most recent call last):
File "/usr/local/bin/ue4", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/ue4cli/cli.py", line 222, in main
SUPPORTED_COMMANDS[command]['action'](manager, args)
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/main.py", line 48, in main
SUBCOMMANDS[subcommand]['function'](manager, args[1:])
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/commands/build.py", line 130, in build
builder.build(name, version, args.options if args.options is not None else [])
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/common/PackageBuilder.py", line 45, in build
self._executor.execute(command, cwd=tempDir, check=True)
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/common/CommandExecutor.py", line 19, in execute
return subprocess.run(command, kwargs).returncode == 0
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['conan', 'install', 'grpc-ue4/1.30.2@adamrehn/4.23', '--profile=ue4.23-Linux-x86_64-unknown-linux-gnu', '--build=missing']' returned non-zero exit status 1.
Service 'server' failed to build: The command '/bin/sh -c ue4 conan build grpc-ue4' returned a non-zero code: 1
Running ./start-server.sh produces the following gRPC build failure:
[ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/json/json_writer.cc.o [ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/context/security_context.cc.o [ 71%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/alts_credentials.cc.o /home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc:325:42: error: use of undeclared identifier 'TCP_USER_TIMEOUT' if (0 != setsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, &timeout, ^ /home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc:330:42: error: use of undeclared identifier 'TCP_USER_TIMEOUT' if (0 != getsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, &newval, &len)) {
2 errors generated CMakeFiles/grpc.dir/build.make:6470: recipe for target 'CMakeFiles/grpc.dir/src/core/lib/iomgr/socket_utils_common_posix.cc.o' failed make[3]: [CMakeFiles/grpc.dir/src/core/lib/iomgr/socket_utils_common_posix.cc.o] Error 1 make[3]: Waiting for unfinished jobs.... ^[[0m[ 73%] Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/check_gcp_environment.cc.o Building CXX object CMakeFiles/grpc.dir/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc.o make[2]: [CMakeFiles/grpc.dir/all] Error 2 CMakeFiles/Makefile2:861: recipe for target 'CMakeFiles/grpc.dir/all' failed CMakeFiles/Makefile2:1180: recipe for target 'CMakeFiles/grpc++.dir/rule' failed make[1]: [CMakeFiles/grpc++.dir/rule] Error 2 Makefile:489: recipe for target 'grpc++' failed make: * [grpc++] Error 2 Warning: the libcxx package has been deprecated and will be removed in a future version of conan-ue4cli. grpc-ue4/1.30.2@adamrehn/4.23: cares-ue4/1.16.1@adamrehn/4.23: WARN: This conanfile has no package step protobuf-ue4/3.12.3@adamrehn/4.23: WARN: This conanfile has no package step grpc-ue4/1.30.2@adamrehn/4.23: ERROR: Package 'bbaadf9c14f1821b000882e0282e20b2519fdbed' build failed grpc-ue4/1.30.2@adamrehn/4.23: WARN: Build folder /home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed ERROR: grpc-ue4/1.30.2@adamrehn/4.23: Error in build() method, line 99 cmake.build(target="grpc++") ConanException: Error 2 while executing cmake --build '/home/ue4/.conan/data/grpc-ue4/1.30.2/adamrehn/4.23/build/bbaadf9c14f1821b000882e0282e20b2519fdbed' '--target' 'grpc++' '--' '-j40' Traceback (most recent call last): File "/usr/local/bin/ue4", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/ue4cli/cli.py", line 222, in main
SUPPORTED_COMMANDS[command]['action'](manager, args)
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/main.py", line 48, in main
SUBCOMMANDS[subcommand]['function'](manager, args[1:])
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/commands/build.py", line 130, in build
builder.build(name, version, args.options if args.options is not None else [])
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/common/PackageBuilder.py", line 45, in build
self._executor.execute(command, cwd=tempDir, check=True)
File "/usr/local/lib/python3.6/dist-packages/conan_ue4cli/common/CommandExecutor.py", line 19, in execute
return subprocess.run(command, kwargs).returncode == 0
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['conan', 'install', 'grpc-ue4/1.30.2@adamrehn/4.23', '--profile=ue4.23-Linux-x86_64-unknown-linux-gnu', '--build=missing']' returned non-zero exit status 1.
Service 'server' failed to build: The command '/bin/sh -c ue4 conan build grpc-ue4' returned a non-zero code: 1