Bug#846192: devscripts: lintian called from debuild always fail (gave error exit status 1)

James McCoy jamessan at debian.org
Wed Nov 30 05:02:16 UTC 2016


On Tue, Nov 29, 2016 at 08:51:21AM +0100, Christian Marillat wrote:
> From several sources I see this error :
> 
> dpkg-buildpackage: info: full upload (original source is included)
> dpkg-buildpackage: info: running hook check
>  lintian ../motioneye-dmo_0.35.1-dmo1_i386.changes
> E: motioneye-dmo source: source-is-missing motioneye/static/js/css-browser-selector.js line length is 2180 characters (>512)
> E: motioneye-dmo source: source-is-missing motioneye/static/js/jquery.min.js
> E: motioneye-dmo source: source-is-missing motioneye/static/js/jquery.timepicker.min.js
> W: motioneye: binary-without-manpage usr/bin/meyectl
> dpkg-buildpackage: error: lintian ../motioneye-dmo_0.35.1-dmo1_i386.changes gave error exit status 1
> debuild: fatal error at line 1100:
> dpkg-buildpackage -rfakeroot -us -uc --hook-check=cd ..;  -j10 --check-command=lintian failed
> 
> I think this bug has been introcuded when bug #845628 has been fixed.

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.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the devscripts-devel mailing list