Hi Ben, On Thu, Dec 15, 2016 at 03:10:55PM +0000, Ben Hutchings wrote: > Control: reassign -1 git-buildpackage 0.8.7 > > On Thu, 2016-12-15 at 13:02 +0100, Guillem Jover wrote: > > Hi! > > > > On Thu, 2016-12-15 at 05:28:18 +0000, Ben Hutchings wrote: > > > Package: dpkg-dev > > > Version: 1.18.15 > > > Severity: normal > > > > > > The dpkg-buildpackage short option '-tc' doesn't work. It's now > > > interpreted like '-t c', resulting in: > > > > > > dpkg-architecture: error: unknown GNU system type c, you must specify > > > Debian architecture, too > > > > > > Please fix or remove this from the man page. > > > > This works for me, I'm guessing you are perhaps using debuild instead > > of directly calling dpkg-buildpackage? > > It's actually gbp buildpackage. Sorry for assuming that it was passing > options through correctly (why wouldn't it??) rather than actually > testing dpkg-builldpackage directly.
I'm not sure how you're invoking gbp but in my tests it passes on -tc correctly: $ 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? Cheers, -- Guido