Bug#848210: dpkg-buildpackage -tc option no longer works

Guido Günther agx at sigxcpu.org
Thu Dec 15 16:47:04 UTC 2016


control: reassign -1 devscripts

On Thu, Dec 15, 2016 at 04:42:40PM +0000, Ben Hutchings wrote:
> On Thu, 2016-12-15 at 16:30 +0100, Guido Günther wrote:
> [...]
> > I'm not sure how you're invoking gbp but in my tests it passes on -tc
> > correctly:
> 
> Sorry, it's:
> 
>     gbp buildpackage --git-ignore-new --git-debian-branch=master -tc
> 
> > $ gbp buildpackage --git-verbose -tc --git-no-pbuilder --git-builder=debuild
> > gbp:debug: ['git', 'rev-parse', '--show-cdup']
> > gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
> > gbp:debug: /bin/true [] []
> > gbp:debug: ['git', 'status', '--porcelain']
> > gbp:debug: ['git', 'symbolic-ref', 'HEAD']
> > gbp:debug: ['git', 'show-ref', 'refs/heads/master']
> > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'HEAD']
> > gbp:debug: debuild ['-tc'] []
> > dpkg-architecture: error: unknown GNU system type c, you must specify Debian architecture, too
> > debuild: error: dpkg-architecture -tc -f gave error exit status 255
> > gbp:error: 'debuild -tc' failed: it exited with 255
> > 
> > But then debuild seems to have problems:
> > 
> > $ debuild -tc
> > dpkg-architecture: error: unknown GNU system type c, you must specify Debian architecture, too
> > debuild: error: dpkg-architecture -tc -f gave error exit status 255
> > 
> > Are you using debuild?
> 
> I didn't specifically request use of debuild, but apparently it's being
> used by default.

O.k. Then the issues is with debuild.

    dpkg-buildpackage -tc

works as expected where as

    debuild -tc

fails with the error above. Reassigning.
Cheers,
 -- Guido




More information about the devscripts-devel mailing list