Subject: pkg/32657: textproc/intltool needs updated dependency
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 01/28/2006 10:55:01
>Number:         32657
>Category:       pkg
>Synopsis:       textproc/intltool needs updated dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 28 10:55:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.13
>Organization:
	Prince of Songkla University
>Environment:
	
	
System: NetBSD jade.coe.psu.ac.th 3.99.13 NetBSD 3.99.13 (GENERIC-1.696-20051201) #4: Fri Dec 2 12:42:15 ICT 2005 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	textproc/intltool Makefile contains

DEPENDS+=               p5-XML-Parser>=2.31nb1:../../textproc/p5-XML-Parser

	Yet if p5-XML-Parser-2.34nb3 is installed (which is what I
	happened to have installed), the current intltool (intltool-0.34.1nb1)
	fails to configure - its configuration aborts complaining that
	XML::Parser needs to be installed.

	Manually upgrading textproc/p5-XML-Parser to the current version
	(which is p5-XML-Parser-2.34nb4) fixed the problem.

>How-To-Repeat:
	Probably not easy, unless you happen to have p5-XML-Parser-2.34nb3
	around somewhere that you can install, just for this purpose.
	(I have no idea whether earlier versions of textproc/p5-XML-Parser
	exhibit the same behaviour).   Just believe me ...

>Fix:
	Apply the following patch  (to textproc/intltool/Makefile)

--- Makefile	2006-01-25 05:43:15.000000000 +0700
+++ Makefile.FIXED	2006-01-28 17:50:31.000000000 +0700
@@ -13,7 +13,7 @@
 
 PKG_INSTALLATION_TYPES=	overwrite pkgviews
 
-DEPENDS+=		p5-XML-Parser>=2.31nb1:../../textproc/p5-XML-Parser
+DEPENDS+=		p5-XML-Parser>=2.31nb4:../../textproc/p5-XML-Parser
 
 CONFLICTS=		xml-i18n-tools-[0-9]*
 

>Unformatted:
 	Building using pkg_comp with libkver and NetBSD-3.0 (release)
 	sets installed (and NetBSD 3.0_STABLE as of a few days ago
 	in BSDSRCDIR).   pkgsrc current as of a couple of hours ago.