Bug 201534 - textproc/p5-Perl-Lint: requires devel/p5-Module-Pluggable at runtime
Summary: textproc/p5-Perl-Lint: requires devel/p5-Module-Pluggable at runtime
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 18:43 UTC by John Hood
Modified: 2015-08-13 07:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hood 2015-07-13 18:43:13 UTC
The Makefile for this port has p5-Module-Pluggable in TEST_DEPENDS, but the package appears to need it at run time on my 10.1 system.

(It also encounters an internal error when linting a particular script of mine, shown in the typescript below.  It runs OK on another Perl script and I've not analyzed further.)

regards,

  --jh


jhood@lister:/home/jhood/src/hg-to-svn 0 $ sudo pkg remove p5-Module-Pluggable
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        p5-Module-Pluggable-5.1_1

The operation will free 56 KiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling p5-Module-Pluggable-5.1_1...
[1/1] Deleting files for p5-Module-Pluggable-5.1_1: 100%
jhood@lister:/home/jhood/src/hg-to-svn 0 $ sudo pkg remove p5-Perl-Lint
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        p5-Perl-Lint-0.23

The operation will free 550 KiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling p5-Perl-Lint-0.23...
[1/1] Deleting files for p5-Perl-Lint-0.23: 100%
jhood@lister:/home/jhood/src/hg-to-svn 0 $ sudo pkg install -y p5-Perl-Lint
Updating 000local repository catalogue...
000local repository is up-to-date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        p5-Perl-Lint: 0.23 [FreeBSD]

The process will require 550 KiB more space.
[1/1] Installing p5-Perl-Lint-0.23...
[1/1] Extracting p5-Perl-Lint-0.23: 100%
jhood@lister:/home/jhood/src/hg-to-svn 0 $ perl -e 'use Perl::Lint; Perl::Lint->new->lint("migrate.pl");'
Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at /usr/local/lib/perl5/site_perl/Perl/Lint.pm line 7.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Perl/Lint.pm line 7.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
jhood@lister:/home/jhood/src/hg-to-svn 2 $ sudo pkg install -y p5-Module-Pluggable
Updating 000local repository catalogue...
000local repository is up-to-date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        p5-Module-Pluggable: 5.1_1 [FreeBSD]

The process will require 56 KiB more space.
[1/1] Installing p5-Module-Pluggable-5.1_1...
[1/1] Extracting p5-Module-Pluggable-5.1_1: 100%
jhood@lister:/home/jhood/src/hg-to-svn 0 $ perl -e 'use Perl::Lint; Perl::Lint->new->lint("migrate.pl");'
Modification of non-creatable array value attempted, subscript -9 at /usr/local/lib/perl5/site_perl/Perl/Lint/Policy/InputOutput/RequireBriefOpen.pm line 96, <$fh> line 1.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-13 07:03:12 UTC
A commit references this bug:

Author: wen
Date: Thu Aug 13 07:03:08 UTC 2015
New revision: 394054
URL: https://svnweb.freebsd.org/changeset/ports/394054

Log:
  - Set p5-Module-Pluggable as RUN_DEPENDS instead of TEST_DEPENDS

  PR:		201534
  Submitted by:	cgull+l-freebsd-bugzilla@glup.org

Changes:
  head/textproc/p5-Perl-Lint/Makefile