ethz-asl / voxblox

A library for flexible voxel-based mapping, mainly focusing on truncated and Euclidean signed distance fields.
BSD 3-Clause "New" or "Revised" License
1.29k stars 350 forks source link

failed making grpc #412

Closed AreteQin closed 6 months ago

AreteQin commented 6 months ago

Hi

Thank you for this excellent work.

I encountered an error while compiling using SSH and catkin build.

Here is the full log:

qin@qin-desktop:~/catkin_ws$ catkin build voxblox_ros
--------------------------------------------------------
Profile:                     default
Extending:          [cached] /opt/ros/noetic
Workspace:                   /home/qin/catkin_ws
--------------------------------------------------------
Build Space:        [exists] /home/qin/catkin_ws/build
Devel Space:        [exists] /home/qin/catkin_ws/devel
Install Space:      [unused] /home/qin/catkin_ws/install
Log Space:          [exists] /home/qin/catkin_ws/logs
Source Space:       [exists] /home/qin/catkin_ws/src
DESTDIR:            [unused] None
--------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
--------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
--------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
--------------------------------------------------------
Workspace configuration appears valid.
--------------------------------------------------------
[build] Found 21 packages in 0.0 seconds.                                                                                              
[build] Package table is up to date.                                                                                                   
Starting  >>> catkin_simple                                                                                                            
Starting  >>> grpc                                                                                                                     
Finished  <<< catkin_simple                       [ 0.1 seconds ]                                                                      
Starting  >>> eigen_catkin                                                                                                             
Starting  >>> gflags_catkin                                                                                                            
Starting  >>> voxblox_msgs                                                                                                             
Finished  <<< gflags_catkin                       [ 0.1 seconds ]                                                                      
Starting  >>> glog_catkin                                                                                                              
Finished  <<< eigen_catkin                        [ 0.1 seconds ]                                                                      
Finished  <<< glog_catkin                         [ 0.1 seconds ]                                                                      
Starting  >>> eigen_checks                                                                                                             
Finished  <<< voxblox_msgs                        [ 0.2 seconds ]                                                                      
Finished  <<< eigen_checks                        [ 0.1 seconds ]                                                                      
Starting  >>> minkindr                                                                                                                 
Finished  <<< minkindr                            [ 0.1 seconds ]                                                                      
Starting  >>> minkindr_conversions                                                                                                     
Finished  <<< minkindr_conversions                [ 0.1 seconds ]                                                                      
_______________________________________________________________________________________________________________________________________
Errors     << grpc:make /home/qin/catkin_ws/logs/grpc/build.make.010.log                                                               
Cloning into 'grpc_build'...
Note: switching to 'v1.34.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e5276ec36 Merge pull request #25135 from yulin-liang/fix_macos_distribtest
Submodule 'third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'third_party/abseil-cpp'
Submodule 'third_party/benchmark' (https://github.com/google/benchmark) registered for path 'third_party/benchmark'
Submodule 'third_party/bloaty' (https://github.com/google/bloaty.git) registered for path 'third_party/bloaty'
Submodule 'third_party/boringssl-with-bazel' (https://github.com/google/boringssl.git) registered for path 'third_party/boringssl-with-bazel'
Submodule 'third_party/cares/cares' (https://github.com/c-ares/c-ares.git) registered for path 'third_party/cares/cares'
Submodule 'third_party/envoy-api' (https://github.com/envoyproxy/data-plane-api.git) registered for path 'third_party/envoy-api'
Submodule 'third_party/googleapis' (https://github.com/googleapis/googleapis.git) registered for path 'third_party/googleapis'
Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest'
Submodule 'third_party/libuv' (https://github.com/libuv/libuv.git) registered for path 'third_party/libuv'
Submodule 'third_party/protobuf' (https://github.com/google/protobuf.git) registered for path 'third_party/protobuf'
Submodule 'third_party/protoc-gen-validate' (https://github.com/envoyproxy/protoc-gen-validate.git) registered for path 'third_party/protoc-gen-validate'
Submodule 'third_party/re2' (https://github.com/google/re2.git) registered for path 'third_party/re2'
Submodule 'third_party/udpa' (https://github.com/cncf/udpa.git) registered for path 'third_party/udpa'
Submodule 'third_party/zlib' (https://github.com/madler/zlib) registered for path 'third_party/zlib'
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/abseil-cpp'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/abseil/abseil-cpp.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/abseil-cpp' failed
Failed to clone 'third_party/abseil-cpp'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googletest'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/google/googletest.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googletest' failed
Failed to clone 'third_party/googletest'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/cares/cares'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/envoy-api'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/envoyproxy/data-plane-api.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/envoy-api' failed
Failed to clone 'third_party/envoy-api'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/udpa'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/libuv'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/libuv/libuv.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/libuv' failed
Failed to clone 'third_party/libuv'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/boringssl-with-bazel'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/google/boringssl.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/boringssl-with-bazel' failed
Failed to clone 'third_party/boringssl-with-bazel'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/protoc-gen-validate'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/benchmark'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/google/benchmark' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/benchmark' failed
Failed to clone 'third_party/benchmark'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googletest'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/google/googletest.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googletest' failed
Failed to clone 'third_party/googletest' a second time, aborting
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googleapis'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/googleapis/googleapis.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/googleapis' failed
Failed to clone 'third_party/googleapis'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/zlib'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/envoy-api'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/bloaty'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/re2'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/libuv'...
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/protobuf'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/google/protobuf.git' into submodule path '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/protobuf' failed
Failed to clone 'third_party/protobuf'. Retry scheduled
Cloning into '/home/qin/catkin_ws/build/grpc/grpc_build/third_party/boringssl-with-bazel'...
CMake Error at grpc/tmp/build_grpc-gitclone.cmake:52 (message):
  Failed to update submodules in: '/home/qin/catkin_ws/build/grpc/grpc_build'

make[2]: *** [CMakeFiles/build_grpc.dir/build.make:91: grpc/src/build_grpc-stamp/build_grpc-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:276: CMakeFiles/build_grpc.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/qin/catkin_ws/build/grpc; catkin build --get-env grpc | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

.......................................................................................................................................
Failed     << grpc:make                           [ Exited with code 2 ]                                                               
Failed    <<< grpc                                [ 11 minutes and 16.2 seconds ]                                                      
Abandoned <<< protobuf_catkin                     [ Unrelated job failed ]                                                             
Abandoned <<< voxblox                             [ Unrelated job failed ]                                                             
Abandoned <<< voxblox_rviz_plugin                 [ Unrelated job failed ]                                                             
Abandoned <<< voxblox_ros                         [ Unrelated job failed ]                                                             
[build] Summary: 8 of 13 packages succeeded.                                                                                           
[build]   Ignored:   8 packages were skipped or are skiplisted.                                                                        
[build]   Warnings:  None.                                                                                                             
[build]   Abandoned: 4 packages were abandoned.                                                                                        
[build]   Failed:    1 packages failed.                                                                                                
[build] Runtime: 11 minutes and 16.3 seconds total.

Thank you for any help in advance. I am sorry if I missed sth already there.

kirilllzaitsev commented 6 months ago

@AreteQin hi, facing the same issue, have you achieved any progress?

AreteQin commented 6 months ago

It's the problem of the internet for me. Using the hotspot of the phone solved the problem.