After emerging gentoo-stats, executing it fails with: --- Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/sbin/gentoo-stats line 6. BEGIN failed--compilation aborted at /usr/sbin/gentoo-stats line 6. --- I guess it's a dependency issue, but who am I to guess? :)
*** Bug 8819 has been marked as a duplicate of this bug. ***
I'm hitting this bug, too. Any known workaround? Which package contains LWP/UserAgent.pm?
LWP::UserAgent is contained in dev-perl/libwww-perl, which is a dependency of gentoo-stats. Which version of libwww-perl do you have installed? I have libwww-perl-5.64, and it's running just fine. I don't have clue why it isn't running for you (yet).
I've the same version: sascha@cube:~$ qpkg -I -v dev-perl/libwww-perl dev-perl/libwww-perl-5.64 * The problem is that libwww-perl installs LWP/UserAgent.pm to /usr/lib/site_perl/5.6.1, but gentoo-stats only has /usr/lib/perl5/site_perl/5.6.1 (note the additional perl5) in its @INC. cube root # qpkg -l dev-perl/libwww-perl-5.64 |grep LWP/UserAgent.pm /usr/lib/site_perl/5.6.1/LWP/UserAgent.pm cube root # gentoo-stats --new Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/sbin/gentoo-stats line 6. BEGIN failed--compilation aborted at /usr/sbin/gentoo-stats line 6. Do you have any compatibility package installed or made any SymLink locally?
Ah, that sounds like the ExtUtils-MakeMaker bug. Please try this: # emerge --oneshot -u ExtUtils-MakeMaker # emerge --oneshot libwww-perl # gentoo-stats -new
Doing what you suggested didn't help: # gentoo-stats -new Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/sbin/gentoo-stats line 6. BEGIN failed--compilation aborted at /usr/sbin/gentoo-stats line 6. << Please try this: # emerge --oneshot -u ExtUtils-MakeMaker # emerge --oneshot libwww-perl # gentoo-stats -new >>
Let's try something more clean: # emerge rsync Check that you have a recent version of Portage now ("emerge -s ^portage$"). Current is 2.0.38. Use "emerge -u portage" if necessary. # emerge -C libwww-perl ExtUtils-MakeMaker # emerge --oneshot ExtUtils-MakeMaker libwww-perl # gentoo-stats --new
That did not help. :( "emerge --oneshot -u ExtUtils-MakeMaker" did nothing because ExtUtils-MakeMaker already was the latest version. Re-emerging it did not help, either.
My base system is up to date. The "world" profile is nearly up to date (only postgresql and kde are pending because they have been updated in the last 24 hours). rsync server is rsync.nl.gentoo.org.
I suppose you also have perl-5.6.1-r7 then? That's also got to do with some MakeMaker bug.
Yes, I do have perl-5.6.1-r7: cube root # qpkg -I -v perl sys-devel/perl-5.6.1-r7 *
This is clearly no dependency problem with gentoo-stats. libwww-perl (as well as other unrelated Perl modules) installs into the wrong directory. Assigning this bug to raker on request.
Earlier today the perl-module.eclass was updated. Please update your portage tree and update software. Please let me know if the problem is solved for you. emerge rsync emerge libwww-perl gentoo-stats Hopefully the files in libwww-perl should be placed in the correct directory now.
Bug 9067 fixes this *** This bug has been marked as a duplicate of 9067 ***
*** Bug 9780 has been marked as a duplicate of this bug. ***
*** Bug 9866 has been marked as a duplicate of this bug. ***
*** Bug 9822 has been marked as a duplicate of this bug. ***