Bug#815390: Re: Re: Bug#815390: dh-make-perl: Fail to build package if run with sudo ($orig_pwd not initialized)

borissh1983 at gmail.com borissh1983 at gmail.com
Sat May 21 09:06:53 UTC 2016


On Saturday 21 May 2016 11:06:09 borissh1983 at gmail.com wrote:
> On Friday 20 May 2016 16:26:34 gregor herrmann wrote:
> > Control: tag -1 + moreinfo
> > 
> > On Sun, 21 Feb 2016 09:06:05 +0200, Boris Shtrasman wrote:
> > 
> > > Package: dh-make-perl
> > > Version: 0.89-1
> > > Severity: important
> > > 
> > > Dear Maintainer,
> > > 
> > > When invoking dh-make-perl with sudo for any cpan packgage it will fail
> > > with : 
> > [..]
> > > Workaround:
> > > 
> > > not to use sudo but to switch to root directly.
> > 
> > Thanks for the bug report, and sorry for the delay.
> > 
> > While I agree that this is a bit ugly: Why would you need to run
>  > dh-make-perl under sudo (or as root) in the first place?
> 
> If I remember correctly the system did not have enough disk space for it's local users but had more then enough for root and installing a single package.

I take my words back , it seems that I mixed two different events . 

It might be related to an attempt to get a debian package directly from cpan  but unfortunately I don't remember the exact case.
I can guess that maybe I was trying to get a debian package directly from cpan : 

user at pc: ~$ dh-make-perl make --build  --cpan Text::CSV::Simple

== dh-make-perl 0.90 ==
CPAN: Time::HiRes loaded ok (v1.9726)
mkdir /root/.cpan: Permission denied at /usr/share/perl/5.22/CPAN/FTP.pm line 520.


> > Cheers,
> > gregor
> > 
> > 



More information about the pkg-perl-maintainers mailing list