Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478714 - [TRACKER] perl-module.eclass: drop support for EAPI < 4
Summary: [TRACKER] perl-module.eclass: drop support for EAPI < 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: http://dev.gentoo.org/~zlogene/perl-o...
Whiteboard:
Keywords: Tracker
Depends on: 478720 478722 478736 478738 478740 478744 478750 478754 478756 478758 478762 478766 478768 479050 479054 479066 479068 479070 479072 479380 479428 482536 482564 483180 484258 484924 496422 500270 511730 511732 512114 513040 513062 513192 516186 517040 517190 518050 518266 518292 520776
Blocks: 407841
  Show dependency tree
 
Reported: 2013-07-30 03:38 UTC by Matt Turner
Modified: 2014-12-10 01:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
EAPI=0 packages inheriting perl-modules (0.txt,3.92 KB, text/plain)
2013-07-30 03:39 UTC, Matt Turner
Details
EAPI=1 packages inheriting perl-modules (1.txt,68 bytes, text/plain)
2013-07-30 03:39 UTC, Matt Turner
Details
EAPI=2 packages inheriting perl-modules (2.txt,4.09 KB, text/plain)
2013-07-30 03:40 UTC, Matt Turner
Details
EAPI=3 packages inheriting perl-modules (3.txt,4.57 KB, text/plain)
2013-07-30 03:40 UTC, Matt Turner
Details
EAPI=0 packages inheriting perl-modules (0.txt,1.56 KB, text/plain)
2013-08-31 17:59 UTC, Matt Turner
Details
EAPI=1 packages inheriting perl-modules (1.txt,20 bytes, text/plain)
2013-08-31 17:59 UTC, Matt Turner
Details
EAPI=2 packages inheriting perl-modules (2.txt,1.42 KB, text/plain)
2013-08-31 17:59 UTC, Matt Turner
Details
EAPI=3 packages inheriting perl-modules (3.txt,1.60 KB, text/plain)
2013-08-31 18:00 UTC, Matt Turner
Details
EAPI=3 list (perl_eapi_3.list,3.83 KB, text/plain)
2014-02-10 16:57 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=2 list (perl_eapi_2.list,4.12 KB, text/plain)
2014-02-10 16:58 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=3 list (perl_eapi_2.list,2.49 KB, text/plain)
2014-02-10 17:37 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=3 list (perl_eapi_3.list,2.89 KB, text/plain)
2014-02-10 17:38 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=2 list (perl_eapi_2.list,2.49 KB, text/plain)
2014-02-10 17:54 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=3 list (perl_eapi_3.list,2.28 KB, text/plain)
2014-02-10 17:55 UTC, Vladimir Smirnov (RETIRED)
Details
EAPI=0 list (perl_eapi_0.list,1.38 KB, text/plain)
2014-02-10 18:04 UTC, Vladimir Smirnov (RETIRED)
Details
old_eapi_list (old_eapi_list,6.48 KB, text/plain)
2014-06-29 14:49 UTC, Vladimir Smirnov (RETIRED)
Details
old_eapi_list (old_eapi_list,6.23 KB, text/plain)
2014-06-29 15:01 UTC, Vladimir Smirnov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2013-07-30 03:38:08 UTC
We'd like to drop perl-5.16's now useless build USE flag. In order to do so, we must update perl-module.eclass's dependency:

> DEPEND="dev-lang/perl[-build]"

to

> DEPEND="dev-lang/perl[-build(-)]"

which is an EAPI=4 feature.

There are 1377 packages inheriting perl-module.eclass, with an EAPI usage breakdown of:

> Overall statistic for eclass "perl-module.eclass":
> EAPI=unsupported count: 0
> EAPI=0 count: 157
> EAPI=1 count: 3
> EAPI=2 count: 146
> EAPI=3 count: 163
> EAPI=4 count: 1530
> EAPI=5 count: 236

So, 469 packages to update to EAPI >= 4.

This will be a tracker, but since I imagine that many of the packages that need to be ported are in the perl herd, we won't need separate bugs for them all.
Comment 1 Matt Turner gentoo-dev 2013-07-30 03:39:26 UTC
Created attachment 354566 [details]
EAPI=0 packages inheriting perl-modules
Comment 2 Matt Turner gentoo-dev 2013-07-30 03:39:48 UTC
Created attachment 354568 [details]
EAPI=1 packages inheriting perl-modules
Comment 3 Matt Turner gentoo-dev 2013-07-30 03:40:00 UTC
Created attachment 354570 [details]
EAPI=2 packages inheriting perl-modules
Comment 4 Matt Turner gentoo-dev 2013-07-30 03:40:12 UTC
Created attachment 354572 [details]
EAPI=3 packages inheriting perl-modules
Comment 5 Matt Turner gentoo-dev 2013-07-31 05:17:04 UTC
I've updated the dependency from 

