On Sun, Nov 05, 2017 at 04:34:18PM +0100, Axel Beckert wrote:
>...
> > dh clean --with dist_zilla
> >    dh_dzil_clean
> > couldn't determine home directory at /usr/share/perl5/Dist/Zilla/App.pm 
> > line 37.
> > dh_dzil_clean: dzil clean returned exit code 2
> > debian/rules:5: recipe for target 'clean' failed
> > make: *** [clean] Error 25
> 
> Interesting. The 1.3.5 upload didn't change anything in dh_dzil_clean.
> Neither was there a libdist-zilla-perl upload in the past few months.
> (Last one was in July.)
> 
> Nevertheless downgrading to 1.3.4 fixes the issue.
> 
> So it's definitely a regression in 1.3.5.
>...

Reverting the following change fixes it:

--- dh-dist-zilla-1.3.4/dist_zilla.pm   2015-12-21 11:41:06.000000000 +0200
+++ dh-dist-zilla-1.3.5/dist_zilla.pm   2017-10-30 05:15:00.000000000 +0200
@@ -6,7 +6,7 @@
 my $build_root = ".build";
 my $build_dir = "$build_root/debian-build";
 # Override dzil's looking for $HOME
-$ENV{DZIL_GLOBAL_CONFIG_ROOT} = $build_root;
+local $ENV{DZIL_GLOBAL_CONFIG_ROOT} = $build_root;


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to