New setup.rb versions and ruby-pkg-tools (Was: [Pkg-ruby-extras-maintainers] old setup.rb versions and ruby-pkg-tools)

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jul 29 12:23:52 UTC 2006


On 24/07/06 at 16:06 +0200, Paul van Tilburg wrote:
> On Mon, Jul 24, 2006 at 02:35:30PM +0100, Esteban Manchado Velázquez wrote:
> > On Thu, Jul 20, 2006 at 09:14:41AM +0200, Lucas Nussbaum wrote:
> > > On 20/07/06 at 08:36 +0200, Lucas Nussbaum wrote:
> > > > Hi,
> > > > 
> > > > Our CDBS class doesn't support old versions of setup.rb (e.g 3.3.1) : it
> > > > fails with this during the clean target: 
> > > 
> > > ARG. It's even worse than that: we don't support newer (3.4.0 or 3.4.1)
> > > setup.rb versions !!
> > 
> >     What versions is it supposed to support, then? :-??
> > 
> >     I'm using 3.3.1 for a couple of packages, and it seems to work fine...
> > 
> >     Who's calling the distclean_dir_data method? I can't find any references
> > to it in my setup.rb :-??
> 
> Well ruby setup.rb disclean calls that if a data dir exist. The fact
> that this method is missing is a known bug and I've sent a patch 15
> years ago.
> 
> >     Hmm... well, after a couple of tests, it seems that the problem is that we
> > also have to pass --siterubyver with the value /usr/lib/ruby/1.8 (or
> > whatever). But, I don't know if that will somehow break with older setup.rb's
> > (it seems not, though).  Grrr...
> 
> I have been thinking about this and wondered if it wouldn't be easier to
> patch up a setup.rb install it in /usr/bin and just call that one :).
> Always the same params, always the same behaviour.
 
That's a good idea, but maybe we should rename it pkg-ruby-setup.rb to
avoid confusion.
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20060729/ef21cd96/attachment.pgp


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