Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8725 - gentoo-stats dependency problem?
Summary: gentoo-stats dependency problem?
Status: RESOLVED DUPLICATE of bug 9067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 8819 9822 9866 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-03 13:47 UTC by Daniel Weller
Modified: 2005-07-17 13:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Weller 2002-10-03 13:47:36 UTC
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? :)
Comment 1 SpanKY gentoo-dev 2002-10-06 16:01:29 UTC
*** Bug 8819 has been marked as a duplicate of this bug. ***
Comment 2 Sascha Silbe 2002-10-09 09:57:13 UTC
I'm hitting this bug, too. Any known workaround? Which package contains LWP/UserAgent.pm?
Comment 3 Maik Schreiber 2002-10-09 10:42:56 UTC
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).
Comment 4 Sascha Silbe 2002-10-09 10:49:10 UTC
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?

Comment 5 Maik Schreiber 2002-10-09 10:59:20 UTC
Ah, that sounds like the ExtUtils-MakeMaker bug.

Please try this:

# emerge --oneshot -u ExtUtils-MakeMaker
# emerge --oneshot libwww-perl
# gentoo-stats -new
Comment 6 Stephen Boulet 2002-10-09 12:28:48 UTC
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
>>
Comment 7 Maik Schreiber 2002-10-09 13:56:02 UTC
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
Comment 8 Sascha Silbe 2002-10-09 16:15:33 UTC
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.
Comment 9 Sascha Silbe 2002-10-09 16:32:17 UTC
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.
Comment 10 Maik Schreiber 2002-10-09 17:44:03 UTC
I suppose you also have perl-5.6.1-r7 then? That's also got to do with some
MakeMaker bug.
Comment 11 Sascha Silbe 2002-10-09 17:45:21 UTC
Yes, I do have perl-5.6.1-r7:

cube root # qpkg -I -v perl
sys-devel/perl-5.6.1-r7 *
Comment 12 Maik Schreiber 2002-10-11 09:42:54 UTC
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.
Comment 13 Nick Hadaway 2002-10-11 12:31:00 UTC
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.
Comment 14 SpanKY gentoo-dev 2002-10-13 15:25:30 UTC
Bug 9067 fixes this 

*** This bug has been marked as a duplicate of 9067 ***
Comment 15 SpanKY gentoo-dev 2002-10-28 00:32:55 UTC
*** Bug 9780 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2002-10-29 00:06:22 UTC
*** Bug 9866 has been marked as a duplicate of this bug. ***
Comment 17 SpanKY gentoo-dev 2002-10-29 00:06:27 UTC
*** Bug 9822 has been marked as a duplicate of this bug. ***