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

Esteban Manchado Velázquez zoso at debian.org
Mon Jul 24 13:35:30 UTC 2006


Hi Lucas,

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 :-??

> Example build of libfeedparser-ruby with 3.4.0:
> [...]
> /usr/bin/ruby1.8 setup.rb config --siteruby=/usr/lib/ruby
> [...]
> /usr/bin/ruby1.8 setup.rb setup
> [...]
> /usr/bin/ruby1.8 setup.rb install --prefix=debian/libfeedparser-ruby1.8
> [...]
> install feedparser.rb /usr/local/lib/site_ruby/1.8/feedparser
> install html2text-parser.rb /usr/local/lib/site_ruby/1.8/feedparser
>                             ^^^^^^^^^^^^^^
> Any ideas on how to solve this ? Currently, as a workaround, I'm using
> 3.3.1 and adding the missing distclean_dir_data method.

    OMG. Does it only happen with 3.4.x? I just checked, and it seems so. As
you're using "--siteruby=/usr/lib/ruby" in the config command, it seems a bug
in setup.rb, but I would like to investigate it.

    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...

-- 
Esteban Manchado Velázquez <zoso at debian.org>
EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es
Help spread it through the Net in signatures, webpages, whatever!
-------------- 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/417a8152/attachment.pgp


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