You already closed this but ...

I was wondering about this too since this broke debmake-doc example

E: debhello: changelog-is-dh_make-template
W: debhello: binary-without-manpage usr/bin/hello
dpkg-buildpackage: error: lintian ../debhello_0.0-1_amd64.changes gave error 
exit status 1
debuild: fatal error at line 1100:

On Wed, Nov 30, 2016 at 12:02:16AM -0500, James McCoy wrote:
> On Tue, Nov 29, 2016 at 08:51:21AM +0100, Christian Marillat wrote:
> Actually, it's just that dpkg-buildpackage checks the exit status of the
> check command (lintian in this case) where as debuild didn't used to do
> that.
> Lintian has an exit status of 1 because there were errors.  I actually
> think this is an improvement over what debuild did, since errors in the
> check command shouldn't be ignored.

I think this new behavior is good, too.  I will fix my package.

It will be nice to mention this new behavior in the "HOOKS" section of
the debuild(1) manpage. Please mention it actually calls
dpkg-buildpackage hooks now and the error code of the hook script is
respected.  Also, dpkg-buildpackage(1) may need some updates.



devscripts-devel mailing list

Reply via email to