Bug 36081 - no dependencies filed for package p5-XML-Simple (when using pkg_add -r)
Summary: no dependencies filed for package p5-XML-Simple (when using pkg_add -r)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-19 05:20 UTC by Nick Jennings
Modified: 2002-03-19 16:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Jennings 2002-03-19 05:20:01 UTC
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)
Comment 1 Kris Kennaway 2002-03-19 06:36:54 UTC
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
Comment 2 Andrew Stevenson 2002-03-19 11:07:35 UTC
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
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2002-03-19 16:25:57 UTC
State Changed
From-To: open->closed

Bug resolved.