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

Paul van Tilburg paulvt at debian.org
Mon Jul 24 14:06:39 UTC 2006


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.

Paul

-- 
Student @ Eindhoven                         | email: paulvt at debian.org
University of Technology, The Netherlands   | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
-------------- 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/20060724/04462eb0/attachment.pgp


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