添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The author of JSON::XS has made a conscious decision to stop supporting modern versions of Perl. Configuring the module currently interrupts a build to prompt manual confirmation from users running Perl 5.22.0 or newer.

Here's an abridged version of the text being displayed :

Canary::Stability COMPATIBILITY AND SUPPORT CHECK

In recent releases, P5P (who maintain perl) have been introducing regressions that are sometimes subtle and at other times catastrophic, often for personal preferences with little or no concern for existing code, most notably CPAN. [ … ] Therefore I have introduced a support and compatibility check. This check is just to let you know that there might be a risk, so you can make judgement calls on how to proceed - it will not keep the module from installing or working.
It seems you are running perl version 5.026000, likely the "official" or "standard" version. While there is nothing wrong with doing that, standard perl versions 5.022 and up are not supported by JSON::XS . While this might be fatal, it might also be all right - if you run into problems, you might want to downgrade your perl or switch to the "stability branch" †

† - the author's own version of Perl, forked to "improve stability and compatibility with existing modules" .

Going forward, this makes JSON::XS as good as abandoned, and imposes compatibility risks with future releases of Perl. Even if such risks are slight, you should consider replacing JSON:XS with something more future-proof.

Moreover, this will impact Rex's continued availability from Homebrew . The Canary warning caused noise while checking formula compatibility with the newest release of Perl 5.26.0 . If a formula isn't stable, it gets pulled from Homebrew's registry. There's no compromise.

This commit is caused by 3 negative references about JSON::XS:
* RexOps/Rex#1153 (Perl 5.22+ not supported)
* http://cpanratings.perl.org/dist/JSON-XS#12382 (Author problems)
* http://cpanratings.perl.org/dist/EV#12342 (Same author, differen module,
    same problem)