cross_compile
cross_compile copied to clipboard
ROS1(Melodic) ERROR: The read operation timed out
ros_cross_compile /home/ws/zone3 --arch aarch64 --os ubuntu --rosdistro melodic
INFO:Rosdep Gatherer:Building rosdep collector image: ros_cross_compile:rosdep
INFO:Docker Client:Step 1/10 : FROM ubuntu:bionic
INFO:Docker Client: ---> dcf4d4bef137
INFO:Docker Client:Step 2/10 : RUN apt-get update && apt-get install --no-install-recommends -y dirmngr gnupg2 && rm -rf /var/lib/apt/lists/*
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> eeae38bf1e19
INFO:Docker Client:Step 3/10 : RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> fce2e71933d5
INFO:Docker Client:Step 4/10 : RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> ce873abe5227
INFO:Docker Client:Step 5/10 : RUN apt-get update && apt-get install --no-install-recommends -y python-rosdep python3-colcon-common-extensions && rm -rf /var/lib/apt/lists/*
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> 36f5aaa0dd14
INFO:Docker Client:Step 6/10 : RUN rosdep init
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> 57414b78c4df
INFO:Docker Client:Step 7/10 : COPY gather_rosdeps.sh /root/
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> b5a2375c4730
INFO:Docker Client:Step 8/10 : RUN mkdir -p /ws
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> af2483f666d5
INFO:Docker Client:Step 9/10 : WORKDIR /ws
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> 07252606ea07
INFO:Docker Client:Step 10/10 : ENTRYPOINT ["/root/gather_rosdeps.sh"]
INFO:Docker Client: ---> Using cache
INFO:Docker Client: ---> ab142b24444a
INFO:Docker Client:Successfully built ab142b24444a
INFO:Docker Client:Successfully tagged ros_cross_compile:rosdep
INFO:Rosdep Gatherer:Running rosdep collector image on workspace /home/ws/zone3
INFO:Docker Client:+ '[' '!' -d ./src ']'
INFO:Docker Client:+ '[' -f /usercustom/rosdep_setup ']'
INFO:Docker Client:++ dirname cc_internals/aarch64-ubuntu-melodic/install_rosdeps.sh
INFO:Docker Client:+ out_dir=cc_internals/aarch64-ubuntu-melodic
INFO:Docker Client:+ mkdir -p cc_internals/aarch64-ubuntu-melodic
INFO:Docker Client:+ rosdep update --include-eol-distros
INFO:Docker Client:Warning: running 'rosdep update' as root is not recommended.
INFO:Docker Client: You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
INFO:Docker Client:ERROR: error loading sources list:
INFO:Docker Client: ('The read operation timed out',)
INFO:Docker Client:reading in sources list data from /etc/ros/rosdep/sources.list.d
INFO:Docker Client:Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
INFO:Docker Client:Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
INFO:Docker Client:Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Traceback (most recent call last):
File "/usr/local/bin/ros_cross_compile", line 11, in
System (please complete the following information)
- OS: Ubuntu Bionic
- ROS 1 Melodic
Additional context
** Add any other context about the problem here **
try
docker run -it ubuntu:focal apt-get update && apt-get install -y wget wget google.com
is ok.
try
docker run -it osrf/ros2:nightly
in the container
rosdep update
get the same problem with above. "'The read operation timed out',"