Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523458 - app-portage/g-cpan should upgrade ebuilds to EAPI=4
Summary: app-portage/g-cpan should upgrade ebuilds to EAPI=4
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL: https://github.com/gentoo-perl/g-cpan...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 12:20 UTC by Ervin Peters
Modified: 2016-05-20 13:08 UTC (History)
4 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 Ervin Peters 2014-09-22 12:20:22 UTC
while updating today I got this error message on every g-cpan related ebuild:

"EAPI=2 is not supported by perl-module.eclass"

I found that all other perl ebuild are upgraded to EAPI >= 4, because of some internal redesigns.

At that point I'd assume that g-cpan -u would upgrade all ebuilds to fit that constraint.

But it didn't. I found no way to tell g-cpan to recreate his ebuilds to fir structural needs.

The only way for me was to remove all packages managed by g-cpan, delete all contents of /usr/local/perl-gcpan/ and reinstall everything

Would it be nice to have a switch to force recreation of that ebuild and reinstallation?


Reproducible: Always
Comment 1 Sergiy Borodych 2014-09-23 07:06:56 UTC
Yes, maybe option like '--force' would be nice to have.

As workaround you will try:

$ source /etc/make.conf && find $GCPAN_OVERLAY/perl-gcpan -name '*.ebuild' -exec rm '{}' + && g-cpan -gvu