Summary: | perl-module.eclass false-errors on missing dev-perl/Module-Build on EAPI7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 239510 |
Don't forget that per PMS those vars can have totally random values. Do you need us to patch Portage to make you realize that? Logic has been fixed to check BDEPEND. |
In EAPI7, its preferable to put dev-perl/Module-Build in BDEPEND. However, the check presently only checks DEPEND, so the eclass fails unless you hack it into DEPEND too. * Using Module::Build * QA Notice: The ebuild uses Module::Build but doesn't depend on it. * ERROR: dev-perl/MaxMind-DB-Reader-XS-1.0.8::local-portage failed (configure phase): * Add dev-perl/Module-Build to DEPEND! * Current logic is: > einfo "Using Module::Build" > if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${DEPEND} != *dev-perl/Module-Build* && ${PN} != Module-Build ]] ; then > eerror "QA Notice: The ebuild uses Module::Build but doesn't depend on it." > die " Add dev-perl/Module-Build to DEPEND!" > fi