Bug 116026

Summary: misc/help2man incorrectly insists on "p5-*" dependency when already installed as CPAN module
Product: Ports & Packages Reporter: snowcrash+freebsd-pr <schneecrash+freebsd-pr>
Component: Individual Port(s)Assignee: Tilman Keskinoz <arved>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description snowcrash+freebsd-pr 2007-09-02 18:30:01 UTC
i'd posted this bug previously as,

   http://www.freebsd.org/cgi/query-pr.cgi?pr=115885

it was closed without disucssion,

 > Synopsis: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: arved
 > State-Changed-When: Sun Sep 2 14:37:56 UTC 2007
 > State-Changed-Why:
 > It is not supported to mix FreeBSD ports collection perl modules
 > with modules installed from CPAN.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=115885
 >

Please reopen this bug.

I'm not "mixing" anything.  I have *NO* FreeBSD ports collection perl
modules installed, at all.

 pkg_info | grep "^p5-"
 (empty)

I *only* have CPAN modules installed.  gettext is installed on my
system via CPAN.

I am trying to get help2man to work with a CPAN-only installation.

It does not.  *IT* is trying to "mix" a port-perl-module, not me.

(ORIGINAL POST)

i've FreeBSD 6.2p installed.

perl588 is port-installed, and perl modules are installed/managed with cpanp. i.e., i do NOT use the p5-* ports.

on my sys,

pkg_info | grep gettext
gettext-0.16.1_3 GNU gettext package

&

module_info gettext
Name: gettext
Version: 1.05
Directory: /usr/local/ports/gettext-1.05
File: /usr/local/ports/gettext-1.05/gettext.pm
Core module: no


despite the prereq gettext perlmod being in-place, @ each port-update/upgrade, i get a stale-dependency message,

..
---> Checking the package registry database
Stale dependency: help2man-1.36.4_1 -> p5-gettext-1.05_1 (devel/p5-Locale-gettext):
Skipped. (running in non-interactive mode; specify -i to ask)
###########
## EXEC: pkgdb -F
---> Checking the package registry database
Stale dependency: help2man-1.36.4_1 -> p5-gettext-1.05_1 (devel/p5-Locale-gettext):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no
New dependency? (? to help):
Delete this? ([y]es/[n]o/[a]ll) [yes] yes
Deleted.
#########
..

which reoccurs at the next update.

How-To-Repeat: install freebsd 6.2Rp7
install perl 588
install gettext
install/update cpan & cpanp
use cpanp to install gettext perl-module
install help2man from ports
run,

 portupgrade --verbose --recursive --upward-recursive --all

the upgrade process will 'complain', as reported above, about,

 Stale dependency: help2man-1.36.4_1 -> p5-gettext-1.05_1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-02 23:26:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->arved

Over to maintainer
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2007-09-03 09:36:07 UTC
State Changed
From-To: open->closed

It is unecessary to reopen another bug report, since you neither provide a patch nor convinced us that this should be a supported configuration. 

BTW. Don't miss the helpful answer by "Mel" on freebsd-question.