[DRE-maint] ruby-setup-rb.mk, and ftbses

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jan 12 19:14:54 UTC 2008


On 12/01/08 at 18:07 +0100, Arnaud Cornet wrote:
> 
> > I'm not sure of your fix:
> > --- 1/class/ruby-setup-rb.mk	(revision 2273)
> > +++ 1/class/ruby-setup-rb.mk	(working copy)
> > @@ -74,6 +74,6 @@
> >  	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS)
> >  	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) $(DEB_RUBY_CLEAN_TARGET)
> >  	rm -f $(DEB_SRCDIR)/.config-*
> > -	[ -L $(DEB_RUBY_SETUP_CMD) ] && rm -f $(DEB_RUBY_SETUP_CMD)
> > +	([ -L $(DEB_RUBY_SETUP_CMD) ] && rm -f $(DEB_RUBY_SETUP_CMD)) || true
> > 
> > It won't remove the file if setup.rb is NOT a symbolic link. So we will
> > still use old versions of setup.rb in that case.
> 
> 
> This is the point, the class links setup.rb if one is not already
> present in upstream source. So at clean time, it removes it only if it
> is a symlink. (This code extract is in the clean target.)
> BTW the fix is not mine.

This doesn't work. The idea is to always use setup.rb from the package.
Using upstream's setup.rb will make us use old versions of setup.rb,
which won't support some of the options we use.

> > The current in the archive still builds all our packages fine, so
> > there's no emergency.
> 
> The emmergency is that I cannot upload my package as it build-depends on
> a ruby-pkg-tools >= 0.13 not in sid yet.
> 
> Also, some packages in sid right now ftbs if rebuild.

if rebuilt with the version of ruby-pkg-tools in sid?

please give an example.
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |



More information about the Pkg-ruby-extras-maintainers mailing list