Date: Tue, 4 Oct 2005 02:08:40 -0400 (EDT) From: parv@pair.com To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@FreeBSD.org Subject: ports/86882: www/snownews - PATCH - port misses to install XML::LibXML perl module Message-ID: <20051004060840.2E649B5FF@default.chvlva.adelphia.net> Resent-Message-ID: <200510040610.j946AKRC044468@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86882 >Category: ports >Synopsis: www/snownews - PATCH - port misses to install XML::LibXML perl module >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 04 06:10:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Parv >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: Following ports, among others, are installed ... textproc/libxml2 libxml2-2.6.18 textproc/p5-XML-Parser p5-XML-Parser-2.34_1 textproc/p5-XML-RSS p5-XML-RSS-1.05_1 textproc/p5-XML-XPath p5-XML-XPath-1.13 textproc/xmlcatmgr xmlcatmgr-2.2 ... textproc/p5-XML-LibXML has NOT been installed. >Description: While trying running either of snow2opml or opml2snow (both are installed by the www/snownews port) fail w/ the following messages respectively ... Can't locate XML/LibXML.pm in @INC (@INC contains: /misc/local/lib/perl5/site_perl/5.8.7/mach /misc/local/lib/perl5/site_perl/5.8.7 /misc/local/lib/perl5/site_perl/5.8.6 /misc/local/lib/perl5/site_perl /misc/local/lib/perl5/5.8.7/BSDPAN /misc/local/lib/perl5/5.8.7/mach /misc/local/lib/perl5/5.8.7 .) at /usr/local/bin/snow2opml line 27. BEGIN failed--compilation aborted at /usr/local/bin/snow2opml line 27. ... and ... Can't locate XML/LibXML.pm in @INC (@INC contains: /misc/local/lib/perl5/site_perl/5.8.7/mach /misc/local/lib/perl5/site_perl/5.8.7 /misc/local/lib/perl5/site_perl/5.8.6 /misc/local/lib/perl5/site_perl /misc/local/lib/perl5/5.8.7/BSDPAN /misc/local/lib/perl5/5.8.7/mach /misc/local/lib/perl5/5.8.7 .) at /usr/local/bin/opml2snow line 27. BEGIN failed--compilation aborted at /usr/local/bin/opml2snow line 27. Small patch below makes textproc/p5-XML-LibXML to be a runtime dependency. This can be turned into an option if so desired (not by me), in which case neither of opml2snow & snow2opml should be installed, which in turn will require to update package list & man page for snownews(1). >How-To-Repeat: While textproc/p5-XML-LibXML port (XML::LibXML module) has not been installed, install www/snownews port. Then run either of opml2snow or snow2opml to see fail due to above mentioned missing module. >Fix: --- Makefile.old Tue Oct 4 01:56:38 2005 +++ Makefile Tue Oct 4 02:03:15 2005 @@ -20,6 +20,11 @@ USE_REINPLACE= yes HAS_CONFIGURE= yes +# Make it an option if so desired, in which neither of opml2snow & snow2opml +# should be installed, which in turn will require to update man page for +# snownews(1). +RUN_DEPENDS= ${SITE_PERL}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML + .if defined(CHARSET) CONFIGURE_ARGS= --charset=${CHARSET} .if ${CHARSET} == "UTF-8" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051004060840.2E649B5FF>