Hi Eriberto,

you may not have seen this bug in the package you recently NMUed:

On Sun, 30 Oct 2016 12:47:26 +0000 Santiago Vila <[email protected]> wrote:
> Package: src:iisemulator
> Version: 0.95-3.1
> Severity: serious
> Tags: patch
> 
> Dear maintainer:
> 
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> (which is what the "Arch: all" autobuilder would do to build it)
> but it failed:
> 
> --------------------------------------------------------------------------------
> [...]
>  fakeroot debian/rules binary-indep
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> dh_installdirs
> cp -a iisemul* iis_data wwwroot 
> /<<PKGBUILDDIR>>/debian/iisemulator/usr/share/iisemulator
> find /<<PKGBUILDDIR>>/debian/iisemulator/usr/share/iisemulator/iis_data -type 
> f -exec chmod a-x {} \;
> find /<<PKGBUILDDIR>>/debian/iisemulator/usr/share/iisemulator/wwwroot -type 
> f -exec chmod a-x {} \;
>  dpkg-genchanges --build=all >../iisemulator_0.95-3.1_all.changes
> dpkg-genchanges: error: binary build with no binary artifacts found; cannot 
> distribute
> dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
> --------------------------------------------------------------------------------
> 
> This happens because the binary-* targets are swapped.
> 
> Trivial patch below.
> 
> Thanks.
> 
> --- a/debian/rules
> +++ b/debian/rules
> @@ -49,13 +49,9 @@ install: build
>       find $(CURDIR)/debian/iisemulator/usr/share/iisemulator/iis_data -type 
> f -exec chmod a-x {} \;
>       find $(CURDIR)/debian/iisemulator/usr/share/iisemulator/wwwroot -type f 
> -exec chmod a-x {} \;
>  
> +binary-arch: build install
>  
> -# Build architecture-independent files here.
>  binary-indep: build install
> -# We have nothing to do by default.
> -
> -# Build architecture-dependent files here.
> -binary-arch: build install
>       dh_testdir
>       dh_testroot
>       dh_installdocs
> 
> 

Andreas

Reply via email to