[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: libmoox-shorthas-perl



On Wed, 12 Jun 2019 05:23:01 +0530, Utkarsh Gupta wrote:

> > I think the warning is related to the issue we discussed on IRC
> > earlier (files ending up below $HOME [0]),
[..]
> > [0] if you're not using local::lib deliberately, I'd still check the
> > output of `printenv' to see if there are any PERL_* environment
> > variables set

> Here are the PERL* env variables that I have:
> 
> PERL5LIB=/home/utkarsh2102/perl5/lib/perl5
> PERL_LOCAL_LIB_ROOT=/home/utkarsh2102/perl5
> PERL_MB_OPT=--install_base "/home/utkarsh2102/perl5"
> PERL_MM_OPT=INSTALL_BASE=/home/utkarsh2102/perl5

And that exactly explains why perl modules get installed to
/home/utkarsh2102/perl5 in your "normal" enviroment :)

And as there is a PERL_LOCAL_LIB_ROOT variable, this looks very much
like you are after all using local::lib; at least "using" in the
sense of that someone/something sets these variables (maybe in
~/.bashrc or something similar).
Which is fine for using perl modules outside the system installation
but causes grieve when building packages (but that's what chroots are
for anyway).

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   BOFH excuse #232:  Ionization from the air-conditioning 


Reply to: