Subject: pkg/29841: Something is wrong with pkg-config 0.16.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtraeme.nopcode.org>
List: pkgsrc-bugs
Date: 03/30/2005 22:14:01
>Number:         29841
>Category:       pkg
>Synopsis:       Something is wrong with pkg-config 0.16.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 30 22:14:00 +0000 2005
>Originator:     Juan RP
>Release:        NetBSD 3.99.1
>Organization:
>Environment:
System: NetBSD Mandylion 3.99.1 NetBSD 3.99.1 (GATEWAY_) #1: Wed Mar 23 06:34:57 CET 2005 juan@Nocturno:/home/juan/src-yamt-km/sys/arch/i386/compile/GATEWAY_ i386
Architecture: i386
Machine: i386
>Description:

	Looks like something's wrong in pkg-config 0.16.0
	(this package was updated some days ago), because
	when building xcursor with xorg:

checking for XTHREADS in Xlib... yes
checking for xrender >= 0.8.2... yes
checking XRENDER_CFLAGS... -DXTHREADS -I/usr/pkg/include -I/usr/pkg/xorg/include  
checking XRENDER_LIBS... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/xorg/lib -lXrender -lX11  
checking for xfixes... gnome-config: not found
gnome-config: not found
Package xfixes was not found in the pkg-config search path. Perhaps you should add the directory containing `xfixes.pc' to the PKG_CONFIG_PATH environment variable No package 'xfixes' found
configure: error: Library requirements (xfixes) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
*** Error code 1

	config.log doesn't show any useful information.

	Removing version 0.16.0 and installing again the
	old package 0.15.0nb2, seems to work fine:

checking for XTHREADS in Xlib... yes
checking for xrender >= 0.8.2... yes
checking XRENDER_CFLAGS... -DXTHREADS -I/usr/pkg/include -I/usr/pkg/xorg/include  
checking XRENDER_LIBS... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/xorg/lib -lXrender -lX11  
checking for xfixes... yes
checking XFIXES_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/pkg/xorg/include  
checking XFIXES_LIBS... -L/usr/pkg/xorg/lib -lXfixes -lX11  
configure: creating ./config.status

config.log:

configure:20624: checking for xfixes
configure:20628: result: yes
configure:20632: checking XFIXES_CFLAGS
configure:20635: result: -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/pkg/xorg/i
nclude
configure:20638: checking XFIXES_LIBS
configure:20641: result: -L/usr/pkg/xorg/lib -lXfixes -lX11

>How-To-Repeat:
>Fix: