Package Details: perl-critic 1.126-2

Git Clone URL: https://aur.archlinux.org/perl-critic.git (read-only)
Package Base: perl-critic
Description: Critique Perl source code for best-practices.
Upstream URL: https://metacpan.org/release/Perl-Critic
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: jnbek
Last Packager: jnbek
Votes: 74
Popularity: 0.018203
First Submitted: 2008-05-23 13:01
Last Updated: 2015-08-19 18:17

Latest Comments

cmsigler commented on 2015-08-19 10:45

Hi,

As of perl-critic 1.126-1, perl-module-build is a dependency (once again?). HTH.

Clemmitt

jahiy commented on 2015-04-04 08:39

please use perl-perl-critic instead of perl-critic!
perl-perl-critic is the right package name for Perl::Critic.

jnbek commented on 2014-10-29 15:41

Can you elaborate @ArchChem?

ArchChem commented on 2014-10-29 11:27

Building does not work any more with any PKGBUILD.

jnbek commented on 2014-09-22 21:28

New version of Perl::Critic requires version 1.218 of PPI, until the PKGBUILD is updated by it's owner, you may find a working one here: https://gist.github.com/jnbek/88ef823632b09ac19103

knedlyk commented on 2014-09-02 21:37

Package requires perl-pod-spelling.

knedlyk commented on 2014-07-17 09:37

Package require perl-pod-spelling.

knedlyk commented on 2014-07-17 09:29

The same:

Skipping generating tests because it doesn't look like we're in an author environment.

