Subject: pkg/34973: www/cocoon demands non-existing package fop-0.15.0nb1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 11/02/2006 12:55:00
>Number:         34973
>Category:       pkg
>Synopsis:       www/cocoon demands non-existing package fop-0.15.0nb1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 02 12:55:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current today)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	www/cocoon depends upon textproc/fop, which is currently
	version fop-0.15.0nb2

	However, cocoon seems to be unsatisfied with the nb2 version, and
	demands nb1 insttead.

>How-To-Repeat:
	Attempt to install www/cocoon into an empty system (so the current
	version of textprox/fop gets installed as a dependency)

	Expect to see ,,,

=> Required installed package fop-0.15.0nb1: NOT found
=> Verifying bin-install for ../../textproc/fop
===> Binary install for fop-0.15.0nb1
=> Installing fop-0.15.0nb2 from /pkg_comp/packages/All
pkg_add: no pkg found for 'fop-0.15.0nb1.tgz', sorry.
pkg_add: 1 package addition failed
=> No binary package found for fop-0.15.0nb2; installing from source.
=> Required installed package digest>=20010302: digest-20060826 found
=> Checksum SHA1 OK for fop-0_15_0-forBeginners.zip
=> Checksum RMD160 OK for fop-0_15_0-forBeginners.zip
===> Installing dependencies for fop-0.15.0nb2
	[ etc ... fop compiles and installs ...]
===> Building binary package for fop-0.15.0nb2
Creating package /pkg_comp/packages/All/fop-0.15.0nb2.tgz
Using SrcDir value of /usr/pkg
Registering depends: jdk-[0-9]* jdk>=1.1.8.
===> Cleaning for gmake-3.81
===> Cleaning for unzip-5.52nb3
===> Cleaning for jdk-1.1.8nb9
===> Cleaning for digest-20060826
===> Cleaning for fop-0.15.0nb2
ERROR: [depends.mk] A package matching ``fop-0.15.0nb1'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../textproc/fop?
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/cocoon
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/cocoon

>Fix:
	Find out why cocoon cares about a (VERY) specific version of
	fop, and teach it to be a little more liberal...