On Wed, Dec 20, 2006 at 11:46:25PM -0500, David Nusinow wrote: > git-buildpackage fails when I specify --git-builder=pbuilder. > Specifically, git-buildpackage explicitly passes pbuilder the 'clean' > target, which causes it to fail. I really like to use pbuilder to ensure > that my build-deps are correct, so having git-buildpackage support it would > be very helpful. Thank you for your work on git-buildpackage! I have added an option to specify the clean command. But as mentioned there's another issue with pdebuild: it doesn't understand dpkg-buildpackage's options directly. What I did is this:
# Create a little wrapper script cat <<EOF >/usr/local/bin/git-pbuilder #!/bin/sh # pass all options to dpkg-buildpackage: pdebuild --debbuildopts "$*" EOF chmod a+x /usr/local/bin/git-pbuilder # make sure we don't have to type that much on every build: cat <<EOF > ~/.gbp.conf [DEFAULT] cleaner = fakeroot debian/rules clean builder = /usr/local/bin/git-pbuilder Does this help? Would it be worth to add git-pbuilder to either pbuilder or git-buildpackage? Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]