Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 597158

Summary: app-portage/g-cpan-0.16.5: should it add 'perl-gcpan' to '/etc/portage/catagories'?
Product: Gentoo Linux Reporter: sphakka <marcoep>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://forums.gentoo.org/viewtopic-t-569126-highlight-gcpan+category.html
Whiteboard:
Package list:
Runtime testing required: ---

Description sphakka 2016-10-15 08:46:52 UTC
g-cpan refuses to install (all?) packages as they are in category 'perl-gcpan', which is unknown to the system. This seems a pretty old issue (https://forums.gentoo.org/viewtopic-t-569126-highlight-gcpan+category.html), so maybe I am missing something...

As in URL above, 

  # echo perl-gcpan > /etc/portage/categories

solves this issue. Should it be done at g-cpan installation?
Comment 1 sphakka 2016-10-15 08:48:46 UTC
Meanwhile, a mention of this could be added to the Wiki page https://wiki.gentoo.org/wiki/Project:Perl/g-cpan
Comment 2 Sergiy Borodych 2016-10-18 09:49:15 UTC
I'm not sure if we should done this during installation.
Are there examples of this?

And yes, adding note to postinst message and wiki will help.
Comment 3 Sergiy Borodych 2016-10-21 14:31:00 UTC
I've analyze a code little and found what g-cpan should manage this.
Seems like it was solved a long time ago.
I've tested that by remove/empty /etc/portage/categories and all fine after first run of g-cpan.
Could you please provide more details for the case (with logs).