Package: dh-dist-zilla Version: 1.3 Severity: normal Dear Maintainer,
I have been unable to build packages with dh-dist-zilla in my sid pbuilder/cowbuilder chroot images (example for librun-parts-perl): [...] I: Running cd /build/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg- buildpackage -us -uc '-uc' '-us' '-uc' '-us' -rfakeroot dpkg-buildpackage: source package librun-parts-perl dpkg-buildpackage: source version 0.09-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Axel Beckert <a...@debian.org> dpkg-source --before-build librun-parts-perl-0.09 dpkg-buildpackage: host architecture amd64 dpkg-source: info: using options from librun-parts-perl-0.09/debian/source/options: --extend- diff-ignore=cover_db fakeroot debian/rules clean dh clean --with dist-zilla dh_testdir dh_dzil_clean couldn't determine home directory at /usr/share/perl5/Dist/Zilla/App.pm line 33. dh_dzil_clean: dzil clean returned exit code 2 debian/rules:4: recipe for target 'clean' failed make: *** [clean] Error 25 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 I: copying local configuration E: Failed autobuilding of package [...] The problem seems to be with the 'HOME="/nonexistent"' which was apparently introduced in pbuilder 0.220, which breaks Dist::Zilla's home directory detection. I have been able to fix the issue locally by setting BUILD_HOME="/tmp" in my .pbuilderrc, and afterwards everything builds fine for me. However, obviously that wouldn't help on build machines where I don't have control over that (autobuilders, ...). Here's a full transcript of the build leading to the problem: http://paste.debian.net/352424/ Is it just me or can you confirm the problem? I wonder if this is even something that can be addressed in dh-dist-zilla... Thanks and best wishes Sascha