command: pkg_add -r p5-XML-Simple installed XML-Simple just fine, however, does not install it's dependency, which is XML-Parser (XML-Parser depends on expat). Using the port: /usr/ports/textproc/p5-XML-Simple The dependencies install and it works. pkg_info -r p5-XML-Simple-1.06 lists no dependencies Fix: properly enter the dependencies for pkg's (I have a feeling other pkg's have mis-filed or non-existant dependencies). How-To-Repeat: pkg_add -r p5-XML-Simple (Then try to use something that uses XML::Simple)
On Mon, Mar 18, 2002 at 09:17:01PM -0800, Nick Jennings wrote: > > >Number: 36081 > >Category: misc > >Synopsis: no dependencies filed for package p5-XML-Simple (when using pkg_add -r) > >Confidential: no > >Severity: serious > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Mar 18 21:20:01 PST 2002 > >Closed-Date: > >Last-Modified: > >Originator: Nick Jennings > >Release: 4.5-RELEASE > >Organization: > >Environment: > FreeBSD punishment.xrl.nkj 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > > >Description: > command: pkg_add -r p5-XML-Simple > installed XML-Simple just fine, however, does not install it's dependency, which is XML-Parser (XML-Parser depends on expat). > > Using the port: /usr/ports/textproc/p5-XML-Simple > The dependencies install and it works. That's because it's a BUILD_DEPENDS and not a RUN_DEPENDS (the former is supposed to be for packages which are only required to build, not run the package). Index: Makefile =================================================================== RCS file: /usr/home/ncvs/ports/textproc/p5-XML-Simple/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 17 Jan 2002 15:28:29 -0000 1.3 +++ Makefile 19 Mar 2002 06:36:15 -0000 @@ -14,7 +14,7 @@ MAINTAINER= andrew@ugh.net.au -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser PERL_CONFIGURE= YES Kris
On Mon, 18 Mar 2002, Kris Kennaway wrote: > That's because it's a BUILD_DEPENDS and not a RUN_DEPENDS (the former > is supposed to be for packages which are only required to build, not > run the package). Oops - I did know this - I just stuffed up. I'm happy for this to be committed. Thanks, Andrew
State Changed From-To: open->closed Bug resolved.