pkgsrc-Bugs archive

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

Re: pkg/47667: some p5-* packages missing .packlist

On 3/24/2013 09:10, Manuel Bouyer wrote:

  Is this from HEAD or the stable branch ?

Now that I have the email telling me which bug it is, I am happy
to report that it may be closed.

The problem was that CPAN got in the way one day and decided to
put the following lines at the end of root's .bashrc:

export PERL_LOCAL_LIB_ROOT="/root/perl5";
export PERL_MB_OPT="--install_base /root/perl5";
export PERL_MM_OPT="INSTALL_BASE=/root/perl5";
export PERL5LIB="/root/perl5/lib/perl5/x86_64-netbsd-thread-multi:/root/perl5/lib/perl5";
export PATH="/root/perl5/bin:$PATH";

...and I didn't realise it.

I got tipped off by envariables once modules I built started failing to build
when I'd built them before.  I was wondering, "where the HELL is it getting
/root/perl5...?".  Saw PERL* show up in "set | grep /root/perl5", which led to
"find /root -type f | xargs grep -l /root/perl5" which turned up .bashrc.

I commented out the above lines, rebuilt, and it all works.

Sorry for the trouble.  You may wish to have "Check your .{tc,ba}shrc,
.bash_profile, .login, /etc/*sh* for any extraneous PERL* variables"
on hand as a possible solution to this problem should it rear its ugly head


Home | Main Index | Thread Index | Old Index