From owner-freebsd-perl@FreeBSD.ORG Sun Sep 2 17:45:53 2007 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4898F16A41A; Sun, 2 Sep 2007 17:45:53 +0000 (UTC) (envelope-from arved@knut.arved.priv.at) Received: from knut.arved.priv.at (knut.arved.priv.at [213.9.70.77]) by mx1.freebsd.org (Postfix) with ESMTP id E8C6713C45D; Sun, 2 Sep 2007 17:45:52 +0000 (UTC) (envelope-from arved@knut.arved.priv.at) Received: from knut.arved.priv.at (knut.arved.priv.at [213.9.70.77]) by knut.arved.priv.at (8.13.8/8.13.8) with ESMTP id l82HRUA6005232; Sun, 2 Sep 2007 19:27:30 +0200 (CEST) (envelope-from arved@knut.arved.priv.at) Received: (from arved@localhost) by knut.arved.priv.at (8.13.8/8.13.8/Submit) id l82HRUiB005231; Sun, 2 Sep 2007 19:27:30 +0200 (CEST) (envelope-from arved) Date: Sun, 2 Sep 2007 19:27:30 +0200 From: "arved@freebsd.org" To: freebsd-questions@freebsd.org Message-ID: <20070902172729.GD59826@arved.priv.at> References: <200709021440.l82Ee9Cb001675@freefall.freebsd.org> <70f41ba20709020946k7e5d3c55xba93f379bc8723a3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70f41ba20709020946k7e5d3c55xba93f379bc8723a3@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: snowcrash+freebsd , perl@freebsd.org Subject: Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 17:45:53 -0000 * snowcrash+freebsd [2007-09-02 19:11]: > > 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 > > > I'm not "mixing" anything. I have *NO* FreeBSD ports collection perl > modules installed, at all. > > 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. You have perl modules installed, that have no corresponding installed FreeBSD port. There once was a project called BSDPAN that AFAIK was written to work around this problem, but i don't know what the status is (CCing perl). regards tilman From owner-freebsd-perl@FreeBSD.ORG Sun Sep 2 18:41:17 2007 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 443AE16A41B for ; Sun, 2 Sep 2007 18:41:17 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id DAA2E13C459 for ; Sun, 2 Sep 2007 18:41:16 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so4539364pyb for ; Sun, 02 Sep 2007 11:41:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=M0+4qXAkAA9FzMOJ5o4nmW7hVZC2n2rJ11JQIDzHsMteSExjTvUJ/r+o8Nwt++68uIQ5p37pyed4ATLxYI0Gf8rj1RIYiK8fTgJltOSl9b16btuzelSrrtc91WdZrW0PRiB+hnmwVwLizhjcwuQfgwHDFKzq9/4lk/BWNcx9PxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Tzr01VvVuKFGyqUEHmGwQvkINow8AH1Yuh9y37DvGdf/ZOdFfGiRtdciF2rCfza4DMbNWO4TRuV/ByY18sWB7c1H8bvlAX8k2Tmx/7skExXb9FiKXqQCFjWSmf7snZsr5AmNiRcsfQ1oOhMLOXlEmPnGu+c8n0D4LlRcKC0uixQ= Received: by 10.65.43.5 with SMTP id v5mr6773375qbj.1188756723092; Sun, 02 Sep 2007 11:12:03 -0700 (PDT) Received: by 10.65.206.14 with HTTP; Sun, 2 Sep 2007 11:12:03 -0700 (PDT) Message-ID: <70f41ba20709021112p26024a1clc918963f5791a03f@mail.gmail.com> Date: Sun, 2 Sep 2007 11:12:03 -0700 From: snowcrash+freebsd Sender: schneecrash@gmail.com To: "arved@freebsd.org" In-Reply-To: <20070902172729.GD59826@arved.priv.at> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200709021440.l82Ee9Cb001675@freefall.freebsd.org> <70f41ba20709020946k7e5d3c55xba93f379bc8723a3@mail.gmail.com> <20070902172729.GD59826@arved.priv.at> X-Google-Sender-Auth: a178392bf033e518 Cc: perl@freebsd.org, freebsd-questions@freebsd.org Subject: Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 18:41:17 -0000 hi, > You have perl modules installed, that have no corresponding installed > FreeBSD port. i do not use BSDPAN -- it's sloppy about its dependency mgmt. as i do on every other os/platform, i use ONLY "native" cpan/cpanp. i have dozens of cpan-installed perl-modules. cpan/cpanp manage the dependencies just fine. the problem is in the case of 'help2man'. the port-install of help2man *DOES* use the cpan-installed gettext perl-module correctly, pkg_info | grep help2man help2man-1.36.4_1 Automatically generating simple manual pages from pkg_delete help2man-1.36.4_1 portinstall help2man ---> Installing 'help2man-1.36.4_1' from a port (misc/help2man) ---> Building '/usr/ports/misc/help2man' ... ===> help2man-1.36.4_1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for help2man-1.36.4_1 ===> help2man-1.36.4_1 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm - found ... *BUT*, in subsequent port updates/upgrades, it looks for the p5-Locale-gettext* module. looking in source, cd /usr/ports/misc/help2man grep p5-Locale-gettext * Makefile:BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext Makefile:RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext and verifying in my system, module_info Locale::gettext Name: Locale::gettext Version: 1.05 Directory: /usr/local/lib/perl5/site_perl/5.8.8/mach File: /usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm Core module: no there's no legitimate reason why it should NOT be looking for the *correctly installed* gettext dependency in site_perl path ... but, the fact remains that it isn't. From owner-freebsd-perl@FreeBSD.ORG Sun Sep 2 19:13:23 2007 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53E4C16A419; Sun, 2 Sep 2007 19:13:23 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id 246F413C45E; Sun, 2 Sep 2007 19:13:22 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 5C0DB12543A; Sun, 2 Sep 2007 20:53:39 +0200 (CEST) Date: Sun, 2 Sep 2007 20:53:39 +0200 From: Anton Berezin To: freebsd-questions@freebsd.org Message-ID: <20070902185339.GC3576@heechee.tobez.org> Mail-Followup-To: Anton Berezin , freebsd-questions@freebsd.org, "arved@freebsd.org" , perl@freebsd.org References: <200709021440.l82Ee9Cb001675@freefall.freebsd.org> <70f41ba20709020946k7e5d3c55xba93f379bc8723a3@mail.gmail.com> <20070902172729.GD59826@arved.priv.at> <70f41ba20709021112p26024a1clc918963f5791a03f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70f41ba20709021112p26024a1clc918963f5791a03f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: "arved@freebsd.org" , perl@freebsd.org Subject: Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 19:13:23 -0000 On Sun, Sep 02, 2007 at 11:12:03AM -0700, snowcrash+freebsd wrote: > as i do on every other os/platform, i use ONLY "native" cpan/cpanp. > > i have dozens of cpan-installed perl-modules. cpan/cpanp manage the > dependencies just fine. > the problem is in the case of 'help2man'. > > the port-install of help2man *DOES* use the cpan-installed gettext > perl-module correctly, > there's no legitimate reason why it should NOT be looking for the > *correctly installed* gettext dependency in site_perl path ... > > but, the fact remains that it isn't. Sorry, but I am afraid that if you insist on not using Perl modules installed via ports this means you cannot expect any ports depending on Perl modules to work. It might be fixable in this particular instance (did you provide a patch in your PR? thought so...), but you cannot expect it to work in general. Cheers, \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen