Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosdep freezes after unpacking / looking for packages in path #933

Open
julled opened this issue Sep 28, 2023 · 0 comments
Open

rosdep freezes after unpacking / looking for packages in path #933

julled opened this issue Sep 28, 2023 · 0 comments

Comments

@julled
Copy link

julled commented Sep 28, 2023

I try to do crosscompile ros noetic with some additional packages for a raspberry pi.

The following script is ran with sudo (is this a problem?) but it freezes after unpacking / looking for packages in the given path.
The interesting thing is that if i run the script twice, it continues without freezing.
Does anybody know what might be the reason?

SCRIPT

export ROS_DISTRO="noetic"
export ROS_OS_OVERRIDE=debian:buster
export ROS_PYTHON_VERSION="3"
export ROS_LANG_DISABLE="geneus:genlisp:gennodejs"
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu buster main" > /etc/apt/sources.list.d/ros-latest.list'
apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
apt-get update
apt-get install -y build-essential tmux cmake git
apt-get install -y python3-rosdep python3-rosinstall-generator python3-vcstool python3-empy python3-catkin-tools python3-osrf-pycommon python3-pip
apt-get install -y ca-certificates
rosdep init
rosdep update
rosdep fix-permissions
rosinstall_generator --rosdistro noetic --deps --tar \
  geometry \
  sensor_msgs \
  image_common \
  vision_opencv \
  image_transport \
  image_transport_plugins \
  image_pipeline \
  image_geometry \
  vision_msgs \
  compressed_image_transport \
  image_proc \
  mavros \
  mavros_extras |
  tee noetic.rosinstall

mkdir ./src

vcs import --input noetic.rosinstall ./src
ROS_OS_OVERRIDE=debian:buster rosdep install --from-paths ./src --rosdistro noetic -y --ignore-src --os=debian:buster -v

OUTPUT

..........................................................................................................
=== ./src/actionlib/actionlib (tar) ===
Downloaded tarball from 'https://github.com/ros-gbp/actionlib-release/archive/release/noetic/actionlib/1.14.0-1.tar.gz' and unpacked it
....
== ./src/vision_opencv/image_geometry (tar) ===
Downloaded tarball from 'https://github.com/ros-gbp/vision_opencv-release/archive/release/noetic/image_geometry/1.16.2-1.tar.gz' and unpacked it
=== ./src/vision_opencv/vision_opencv (tar) ===
Downloaded tarball from 'https://github.com/ros-gbp/vision_opencv-release/archive/release/noetic/vision_opencv/1.16.2-1.tar.gz' and unpacked it
Using argument './src' as a path to search.
Looking for packages in '/src'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant