Vincent Bernat <ber...@debian.org> writes: > When using `gbp buildpackage -B`, I get the following error:
> #+begin_example > Building with cowbuilder for distribution wheezy-backports, architecture i386 > W: /home/bernat/.pbuilderrc does not exist > I: using cowbuilder as pbuilder > dpkg-buildpackage: cannot combine -B and -S > Use --help for program usage information. > gbp:error: Couldn't run 'git-pbuilder -v1.5~dev19-2~bpo70+1 -B': git-pbuilder > returned 2 > #+end_example > I suppose that `-B` should be filtered outwhen trying to build the > package source. I am unsure if the problem is in git-buildpackage or > in cowbuilder/pbuilder. Try git-buildpackage --binary-arch. I've gotten bit by this too; it's rather unintuitive, and it's hard to find the correct documentation. It's in the pbuilder man page: --binary-arch Specify to build architecture specific targets instead of all targets. Setting --debbuildopts after this option will re-set some parts of the effect. Use this option rather than using --debbuildopts -B and is related to how pbuilder moves the package to be built into the chroot. It might be a good idea for git-buildpackage to just change -B into --binary-arch, since I don't see any use for -B otherwise. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org