Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171379 - >app-portage/g-cpan-0.14 won't work
Summary: >app-portage/g-cpan-0.14 won't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 20:31 UTC by klavs klavsen
Modified: 2008-02-27 19:45 UTC (History)
0 users

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 klavs klavsen 2007-03-18 20:31:40 UTC
I just emerged g-cpan (on two different - but both older - gentoo installs) 0.14 and 0.15_rc3.

In both cases, and on both machines, a g-cpan -l (right after install) gives me this:
# g-cpan -l
 * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan
 * g-cpan: Couldn't open folder /usr/local/portage/perl-gcpan: No such file or directory

If I create the /usr/local/portage/perl-gcpan - the line about that just goes away - nothing else.

If I then try:
# g-cpan --cpan_reload
 * g-cpan: You haven't told g-cpan what to do.

... I really miss being able to install perl-modules from cpan, as packages.
I haven't used in a long while - the old tool to do this, had obviously disappeared, and g-cpan I only found with some forum searching, but it seems it has regressed quite a bit from the old tool :(

If you want to know versions of any packages, pls. let me know - I'm guessing some old version (and ie. missing dependency in the ebuild) is the cause of this.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 21:26:40 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-03-21 14:18:44 UTC
post your emerge --info output. What does PORTDIR_OVERLAY point to really? --cpan_reload is to tell cpan to re-download the module lists and has no affect on g-cpan itself (other than the freshness of the cpan listing its querrying). g-cpan -l will only list those ebuilds that exist in your $overlay/perl-gcpan - if there's nothing there, there's nothing to show (which is what your results indicate).
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2007-03-27 10:54:47 UTC
ahlo?
Comment 4 klavs klavsen 2007-03-27 12:15:00 UTC
Hi Michael,

Sorry for the delay.

I must say that I'm completely NOT following what you mean.

in make.conf
PORTDIR_OVERLAY=/usr/local/portage

# g-cpan -l
 * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan

I was expecting that a --reload_cpan would fill the overlay with the packages that it supports (as I understand the help text from --help).
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2007-03-29 23:06:11 UTC
Ah! Then I need to rewrite the help text :) reload_cpan is to reload the cpan mirror and module texts, not fill the overlay. The overlay is filled based on your requests, ie if you say g-cpan -g Foo::Bar, the module Foo::Bar and its dependencies would get ebuilds generated in the overlay. Or if you said g-cpan -i Foo::Bar::Foo, Foo::Bar::Foo and deps would be generated and then installed from your overlay. There is no external overlay that g-cpan pulls from - everything is written on the fly as it were.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 19:45:38 UTC
(In reply to comment #4)
> # g-cpan -l
>  * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan
> 
> I was expecting that a --reload_cpan would fill the overlay with the packages
> that it supports (as I understand the help text from --help).

Errr.... I really don't see how does the following imply filling any overlay with anything. 

--cpan_reload
    Reload the CPAN index