Package: git-buildpackage Version: 0.6.32 Severity: normal Hi, gbp buildpackage is unable to build a source-only package with -g switch (or --changes-option=-g) [1]:
$ gbp buildpackage -j4 --git-pbuilder -g --git-verbose --verbose 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: ['git', 'show-ref', 'refs/heads/pristine-tar'] gbp:debug: ['git', 'log', '--pretty=format:%H', '--grep=pristine-tar .* nghttp2_1.3.4\\.orig.tar\\.', 'pristine-tar', '--'] gbp:debug: Found pristine-tar commit at '454f1d84b15210fc9589d8d96b6f8a26ab8ee939' gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', '454f1d84b15210fc9589d8d96b6f8a26ab8ee939^0'] gbp:debug: ['git', 'show', '-- pretty=format:%an%x00%ae%x00%ad%x00%cn%x00%ce%x00%cd%x00%s%x00%f%x00%b%x00', '-z', '--date=raw', '--no-renames', '--name-status', '454f1d84b15210fc9589d8d96b6f8a26ab8ee939'] gbp:debug: Determined compression type 'bzip2' gbp:info: Building with pbuilder for sid gbp:debug: git-pbuilder ['-j4', '-g', '--verbose'] [] Building with pbuilder for distribution sid I: using pbuilder as pbuilder dpkg-buildpackage: cannot combine -S and -g Use --help for program usage information. gbp:error: 'git-pbuilder -j4 -g --verbose' failed: it exited with 2 ======================== This *works* without '--git-pbuilder', but in this case the build is not isolated and 'all' packages may be built in a wrong way. It would be great if one could make source-only builds with --git-pbuilder. Cheers, Tomasz [1] https://wiki.debian.org/SourceOnlyUpload -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git-buildpackage depends on: ii devscripts 2.15.9 ii git 1:2.6.1-1 ii man-db 2.7.4-1 ii python 2.7.9-1 ii python-dateutil 2.2-2 ii python-pkg-resources 18.4-1 ii python-six 1.10.0-1 Versions of packages git-buildpackage recommends: ii cowbuilder 0.74 ii pbuilder 0.219 ii pristine-tar 1.33 ii python-requests 2.7.0-3 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-4 ii unzip 6.0-18 -- no debconf information