Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167776 - app-portage/g-cpan-0.1_rc2 fails when there's only one overlay in PORTDIR_OVERLAY
Summary: app-portage/g-cpan-0.1_rc2 fails when there's only one overlay in PORTDIR_OVE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 18:49 UTC by Nicolas Litchinko
Modified: 2007-02-26 10:18 UTC (History)
1 user (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 Nicolas Litchinko 2007-02-20 18:49:35 UTC
* DEFINED OVERLAYS DON'T EXIST!

This probably happens with other versions too.

I was able to work around (fix?) this issue by editing line 297 of /usr/bin/g-cpan.

unless (keys %{$gcpan_run->{portage_bases}} > 1)
becomes
unless (keys %{$gcpan_run->{portage_bases}} >= 1)
and g-cpan won't exit early when you only have one overlay defined in PORTDIR_OVERLAY.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-02-26 10:18:06 UTC
fixed in svn. sorry about that, seeing this makes it feel even sillier to have missed earlier.