-
Notifications
You must be signed in to change notification settings - Fork 3
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
Unsafe load() #8
Comments
Can you give me a more detailed description and log of what problem is arising? Note that rosdep does not work in Gentoo Prefix because it tries to write in /etc/ros as reported here: ros-infrastructure/rosdep#583 And Gentoo Prefix aims to run on a system without root access and without touching anything outside the Prefix itself. What do you need rosdep for? (Just curious) Update: I've looked a bit more into it with the data you provided. The latest version of rosdep does not use unsafe load calls (or I can't find them: https://github.com/ros-infrastructure/rosdep/search?q=load%28&unscoped_q=load%28 ) First I cloned the rosdep repo: https://github.com/ros-infrastructure I created a new branch and made a commit to be able to generate a .patch so it can be easily applied in our Gentoos: git checkout -b rosdep_0.13.0_safe_load
git commit -m "change yaml.load to yaml.safe_load so to workaround gentoo bug https://bugs.gentoo.org/659348"
git format-patch -n HEAD^ This gave me the file: 0001-change-yaml.load-to-yaml.safe_load-so-to-workaround-.patch with the contents: https://gist.github.com/awesomebytes/18938bb640413b175948fa82d3d168ae Now you can use that patch easily in your install by placing it in mkdir -p $EPREFIX/etc/portage/patches/dev-python/rosdep-0.13.0
cd $EPREFIX/etc/portage/patches/dev-python/rosdep-0.13.0
wget https://gist.githubusercontent.com/awesomebytes/18938bb640413b175948fa82d3d168ae/raw/0bab3eb11ec88a7615cd08191487fab2a5730670/0001-change-yaml.load-to-yaml.safe_load-so-to-workaround-.patch
emerge dev-python/rosdep Note that I haven't tried any of this and there may be some typo, but it should work, I think. |
Hi! Sorry for very long pause
Is there another way to install all dependencies of libuvc_ros pachage? |
@alex-kozinov Hello! libuvc_ros depends on libuvc_camera (same metapackage) which has the following package.xml with the highlighted dependencies: Other than usual ROS packages (as ros-melodic-image-transport for example) it depends on libuvc. Which any search engine with 'gentoo libuvc' links me to: So, to compile libuvc_ros I think you'll need to |
Hi! Thank you for your great job)
Can I ask you to add patch to prefix, which fix this bug:
It appeared when I tried to run
rosdep
command (The text was updated successfully, but these errors were encountered: