Package: dh-python Version: 1.20130819-1 Severity: critical Tags: patch Dear Maintainer,
In ubuntu the following bug report was filed: https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/1214553 dpkg-source --before-build openteacher-3.1 fakeroot debian/rules clean dh clean --with python2 --buildsystem=pybuild dh_testdir -O--buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild Can't use string ("pybuild --clean ") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Debian/Debhelper/Buildsystem/pybuild.pm line 78. make: *** [clean] Error 255 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 debuild: fatal error at line 1361: dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed I have no idea if this is right or not, but I applied the following patch and it seems to be working now:
Description: Hopefully unbreak pybuild by properly pushing array arguments to @result array-ref. Author: Dmitrijs Ledkovs <dmitrij.led...@ubuntu.com> Bug-Ubuntu: https://bugs.launchpad.net/bugs/1214553 --- dh-python-1.20130819.orig/dh/pybuild.pm +++ dh-python-1.20130819/dh/pybuild.pm @@ -88,7 +88,7 @@ sub pybuild_commands { my @result; if ($ENV{'PYBUILD_INTERPRETERS'}) { - push @result, "pybuild --$step @options"; + push @result, ['pybuild', "--$step", @options]; } else { # get interpreter packages from Build-Depends{,-Indep}:
Regards, Dmitrijs.