Package: git-buildpackage
Version: 0.6.0~git20120822
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

The package fails to build from source if the DEB_VENDOR is not Debian,
as the test output from git-dch expects Debian distribution specific
behaviour.

You can see the failed build log with DEB_VENDOR=Ubuntu here:
https://launchpadlibrarian.net/121690052/buildlog_ubuntu-raring-i386.git-buildpackage_0.6.0~git20120822_FAILEDTOBUILD.txt.gz

If the DEB_VENDOR is set to Debian, the testsuite passes and the build
succeeds. Alternatively the dch tests could be skipped if the DEB_VENDOR is
not Debian.

Please consider applying this patch:

diff -Nru git-buildpackage-0.6.0~git20120822/debian/rules git-buildpackage-0.6.0~git20120822ubuntu1/debian/rules
--- git-buildpackage-0.6.0~git20120822/debian/rules	2012-06-01 22:11:12.000000000 +0100
+++ git-buildpackage-0.6.0~git20120822ubuntu1/debian/rules	2012-11-04 15:32:38.000000000 +0000
@@ -17,6 +17,7 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test
+	export DEB_VENDOR="Debian";			\
 	export GIT_AUTHOR_NAME="Gbp Tests";		\
 	export GIT_AUTHOR_EMAIL=te...@example.com;	\
 	export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME;	\
Regards,

Dmitrijs

Reply via email to