Re: [ros-users] Gem installer support

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: peter
CC: User discussions
Emne: Re: [ros-users] Gem installer support
Hi Peter,

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.

Tully

On Mon, Sep 24, 2012 at 11:28 AM, Peter Soetens <>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',
> '/home/rosbuild/chroot/prerelease_fuerte_orocos_toolchain_lucid_i386',
> '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 ?
>
> Cheers,
> Peter
>
> On Thu, Sep 20, 2012 at 11:25 AM, Tully Foote <>
> wrote:
> > Hi Ruben,
> >
> > Thanks for the patch to add gem support. We should be able to merge it
> in
> > and release it in the next few days.
> >
> > Tully
> >
> >
> > On Thu, Sep 20, 2012 at 12:51 AM, Ruben Smits <
> >
> > 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
> >>
> >> https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> >
> >
> > --
> > Tully Foote
> >
> > (650) 475-2827
> >
> > _______________________________________________
> > ros-users mailing list
> >
> > https://code.ros.org/mailman/listinfo/ros-users
> >
>




--
Tully Foote

(650) 475-2827