Re: [gentoo-user] python 2 deprecation

2020-01-27 Thread David Haller
Hello,

On Sun, 26 Jan 2020, james wrote:
> * Package:dev-perl/Authen-SASL-2.160.0-r1
> * Repository: argent-main
[..]
> * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
>DESTDIR=/var/tmp/portage/dev-perl/Authen-SASL-2.160.0-r1/image/
>Can't locate inc/Module/Install.pm in @INC (you may need to install the
>inc::Module::Install module) (@INC contains: /etc/perl

That is not the gentoo ebuild. The gentoo one builds just fine due to
this line in src_prepare() of the ebuild:

sed -i -e 's/use inc::Module::Install;/use lib q[.]; use 
inc::Module::Install;/' Makefile.PL

So, just mask the argent-main version or remove that overlay or ...

HTH,
-dnh

-- 
SMTP is cute, fluffy and goes Woof! When well treated she wags her tail, licks
your face and delivers your mail. When badly treated by spammers or people
running exchange//etc she tends to bite
back.-- Simon Burr



Re: [gentoo-user] python 2 deprecation

2020-01-27 Thread Franz Fellner
Quoting james (2020-01-27 06:57:24)
> It runs on 64/145 packages just fine, then, as always, fails on 
> "Emerging (65 of 145)dev-perl/Authen-SASL-2.160.0-r1::argent-main"
> 
> Any other ideas?  Maybe I need to download that package again, as it 
> somehow got corrupted?

I assume "argent-main" repo is the main tree of argentlinux, correct?
So no Gentoo but a fork?
It is likely that they messed up some things, so normal Gentoo users 
have no issues with that package.



Re: [gentoo-user] python 2 deprecation

2020-01-27 Thread james

On 1/27/20 3:18 AM, Mick wrote:

On Monday, 27 January 2020 07:26:38 GMT Arve Barsnes wrote:

On Mon, 27 Jan 2020 at 05:57, james  wrote:

Can't locate inc/Module/Install.pm in @INC (you may need to install the
inc::Module::Install module) (@INC contains: /etc/perl
/usr/local/lib64/perl5/5.30.1/x86_64-linux-thread-multi
/usr/local/lib64/perl5/5.30.1
/usr/lib64/perl5/vendor_perl/5.30.1/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.30.1 /usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl/5.28.2 /usr/lib64/perl5/vendor_perl/5.26.2
/usr/lib64/perl5/vendor_perl/5.24.3 /usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/5.30.1/x86_64-linux-thread-multi
/usr/lib64/perl5/5.30.1) at Makefile.PL line 6.

Any guidance or suggestion are welcome.
A specific list of files to purge and download again?


It seems like some package has a missing dependency, and that you
should install dev-perl/Module-Install

Cheers,
Arve


Hmm ... dev-perl/Module-Install is NOT installed here, but I do have dev-perl/
Authen-SASL-2.160.0-r1 installed fine with no emerge errors.

Of course James may have installed manually some perl packages, or added
(some) perl packages in his world file and they may require dev-perl/Module-
Install.  Either way such dependencies ought to be dealt with by portage,
rather than having to emerge packages manually.


Agreed.



I'm no perl expert to offer specific advice here.  To move on you could try
emerging '-1av dev-perl/Module-Install' as Arve recommends and see where this
gets you.



So, allowing me to 'play stupid here', How was I suppose to know that ::

"Can't locate inc/Module/Install.pm in @INC (you may need to install the
>>> inc::Module::Install module) (@INC contains: /etc/perl "

Is it an action item to go and look for a package I have never dealt 
with. I'm not assuming this is not PEBCAK

'Problem Exist Between Chair And Keyboard'

But this is a new one for me

Anyway, thanks Arve and Mick and Dale. I hate to admit it, but this 
one stumped me for over a week...



perl-cleaner --reallyall
ran flawlessly...


James




Re: [gentoo-user] python 2 deprecation

2020-01-27 Thread Mick
On Monday, 27 January 2020 07:26:38 GMT Arve Barsnes wrote:
> On Mon, 27 Jan 2020 at 05:57, james  wrote:
> > Can't locate inc/Module/Install.pm in @INC (you may need to install the
> > inc::Module::Install module) (@INC contains: /etc/perl
> > /usr/local/lib64/perl5/5.30.1/x86_64-linux-thread-multi
> > /usr/local/lib64/perl5/5.30.1
> > /usr/lib64/perl5/vendor_perl/5.30.1/x86_64-linux-thread-multi
> > /usr/lib64/perl5/vendor_perl/5.30.1 /usr/local/lib64/perl5
> > /usr/lib64/perl5/vendor_perl/5.28.2 /usr/lib64/perl5/vendor_perl/5.26.2
> > /usr/lib64/perl5/vendor_perl/5.24.3 /usr/lib64/perl5/vendor_perl
> > /usr/lib64/perl5/5.30.1/x86_64-linux-thread-multi
> > /usr/lib64/perl5/5.30.1) at Makefile.PL line 6.
> > 
> > Any guidance or suggestion are welcome.
> > A specific list of files to purge and download again?
> 
> It seems like some package has a missing dependency, and that you
> should install dev-perl/Module-Install
> 
> Cheers,
> Arve

Hmm ... dev-perl/Module-Install is NOT installed here, but I do have dev-perl/
Authen-SASL-2.160.0-r1 installed fine with no emerge errors.

Of course James may have installed manually some perl packages, or added 
(some) perl packages in his world file and they may require dev-perl/Module-
Install.  Either way such dependencies ought to be dealt with by portage, 
rather than having to emerge packages manually.

I'm no perl expert to offer specific advice here.  To move on you could try 
emerging '-1av dev-perl/Module-Install' as Arve recommends and see where this 
gets you.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.