[ros-users] Gem installer support
tfoote at willowgarage.com
Mon Sep 24 23:39:05 UTC 2012
A patch for more graceful failure for missing rubygems would be great.
Are you trying to release debian packages depending on gem based packages?
With our current infrastructure this is not possible. And I'm not sure
conceptually if it's possible to be extended to be made to work.
We've set our standard policy that if there's something that we need a
debian package to depend upon we must release a debian package of that
package available. So we've packaged things like rosdep and rospkg, which
are pure python packages and installable via pip, as debian packages so
that on ubuntu people can rely on the apt/dpkg system to make sure their
machine has all the required dependencies. But we recommend pip as the
install rule for other platforms where people are building from source.
On Mon, Sep 24, 2012 at 11:28 AM, Peter Soetens <peter at thesourceworks.com>wrote:
> Hi Tully,
> We tested the new gem support in the prerelease build farm, but the
> gem installer mod fails during the 'rosdep install -y
> orocos_toolchain' step because 'rubygems' is not yet installed in that
> stage. We do depend on it in the manifest.xml, but the
> installer.get_installed_packages() step is done before the debs are
> installed. Hence failure.
> The easiest resolution would be to extend the build farm such that
> 'rubygems' is added to this list :
> Executing ['sudo', 'chroot',
> 'apt-get', 'install', '-y', '--force-yes', 'build-essential',
> 'python-yaml', 'python-svn', 'cmake', 'subversion', 'mercurial',
> 'bzr', 'git-core', 'wget', 'python-setuptools', 'python-pip']
> The alternative is to modify rosdep in order to first install packages
> using the default platform installer and then later the gems... but
> that seems fragile.
> We can contribute another patch such that rosdep fails more gracefully
> with a meaningful error message if rubygems is not installed (error
> today is 'no such file or directory')
> Thoughts ?
> On Thu, Sep 20, 2012 at 11:25 AM, Tully Foote <tfoote at willowgarage.com>
> > Hi Ruben,
> > Thanks for the patch to add gem support. We should be able to merge it
> > and release it in the next few days.
> > Tully
> > On Thu, Sep 20, 2012 at 12:51 AM, Ruben Smits <
> ruben.smits at intermodalics.eu>
> > wrote:
> >> Hi,
> >> I'm in the middle of releasing orocos_toolchain for fuerte, since some
> >> of our packages rely on ruby packages that are to be installed with
> >> gem, I created gem installer support for rosdep, see ticket with
> >> attached patch: https://code.ros.org/trac/ros/ticket/4050
> >> This would allow us to cleanup our osdeps and rosdep rules.
> >> Is there any time-schedule for when this feature would be picked up so
> >> we could go on with the fuerte release?
> >> Ruben
> >> --
> >> Ruben Smits, Phd
> >> Chief Technology Officer
> >> Intermodalics BVBA
> >> +32479511786
> >> www.intermodalics.eu
> >> _______________________________________________
> >> ros-users mailing list
> >> ros-users at code.ros.org
> >> https://code.ros.org/mailman/listinfo/ros-users
> > --
> > Tully Foote
> > tfoote at willowgarage.com
> > (650) 475-2827
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
tfoote at willowgarage.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ros-users