Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139308 - eclean destroys app-portage/g-cpan data
Summary: eclean destroys app-portage/g-cpan data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 06:49 UTC by Jan
Modified: 2007-02-25 13:43 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 Jan 2006-07-05 06:49:29 UTC
I think, eclean unintentionally cleared some g-cpan information from the portage directory (whereas putting persistent g-cpan data there might be a bad idea anyway).

When starting g-cpan after running "eclean -d distfiles", I get the following output:
--
g-cpan: Couldn't open folder /usr/local/portage/perl-gcpan: No such file or directory
--

This error is reproducable. After upgrading to g-cpan-0.14.0_rc3 today, I had another error which is not reproducable, unfortunately. When I issued any g-cpan command g-cpan told me about missing parameters:
--
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
the following indispensable but missing parameters:

mbuild_arg, mbuild_install_arg, mbuild_install_build_command, mbuildpl_arg
--

It then started to loop printing the following output for ever, without giving me the chance to answer this question (I actually interrupted it after a couple of minutes, but it's likely to repeat for ever):
--
(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) []
--

I reconfigured my CPAN using "perl -MCPAN -e shell", and now the latter error is gone.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-07-06 03:37:09 UTC
The latter error sounds like it was invoked by CPAN (not my kinda warning text ;) - the first error, I'd have to look at eclean more closely to see what caused that. In 0.14 we now add an entry to /etc/portage/categories, which on a blind shot might correct this behavior (because then it would be an 'official' category). As far as I know, though, that behavior on eclean's part shouldn't be allowed to happen - you should be able to create new categories in your overlay if you want to without reprecussion.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 13:43:05 UTC
Noone reported this for quite some time; closing as FIXED. 

If you still have issues w/ eclean wiping stuff *and* have perl-gcpan in /etc/portage/categories, reopen this bug. Thanks.