Subject: pkg/20578: circular dependency causing "make update" to loop
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@nordu.net>
List: netbsd-bugs
Date: 03/04/2003 19:11:29
>Number:         20578
>Category:       pkg
>Synopsis:       circular dependency causing "make update" to loop
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 10:39:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.5.3_ALPHA
>Organization:
	NORDUnet AS
>Environment:
System: NetBSD server.nordu.net 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (SERVER) #3: Sun Feb 10 15:09:34 MET 2002     he@server.nordu.net:/usr/src/sys/arch/i386/compile/SERVER i386
Architecture: i386
Machine: i386
>Description:
	Recently went to upgrade my PHP installation.  This apparently
	had more far-reaching consequences than initially foreseen; as
	it caused an update of postgres as well.

	Doing the "make update" of www/php4 caused the following make
	loop to occur:

=> Checksum OK for php-4.2.3.tar.gz.
===> Extracting for php-pgsql-4.2.3nb1
===> Required installed package php>=4.2.3: php-4.2.3nb2 found
===> Required package postgresql-lib>=7.3.1: NOT found
===> Verifying update for ../../databases/postgresql-lib
===> Resuming update for postgresql-lib-7.3.2
===> Installing in databases/php4-pgsql
=> Checksum OK for php-4.2.3.tar.gz.
===> Extracting for php-pgsql-4.2.3nb1
===> Required installed package php>=4.2.3: php-4.2.3nb2 found
===> Required package postgresql-lib>=7.3.1: NOT found
===> Verifying update for ../../databases/postgresql-lib
===> Resuming update for postgresql-lib-7.3.2
===> Installing in databases/php4-pgsql

	etc. ad nauseum.

>How-To-Repeat:
	With the above set of packages installed, try to use "make
	update".

>Fix:
	Don't quite know how to do that; sorry.
	Performing manual intervention for now.
>Release-Note:
>Audit-Trail:
>Unformatted: