From nobody@FreeBSD.org  Sun Sep  2 17:24:44 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 21D3A16A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Sep 2007 17:24:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 130B513C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Sep 2007 17:24:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l82HOh8N010603
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Sep 2007 17:24:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l82HOhxm010602;
	Sun, 2 Sep 2007 17:24:43 GMT
	(envelope-from nobody)
Message-Id: <200709021724.l82HOhxm010602@www.freebsd.org>
Date: Sun, 2 Sep 2007 17:24:43 GMT
From: snowcrash+freebsd-pr <schneecrash+freebsd-pr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: help2man incorrectly insists on "p5-*" dependency when already installed as CPAN module
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116026
>Category:       ports
>Synopsis:       misc/help2man incorrectly insists on "p5-*" dependency when already installed as CPAN module
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    arved
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 02 17:30:01 GMT 2007
>Closed-Date:    Mon Sep 03 08:39:14 GMT 2007
>Last-Modified:  Mon Sep 03 08:39:14 GMT 2007
>Originator:     snowcrash+freebsd-pr
>Release:        6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7
>Organization:
>Environment:
6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7
>Description:
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 
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->arved 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 2 22:26:48 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116026 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Mon Sep 3 08:36:07 UTC 2007 
State-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116026 
>Unformatted:
