Subject: pkg/13409: buildlink loses with glib and gtk 1.2.8.
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 07/08/2001 01:02:30
>Number:         13409
>Category:       pkg
>Synopsis:       buildlink loses with glib and gtk 1.2.8.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 08 01:00:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tim Rightnour
>Release:        NetBSD 1.5.1
>Organization:
	
>Environment:
	
System: NetBSD polaris 1.5.1 NetBSD 1.5.1 (POLARIS) #1: Fri Jul 7 16:47:17 MST 2000 root@polaris:/usr/src/1.5.1/sys/arch/i386/compile/POLARIS i386


>Description:
When attempting to build anything requiring gtk or glib, the configure stage
bombs out.  This is due to the proper files not being copied into the
work/.buildlink tree.

Investigation on my part, found that my installed versions of gtk and glib
allways caused failures, however, when I upgraded both of these to the latest
available in pkgsrc, I was suddenly able to build things again.

Obviously the DEPENDS line in the buildlink files is wrong, as, as it is
configured, buildlink does not work with a 1.2.8 gtk/glib.  This may be due in
part to differences in the placement of the glib.h files.  Perhaps the paths
given in the buildlink.mk files are incorrect for these older versions.
	
>How-To-Repeat:

Install an older binary pkg of gtk and glib.  Preferrably 1.2.8.  Attempt to
build anything requiring them.  Watch the misery.
	
>Fix:
The buildlink.mk file should likely be fixed, rather than force it to
require 1.2.10.
	
>Release-Note:
>Audit-Trail:
>Unformatted: