leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

Ebuild Parsing errors - EAPI 5 #103

Closed scottfurry closed 2 years ago

scottfurry commented 2 years ago

Gentoo tree update (3Q/2022) resulted in changes to ebuild standards. Several ebuilds in raigent tree produced error messages because of Gentoo changes.

Typical error message:

     Reading category  52|176 ( 29): dev-perl... 
 * ERROR: dev-perl/Text-MicroTemplate-0.24::raiagent failed (depend phase):
 *   perl-module: EAPI 5 not supported
 * 
 * Call stack:
 *                        ebuild.sh, line 618:  Called source '/var/db/repos/raiagent/dev-perl/Text-MicroTemplate/Text-MicroTemplate-0.24.ebuild'
 *   Text-MicroTemplate-0.24.ebuild, line  11:  Called inherit 'perl-module'
 *                        ebuild.sh, line 298:  Called __qa_source '/var/db/repos/gentoo/eclass/perl-module.eclass'
 *                        ebuild.sh, line 114:  Called source '/var/db/repos/gentoo/eclass/perl-module.eclass'
 *               perl-module.eclass, line  32:  Called die
 * The specific snippet of code:
 *          die "${ECLASS}: EAPI ${EAPI:-0} not supported"
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/Text-MicroTemplate-0.24::raiagent'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Text-MicroTemplate-0.24::raiagent'`.
 * Working directory: '/usr/lib/python3.10/site-packages'
 * S: '/Text-MicroTemplate-0.24'

Ebuilds that are affected and producing the error message above:

leycec commented 2 years ago

OMG. I hang my bald head in public shame. I'd entirely forgotten that we'd even packaged Perl cruft. Since Perl no longer intersects with my interests, I've last-rited (i.e., permanently removed) the entire dev-perl/* subtree.

Thanks so much for the lucid details, @scottfurry. You're stunning! I hope you're having an equally great summer wherever you may roam in Canada. You rock. :rock:

scottfurry commented 2 years ago

To our beloved friend dev-perl... In nómine Patris, et Fílii, et Spíritus Sancti. Amen