Subject: pkg/35590: x11/xwud missing dependency (or config botch, or ...)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/12/2007 16:25:00
>Number:         35590
>Category:       pkg
>Synopsis:       x11/xwud missing dependency (or config botch, or ...)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 12 16:25:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15   (pkgsrc current within past 6 hours)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	I'm building using pkg_comp and libkver with a standard
	NetBSD 3.0 (release) environment (including the standard
	distributed XFree86 - not the modular xorg or similar).

	The config script for x11/xwud claims that x11 doesn't
	exist...   (it mak be expecting gnome to be installed,
	this was going into an almost empty sandbox).

>How-To-Repeat:
	Build in a standard NetBSD 3.0 (release) environment.

	Expect to see ...


[much configure noise, etc, then...]
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking pkg-config is at least version 0.9.0... yes
checking for XWUD... gnome-config: not found
configure: error: Package requirements (x11) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XWUD_CFLAGS
and XWUD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xwud
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xwud
*** Error code 1


>Fix:
	Either make it correctly find /usr/X11R6 (etc), or
	if this is only intended as a part of the modular Xorg
	set of packages, make it either depend upon those, or
	fail to attempt to build, or ...