Skip site navigation (1)Skip section navigation (2)
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:   ports/116026: help2man incorrectly insists on "p5-*" dependency when already installed as CPAN module
Message-ID:  <200709021724.l82HOhxm010602@www.freebsd.org>
Resent-Message-ID: <200709021730.l82HU11P009694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116026
>Category:       ports
>Synopsis:       help2man incorrectly insists on "p5-*" dependency when already installed as CPAN module
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 02 17:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709021724.l82HOhxm010602>