==> Starting check()...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_modules.t ................................ Couldn't require Perl::Critic::Policy::Documentation::PodSpelling : Can't locate Pod/Spell.pm in @INC (you may need to install the Pod::Spell module) (@INC contains: /tmp/yaourt-tmp-yarpry/aur-perl-critic/src/Perl-Critic-1.121/blib/lib /tmp/yaourt-tmp-yarpry/aur-perl-critic/src/Perl-Critic-1.121/blib/arch /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /tmp/yaourt-tmp-yarpry/aur-perl-critic/src/Perl-Critic-1.121/blib/lib/Perl/Critic/Policy/Documentation/PodSpelling.pm line 21.
BEGIN failed--compilation aborted at /tmp/yaourt-tmp-yarpry/aur-perl-critic/src/Perl-Critic-1.121/blib/lib/Perl/Critic/Policy/Documentation/PodSpelling.pm line 21.
Compilation failed in require at (eval 74) line 2.
at /usr/share/perl5/vendor_perl/Module/Pluggable.pm line 32.
t/00_modules.t ................................ 135/2640
# Failed test 'use Perl::Critic::Policy::Documentation::PodSpelling;'
# at t/00_modules.t line 292.
Bailout called. Further testing stopped: Can't continue.
# Tried to use 'Perl::Critic::Policy::Documentation::PodSpelling'.
# Error: Attempt to reload Perl/Critic/Policy/Documentation/PodSpelling.pm aborted.
# Compilation failed in require at t/00_modules.t line 292.
# BEGIN failed--compilation aborted at t/00_modules.t line 292.
FAILED--Further testing stopped: Can't continue.
Makefile:2363: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

Hetti commented on 2014-06-06 21:42

BEGIN failed--compilation aborted at t/92_memory_leaks.t line 19.
t/92_memory_leaks.t ........................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/00_modules.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/01_config.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/01_config_bad_perlcriticrc.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03_annotations.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03_pragmas.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 32 tests but ran 0.
t/05_utils.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/08_document.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/09_theme.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/11_policy_factory.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/12_policy_listing.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/12_theme_listing.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/13_bundled_policies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/14_policy_parameters.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/15_statistics.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/16_roundtrip_defaults.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_pod_spelling.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_prohibit_evil_modules.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_prohibit_hard_tabs.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_prohibit_trailing_whitespace.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_require_consistent_newlines.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/20_policy_require_tidy_code.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/92_memory_leaks.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=38, Tests=498, 5 wallclock secs ( 0.23 usr 0.05 sys + 4.08 cusr 0.39 csys = 4.75 CPU)
Result: FAIL
Failed 23/38 test programs. 0/498 subtests failed.
Makefile:2363: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2

jnbek commented on 2013-12-16 21:27

Seems to me, the best solution here would have been to mark the darn package OUT OF DATE!!! I could have fixed all the reported problems weeks ago, since I DO get out of date emails.... I only noticed the problem cuz I was checking my spam folder and saw i18nde's complaint 'notification'. Took me all of 52 seconds to fix, yes, 52 seconds.... Sorry for the past 12 weeks.

i18nde commented on 2013-12-13 06:29

Does not build through:
Test Summary Report
-------------------
t/10_user_profile.t (Wstat: 256 Tests: 41 Failed: 1)
Failed test: 38
Non-zero exit status: 1
Files=38, Tests=7644, 56 wallclock secs ( 1.16 usr 0.11 sys + 54.21 cusr 1.16 csys = 56.64 CPU)
Result: FAIL
Failed 1/38 test programs. 1/7644 subtests failed.
Makefile:2348: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

notthesun commented on 2013-11-29 10:17

guys since I need this updated package I modified the PKGBUILD in order to have the latest version...download the pkgbuild http://pastebin.com/PhRruyPd and compile with makepkg -c ... bye

esponki commented on 2013-11-17 21:01

It is indeed outdated as per https://rt.cpan.org/Public/Bug/Display.html?id=88889
Maintainer, please update the package ASAP since version 1.118 has a nasty bug that prevents it from installing in current Arch. Thank you.

Maxr commented on 2012-12-02 21:23

Did I miss something? AFAIK it's not out of date.

dracorp commented on 2012-11-30 12:42

I added perl-critic-more to the AUR with Perl::Critic::Policy::Miscellanea::RequireRcsKeywords.
As yet, there is no module Perl::Critic::Policy::Miscellanea::RequireRcsKeywords in the version 1.000". I added from perl-critic-1.116.

dracorp commented on 2012-11-30 11:44

perlcritic perl_script.pl
Policy "Perl::Critic::Policy::Miscellanea::RequireRcsKeywords" is not installed.

Maxr commented on 2012-10-07 10:52

For me building works as expected... Same with perl-b-keywords. Both were already installed on my system. Rebuilding some of their dependencies might help.

PTBM133A4X commented on 2012-09-30 14:54

I have posted this also in the perl-b-keywords section - apologies if this is classed as "cross-posting". Just not sure where the problem lies.

When trying to install perl-critic I get

"Can't locate B/Keywords.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at t/Variables/RequireLocalizedPunctuationVars.run.PL line 16.
BEGIN failed--compilation aborted at t/Variables/RequireLocalizedPunctuationVars.run.PL line 16.
make: *** [t/Variables/RequireLocalizedPunctuationVars.run] Error 2".

I did "yaourt -S perl-b-keywords" and it asks "Enter n° of packages to be installed (ex: 1 2 3 or 1-3)"

I don't know what this means. I tried entering "1" but perl-critic still fails, I then tried "1-3" and it failed again.

Any idea what is happening here or what I should be entering?

BTW I am trying to install gscan2pdf with these numerous perl dependencies.

Anonymous comment on 2011-10-27 19:32

I did find the same error as LeCrayonVert. I fixed it by recompiling perl-params-util from AUR.

Maxr commented on 2011-10-27 15:13

I'm sorry, I can't reproduce this here. I assume your system is up to date apart from perl-critic. I'll try to track this down on weekend, but I'm quite not sure what to look for.

LeCrayonVert commented on 2011-10-25 19:37

During check() :

t/08_document.t ............................... /usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Params/Util/Util.so: undefined symbol: Perl_Gthr_key_ptr
t/08_document.t ............................... Dubious, test returned 127 (wstat 32512, 0x7f00)


[...]

Test Summary Report
-------------------
t/08_document.t (Wstat: 32512 Tests: 0 Failed: 0)
Non-zero exit status: 127
Parse errors: No plan found in TAP output
t/20_policies.t (Wstat: 0 Tests: 2657 Failed: 0)
TODO passed: 2228
Files=38, Tests=7593, 75 wallclock secs ( 1.32 usr 0.01 sys + 63.30 cusr 1.30 csys = 65.93 CPU)
Result: FAIL
Failed 1/38 test programs. 0/7593 subtests failed.

dracorp commented on 2011-10-24 06:36

optdepends=('perl-file-homedir: find your home'
'perl-file-which: portable implementation of which'
'perl-readonly-xs: speed up read-only scalar variables'
'perl-ansicolor: color output')

LeCrayonVert commented on 2011-03-19 11:18

iElijah101 > I guess it was too early, it works fine now....thx ;)

Anonymous comment on 2011-03-18 23:00

Weird. Not sure how that happened, but 3ED_0 submitted perl-ppix-utilities.
https://aur.archlinux.org/packages.php?ID=47508

LeCrayonVert commented on 2011-03-18 09:55

==> Install or build missing dependencies for perl-critic:
error: 'perl-ppix-utilities>=1.001': could not find or read package