On Wed, Dec 02, 2015 at 04:41:30PM +0100, Fabien Spindler wrote: > I was able to reproduce. > > Your issue comes from "dpkg-buildpackage -A" that run the tests > before building the package. > If I comment debian/rules override_dh_auto_test rule > "dpkg-buildpackage -A" is working. > > I don't find an additional option to "-A" to turn off the tests.
An additional option to "-A" would not help here. When a source-only upload is made, normal autobuilders do "dpkg-buildpackage -B" and a special "Arch: all" autobuilder would do "dpkg-buildpackage -A" to create the arch-independent packages. There is no way to tell the autobuilder "hi, please pass an additional option, because otherwise my package fails". What we want here is to not run the tests, by design, when only the architecture-independent packages are created. I see that you are using "dh" and several override_* targets. So, maybe a target "override_dh_auto_test-indep" that does not do anything would fix this. Thanks.