Bug#544578: Lintian example hook causes pbuilder to purge *.deb if there are errors

Junichi Uekawa dancer at netfort.gr.jp
Sat Sep 5 16:30:44 UTC 2009


At Thu, 03 Sep 2009 23:13:00 +0800,
Chow Loong Jin wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> On Thursday 03,September,2009 10:50 PM, Junichi Uekawa wrote:
> > Isn't it better to use C10shell instead of ignoring errors?
> > 
> C10shell doesn't get invoked when a hook dies. Also, there are many cases where
> you don't want a shell to be spawned just because of a few lintian errors.
> Generally, at least for me, inspecting the resultant debs can already show
> what's wrong. But aside from that, anything that doesn't result in my built debs
> being purged due to lintian errors would satisfy me already. Perhaps pbuilder
> should instead be tweaked to not purge debs if a hook dies?

I find a behavior to not fail at all when lintian fails to be wrong,
that's ignoring lintian warnings for everybody; so your patch doesn't
look quite correct.

However, there should be a better behavior than the current behavior.

Should fixing C10shell to be invoked when hooks fail be useful?


-- 
dancer@{netfort.gr.jp,debian.org}







More information about the Pbuilder-maint mailing list