> dev-lang/perl[-build]

to

> || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )

to work-around the problem for now and let us drop the build flag from >=perl-5.16.

We should still update packages inheriting the perl-module eclass to newer EAPIs.
Comment 6 Matt Turner gentoo-dev 2013-08-31 17:59:16 UTC
Created attachment 357524 [details]
EAPI=0 packages inheriting perl-modules
Comment 7 Matt Turner gentoo-dev 2013-08-31 17:59:33 UTC
Created attachment 357526 [details]
EAPI=1 packages inheriting perl-modules
Comment 8 Matt Turner gentoo-dev 2013-08-31 17:59:47 UTC
Created attachment 357528 [details]
EAPI=2 packages inheriting perl-modules
Comment 9 Matt Turner gentoo-dev 2013-08-31 18:00:00 UTC
Created attachment 357530 [details]
EAPI=3 packages inheriting perl-modules
Comment 10 Matt Turner gentoo-dev 2013-08-31 18:03:04 UTC
After one month, before -> after:

> EAPI=0 count: 157   -> 62
> EAPI=1 count: 3     -> 1
> EAPI=2 count: 146   -> 51
> EAPI=3 count: 163   -> 59
> EAPI=4 count: 1530  -> 1404
> EAPI=5 count: 236   -> 271

So, 469 -> 173 packages left. :)
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-09-14 13:54:26 UTC
Comment on attachment 357526 [details]
EAPI=1 packages inheriting perl-modules

>app-arch/alien-8.87
Comment 12 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-09-14 13:54:35 UTC
EAPI=1 list is over.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2013-09-17 02:54:18 UTC
(In reply to Mikle Kolyada from comment #12)
> EAPI=1 list is over.

so too the rest
Comment 14 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 16:57:28 UTC
Created attachment 370040 [details]
EAPI=3 list

Updated list with EAPI=3 packages.
Comment 15 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 16:58:02 UTC
Created attachment 370042 [details]
EAPI=2 list

Updated EAPI=2 list
Comment 16 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 17:37:43 UTC
Created attachment 370050 [details]
EAPI=3 list

A bit updated list (reformated as CAT/${p}) for EAPI=2
Comment 17 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 17:38:10 UTC
Created attachment 370052 [details]
EAPI=3 list

A bit updated list (reformated as CAT/${p}) for EAPI=3
Comment 18 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 17:54:33 UTC
Created attachment 370054 [details]
EAPI=2 list

Yet another update to package list. EAPI=2
Comment 19 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 17:55:05 UTC
Created attachment 370056 [details]
EAPI=3 list

Yet another update to package list. EAPI=3.
Comment 20 Vladimir Smirnov (RETIRED) gentoo-dev 2014-02-10 18:04:15 UTC
Created attachment 370058 [details]
EAPI=0 list

EAPI=0 list.
Comment 21 Vladimir Smirnov (RETIRED) gentoo-dev 2014-06-29 14:49:36 UTC
Created attachment 379914 [details]
old_eapi_list

New old EAPI list.
Comment 22 Vladimir Smirnov (RETIRED) gentoo-dev 2014-06-29 15:01:37 UTC
Created attachment 379916 [details]
old_eapi_list

Oops, forgot to exclude all non-ebuild things.
Comment 23 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-31 12:04:02 UTC
See ${URL} for new list now.
Comment 24 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-09-27 19:31:56 UTC
All done, waiting for eclass changes.
Comment 25 Andreas K. Hüttel archtester gentoo-dev 2014-11-01 17:35:23 UTC
  01 Nov 2014; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
  Drop EAPI=0,1,2,3 support in perl-module.eclass, this time for real. Further
  cleanups will follow.
Comment 26 turtle 2014-12-10 01:15:54 UTC
I propose there are two open issues with this bug triggering a third
1) Somthing about the way the build flag was removed creates a slot conflict when users updating pull in a newer perl. The slot conflict will cause the update to break 100% of the time and all users have to go manually in the dark.

2) The way portage perl (eclass?) dropped support for EAPI2 on Nov 1st does so without converting or checking ebuilds in users g-cpan overlays. g-cpan which used EAPI2 is heavally used now that so many perl modules are being not supported by Gentoo. 
There is no path for g-cpan users to deal with the dropping of EAPI < 4 once again in the dark. 

3)Due to the above there seems to be no clear way to update perl with out having to resort to manually removing all g-cpan modules, unmerging all perl packages then re-emerging them.

This update process is manual, complex, involved and not documented.
Somthing of this scale should have some kind of guide or at least a news item.
Pardon my spam if I missed any of the aforementioned.