Can someone explain this? (portupgrade of textproc/p5-Perl-Critic

Paul Schmehl pschmehl_lists at tx.rr.com
Wed Jun 9 16:23:44 UTC 2010


[root at www /usr/ports/devel/p5-Pod-Coverage]# portupgrade -ai 

--->  Session started at: Wed, 09 Jun 2010 10:42:13 -0500 

[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 191 packages found 
(-2 +2) (...).. done]
--->  Upgrade of textproc/p5-Perl-Critic started at: Wed, 09 Jun 2010 10:42:33 
-0500
--->  Upgrading 'p5-Perl-Critic-1.09.0' to 'p5-Perl-Critic-1.10.6' 
(textproc/p5-Perl-Critic)
OK? [yes] 

--->  Build of textproc/p5-Perl-Critic started at: Wed, 09 Jun 2010 10:42:36 
-0500
--->  Building '/usr/ports/textproc/p5-Perl-Critic' 

===>  Cleaning for p5-Perl-Critic-1.10.6 

===>  License check disabled, port has not defined LICENSE 

===>  Extracting for p5-Perl-Critic-1.10.6 

=> MD5 Checksum OK for Perl-Critic-1.106.tar.gz. 

=> SHA256 Checksum OK for Perl-Critic-1.106.tar.gz. 

===>   p5-Perl-Critic-1.10.6 depends on file: /usr/local/bin/perl5.10.1 - found 

===>  Patching for p5-Perl-Critic-1.10.6 

===>   p5-Perl-Critic-1.10.6 depends on file: /usr/local/bin/perl5.10.1 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-B-Keywords>=1.05 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-Config-Tiny>=2 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-Exception-Class>=1.23 - 
found
===>   p5-Perl-Critic-1.10.6 depends on package: p5-File-Which>=0 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-IO-String>=0 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-List-MoreUtils>=0.19 - 
found
===>   p5-Perl-Critic-1.10.6 depends on package: p5-PPI>=1.205 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-Readonly>=1.03 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-String-Format>=1.13 - found 

===>   p5-Perl-Critic-1.10.6 depends on package: p5-version>=0 - found 

===>   p5-Perl-Critic-1.10.6 depends on executable: perltidy - found 

===>   p5-Perl-Critic-1.10.6 depends on file: /usr/local/bin/perl5.10.1 - found 

===>   p5-Perl-Critic-1.10.6 depends on file: 
/usr/local/lib/perl5/site_perl/5.10.1/Module/Build.pm - found
===>   p5-Perl-Critic-1.10.6 depends on file: /usr/local/bin/perl5.10.1 - found 

===>  Configuring for p5-Perl-Critic-1.10.6 

Checking prerequisites... 

  requires: 

    !  B::Keywords is not installed 

    !  Config::Tiny is not installed 

    !  IO::String is not installed 

  recommends: 

    *  Email::Address is not installed 

    *  File::HomeDir is not installed 

    *  Perl::Tidy is not installed 

    *  Pod::Spell is not installed 

    *  Regexp::Parser is not installed 


ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Perl-Critic' version '1.106'

Versions of optional/unlisted/indirect dependencies:

    Email::Address = not installed
    File::HomeDir = not installed
    File::Which = 1.09
    IPC::Open2 = 1.03
    Perl::Tidy = not installed
    Pod::Spell = not installed
    Readonly::XS = 1.05
    Regexp::Parser = not installed
    Term::ANSIColor = 2.00
    Text::ParseWords = 3.27

===>  Building for p5-Perl-Critic-1.10.6
Building Perl-Critic


Generating 
t/ControlStructures/ProhibitNegativeExpressionsInUnlessAndUntilConditions.run.
Done. 


Can't locate B/Keywords.pm in @INC (@INC contains: inc 
/usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach 
/usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach 
/usr/local/lib/perl5/5.10.1 .) at 
t/Variables/RequireLocalizedPunctuationVars.run.PL line 16. 

BEGIN failed--compilation aborted at 
t/Variables/RequireLocalizedPunctuationVars.run.PL line 16. 

t/Variables/RequireLocalizedPunctuationVars.run.PL failed at 
/usr/local/lib/perl5/site_perl/5.10.1/Module/Build/Base.pm line 2803. 

*** Error code 2 


Stop in /usr/ports/textproc/p5-Perl-Critic.
--->  Build of textproc/p5-Perl-Critic ended at: Wed, 09 Jun 2010 10:42:38 
-0500 (consumed 00:00:01)
--->  Updating dependency info 

--->  Modifying /var/db/pkg/p5-Test-Perl-Critic-1.02/+CONTENTS 

--->  Uninstallation of p5-Perl-Critic-1.09.0 started at: Wed, 09 Jun 2010 
10:42:38 -0500
--->  Fixing up dependencies before creating a package 

--->  Backing up the old version 

--->  Uninstalling the old version 

--->  Deinstalling 'p5-Perl-Critic-1.09.0' 

pkg_delete: package 'p5-Perl-Critic-1.09.0' is required by these other packages 

and may not be deinstalled (but I'll delete it anyway):
p5-Test-Perl-Critic-1.02
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 190 packages found 
(-1 +0) (...) done]
--->  Uninstallation of p5-Perl-Critic-1.09.0 ended at: Wed, 09 Jun 2010 
10:42:44 -0500 (consumed 00:00:05)
--->  Installation of textproc/p5-Perl-Critic started at: Wed, 09 Jun 2010 
10:42:44 -0500
--->  Installing the new version via the port
===>  Building for p5-Perl-Critic-1.10.6
Building Perl-Critic
Can't locate B/Keywords.pm in @INC (@INC contains: inc 
/usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach 
/usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach 
/usr/local/lib/perl5/5.10.1 .) at 
t/Variables/RequireLocalizedPunctuationVars.run.PL line 16.
BEGIN failed--compilation aborted at 
t/Variables/RequireLocalizedPunctuationVars.run.PL line 16.
t/Variables/RequireLocalizedPunctuationVars.run.PL failed at 
/usr/local/lib/perl5/site_perl/5.10.1/Module/Build/Base.pm line 2803.
*** Error code 2

Stop in /usr/ports/textproc/p5-Perl-Critic.
*** Error code 1

Stop in /usr/ports/textproc/p5-Perl-Critic.
===>  Cleaning for p5-Perl-Critic-1.10.6
--->  Removing temporary files and directories
--->  Removing old package'
--->  Installation of textproc/p5-Perl-Critic ended at: Wed, 09 Jun 2010 
10:42:46 -0500 (consumed 00:00:02)
--->  Cleaning out obsolete shared libraries
--->  Upgrade of textproc/p5-Perl-Critic ended at: Wed, 09 Jun 2010 10:42:49 
-0500 (consumed 00:00:16)
--->  ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        + textproc/p5-Perl-Critic (p5-Perl-Critic-1.09.0)
--->  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
--->  Session ended at: Wed, 09 Jun 2010 10:42:52 -0500 (consumed 00:00:39)

First it checks for prereqs and finds them all.  Then it checks for prereqs and 
says they're missing.   Then it generates three stops due to errors, and at the 
end it says the upgrade was successful???  WTF???

And it *is not* installed.  I'm still working to get all the prereqs installed, 
even though they already were.  What exactly is the problem with this port?

-- 
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson



More information about the freebsd-ports mailing list