Subject: pkg/24721: buildlink3 fails with confusing message if prerequisite is old
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/09/2004 11:52:26
>Number:         24721
>Category:       pkg
>Synopsis:       buildlink3 fails with confusing message if dependency is old
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 09 19:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When using buildlink3, if the dependency is already installed, but
is an older version than required, the buildlink3 system will stop
with: "... is not installed; can't buildlink files."

I saw this problem with several packages on different machines
(some standard NetBSD with /usr/pkg and another with Linux and /usr).

In follow-up to my tech-pkg mails about this (where I provided
many details), wiz@ said he saw similar problem when
rebuilding gtk2 on a machine that had older atk/pango/glib2 than
the versions gtk2 wanted.
>How-To-Repeat:
Install some package with buildlink3 while having a dependency
already installed but out-of-date.
You could repeat by manually changing the depends version to be some higher
version.
>Fix:
I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: