Thanks Andreas, I was on the wrong path! I was trying things that were not appropriate.
I updated to your changes, updated the changelog, added a gbp.conf and a git-pbuilder script as per Med Policy.
Now, this is what I get when I run 'git-buildpackage':
W: /home/yves/.pbuilderrc does not exist
I: using cowbuilder as pbuilder
dpkg-buildpackage: source package dwv-orthanc-plugin
dpkg-buildpackage: source version 0.3.1-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Yves <
ivmartel@gmail.com>
dpkg-source -i.git -I.git --before-build dwv-orthanc-plugin
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
dpkg-source -i.git -I.git -b dwv-orthanc-plugin
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building dwv-orthanc-plugin using existing ./dwv-orthanc-plugin_0.3.1.orig.tar.gz
dpkg-source: info: building dwv-orthanc-plugin in dwv-orthanc-plugin_0.3.1-1.debian.tar.gz
dpkg-source: info: building dwv-orthanc-plugin in dwv-orthanc-plugin_0.3.1-1.dsc
dpkg-genchanges -S >../dwv-orthanc-plugin_0.3.1-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-source -i.git -I.git --after-build dwv-orthanc-plugin
dpkg-buildpackage: full upload (original source is included)
-> Copying COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.23658
forking: cp -al /var/cache/pbuilder/base.cow /var/cache/pbuilder/build//cow.23658
cp: cannot stat '/var/cache/pbuilder/base.cow': No such file or directory
Failed cowcopy.
gbp:error: Couldn't run '~/bin/git-pbuilder': ~/bin/git-pbuilder returned 1