You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr... we need a way to get at the values of %$auto_features from Module::Build::ConfigData.
_warn_mb_feature_deps is for warning about missing Module::Build features, as opposed to features of the current distribution. For example, without Software::License MB can't generate a LICENSE file. Here's an example from perl5i.
$ PERL5OPT=-MDevel::Hide=Software::License ./Build distmeta
Devel::Hide hides Software/License.pm
Devel::Hide hides Software/License.pm
Devel::Hide hides Software/License.pm
Devel::Hide hides Software/License.pm
Creating README using Pod::Text
Creating LICENSE file
The 'license_creation' feature is not available. Please install missing
feature dependencies and try again.
Aborting.
There's supposed to be an additional message there, generated by _feature_deps_msg, which tells the user what modules to install. Its missing.
_warn_mb_feature_deps incorrectly uses _feature_deps_msg which references the distribution's features (in this example its perl5i) not Module::Build's. Unfortunately I see no way to get the list of auto features out of Module::Build::ConfigData.
The text was updated successfully, but these errors were encountered:
In certain circumstances, you may need to install some packages to get this to run properly. If you see the following error, you should install Software::License:
The 'license_creation' feature is not available. Please install missing feature dependencies and try again.
tl;dr... we need a way to get at the values of
%$auto_features
from Module::Build::ConfigData._warn_mb_feature_deps
is for warning about missing Module::Build features, as opposed to features of the current distribution. For example, without Software::License MB can't generate a LICENSE file. Here's an example from perl5i.feature dependencies and try again.
There's supposed to be an additional message there, generated by
_feature_deps_msg
, which tells the user what modules to install. Its missing._warn_mb_feature_deps
incorrectly uses_feature_deps_msg
which references the distribution's features (in this example its perl5i) not Module::Build's. Unfortunately I see no way to get the list of auto features out of Module::Build::ConfigData.The text was updated successfully, but these errors were encountered: