On Sat, Oct 06, 2007 at 09:17:21PM +0200, Loïc Minier wrote:
>  Per policy 7.6, build-deps must be available for "clean"; pbuilder
>  calls dpkg-buildpackage -S to generate a source suitable to be copied
>  into the build environment; by default, this involves cleaning before
>  building the source, but dpkg-checkbuilddeps isn't run before cleaning.
> 
>  I think dpkg-builcpackage should run dpkg-checkbuilddeps and fail at
>  this point when called with -S.  Currently, clean might fail if
>  build-deps are unavailable (such as missing patch system package), but
>  this should really be an error detected earlier on.

This behaviour is as old as dpkg-checkbuilddeps itself (see
cf5d2919f686a15e8e623130b74af3ba2428fbeb in git).

Changing the behaviour would obviously be "correct", the question is
whether it would actually be "better".

Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/


Reply via email to