Subject: pkg/31300: pkg-config 0.19 self-test fails on NetBSD 2.0.1/Sparc64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gert Doering <gert@kirk.greenie.muc.de>
List: pkgsrc-bugs
Date: 09/12/2005 09:46:00
>Number:         31300
>Category:       pkg
>Synopsis:       pkg-config 0.19 self-test fails on NetBSD 2.0.1/Sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 12 09:46:00 +0000 2005
>Originator:     Gert Doering
>Release:        NetBSD 2.0.1
>Organization:
	
>Environment:
	
	
System: NetBSD kirk 2.0.1 NetBSD 2.0.1 (KIRK) #3: Sat Jan 29 17:25:41 CET 2005 gert@kirk:/home/sparc64/obj/home/src-2.0/sys/arch/sparc64/compile/KIRK sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	compiling devel/pkg-config (as of yesterday, version 0.19) on
	NetBSD 2.0.1/Sparc64 compiles fine, but the self-test 
	(make PKGSRC_RUN_TEST?=yes) fails with:

	===> Testing for pkg-config-0.19
	Making check in glib-1.2.8
	/usr/bin/make  check-recursive
	Making check in .
	Making check in gmodule
	/usr/bin/make  check-am
	Making check in gthread
	Making check in docs
	Making check in tests
	/usr/bin/make  check-TESTS
	PASS: array-test
	PASS: dirname-test
	PASS: hash-test
	PASS: list-test
	PASS: node-test
	PASS: relation-test
	PASS: slist-test
	PASS: string-test
	PASS: strfunc-test
	PASS: tree-test
	PASS: type-test
	===================
	All 11 tests passed
	===================
	Making check in check
	/usr/bin/make  check-TESTS
	FAIL: check-cflags
	FAIL: check-libs
	FAIL: check-define-variable
	FAIL: check-libs-private
	FAIL: check-requires-private
	===================
	5 of 5 tests failed
	===================
	*** Error code 1


>How-To-Repeat:
	cd /usr/pkgsrc/devel/pkg-config
	make PKGSRC_RUN_TEST?=yes
>Fix:
	no idea what's happening in there - especially why it's talking
	about glib, which isn't installed.  glib2 is installed, and that's
	where the problem showed up - trying to upgrade to a more recent
	glib2 version.

>Unformatted: