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

Paul van Tilburg paulvt at debian.org
Thu Nov 2 09:11:44 CET 2006


On Wed, Nov 01, 2006 at 11:13:25PM +0000, Esteban Manchado Velázquez wrote:
> On Wed, Nov 01, 2006 at 11:35:13PM +0100, Paul van Tilburg wrote:
> > [...]
> > 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? :)
> 
>     :-) I will try to have a look. The solution is probably something like
> doing "<whatever> config || true", but I'd like to investigate it.
> 
>     But, I'm not sure if we should upload a new version, now that we are so
> close to a freeze (after all, the package is not in the archive...).

Actually, policy[1] requires the build-deps to be installed for the
clean target.  So, I think it's rather a tool issue, starting to clean
when it is known that build-depends are not satisfied.  I am currently
using pdebuild instead of pdebuil --use-pdebuild-internal (since the
first one actually works with cowbuilder).  And the first one seems to
clean before going into the chroot that will get the build-depends,
while the latter does this after the chroot is built.
I'd think it's safe to assume we can blame pbuilder and leave the class
alone. ;)

Regards,
Paul

1: http://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps
   (thanks, Arnaud, for looking it up and confronting me with it ;))

-- 
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/20061102/b32e42ee/attachment.pgp


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