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

2016-12-15 Thread Guido Günther
control: reassign -1 devscripts

On Thu, Dec 15, 2016 at 04:42:40PM +, 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



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

2016-12-15 Thread Ben Hutchings
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.

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice
versa.


signature.asc
Description: This is a digitally signed message part


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

2016-12-15 Thread Guido Günther
Hi Ben,
On Thu, Dec 15, 2016 at 03:10:55PM +, 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 +, 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



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

2016-12-15 Thread Ben Hutchings
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 +, 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.

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice
versa.


signature.asc
Description: This is a digitally signed message part


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

2016-12-15 Thread Guillem Jover
Hi!

On Thu, 2016-12-15 at 05:28:18 +, 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?

Thanks,
Guillem



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

2016-12-14 Thread Ben Hutchings
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.

Ben.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg-dev depends on:
ii  binutils  2.27.51.20161127-1
ii  bzip2 1.0.6-8
ii  libdpkg-perl  1.18.15
ii  make  4.1-9
ii  patch 2.7.5-1
pn  perl:any  
ii  tar   1.29b-1.1
ii  xz-utils  5.2.2-1.2

Versions of packages dpkg-dev recommends:
ii  build-essential  12.2
ii  fakeroot 1.21-2
ii  gcc [c-compiler] 4:6.2.1-1
ii  gcc-4.8 [c-compiler] 4.8.5-4
ii  gcc-5 [c-compiler]   5.4.1-3
ii  gcc-6 [c-compiler]   6.2.1-5
ii  gnupg2.1.16-2
ii  gnupg2   2.1.16-2
ii  gpgv 2.1.16-2
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2016.09.04

-- no debconf information