Bug#810762: debuild: shouldn't call dpkg-architecture for source-only builds

James McCoy jamessan at debian.org
Tue Jan 12 02:06:12 UTC 2016


On Mon, Jan 11, 2016 at 05:33:03PM -0700, Neil Mayhew wrote:
> I'm using debuild -S to create a source package. debuild calls
> dpkg-architecture, which in turn tries to call gcc and shows an error.
> I shouldn't need gcc to build a source package.
> 
> The variables set by dpkg-architecture aren't used in a sourceonly build, so
> the call to dpkg-architecture should be inside the block that uses its
> results.

debuild is just a wrapper around dpkg-buildpackage, and is in the
process of becoming an even thinner wrapper than it currently is.

dpkg-buildpackage exhibits the same behavior, so you're better off
seeing if that's something the dpkg folks (Cc'ed) think need fixing.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>



More information about the devscripts-devel mailing list