[Pkg-ruby-extras-maintainers] Clean issue with extconf.rb class

Paul van Tilburg paulvt at debian.org
Wed Nov 1 23:35:13 CET 2006


On Wed, Nov 01, 2006 at 10:16:09AM +0100, Paul van Tilburg wrote:
> I was wondering if someone could have a look at the clean target of the
> extconf.rb class. In some cases not all build-deps are installed and thus
> the clean target fails and svn-pbuilder bails out.  AFAIK, the clean
> target shouldn't hold up the build, even more so in this case because
> once the pbuild chroot is set up all depends _are_ going to be installed.
> However, with the clean target failing I don't get to the chroot part.
> A good example where this happens is packages-wip/libfuse-ruby.
> OTOH it may also be a problem with svn-pbuilder?

Ok, so it seems I meant the ruby-setup-rb class, not the ruby-extconf-rb class.
What it does in the clean target is call: ruby setup.rb config,
this is chained to doing some extconf.rb configure voodoo if there is any.
If a build-dep is missing, the config fails and so does the clean
target, but it shouldn't!
The clean target should be somewhat 'best effort' and if it doesn't
configure it should call ruby setup.rb distclean regardless.

Thoughts? Esteban? :)

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/20061101/f98f6204/attachment.pgp


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