Subject: pkg/37134: x11/gtk2 picks up cups when asked not to, and fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martijnb@atlas.ipv6.stack.nl>
List: pkgsrc-bugs
Date: 10/15/2007 05:55:00
>Number:         37134
>Category:       pkg
>Synopsis:       x11/gtk2 picks up cups when asked not to, and fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 15 05:55:00 +0000 2007
>Originator:     Martijn van Buul
>Release:        NetBSD 4.99.33
>Organization:
	
>Environment:
	
	
System: NetBSD atlas.ipv6.stack.nl 4.99.33 NetBSD 4.99.33 (ATLAS) #0: Sat Oct 13 22:05:54 CEST 2007 martijnb@atlas.ipv6.stack.nl:/usr/obj/sys/arch/amd64/compile/ATLAS amd64
Architecture: x86_64
Machine: amd64
>Description:
	The configure script of x11/gtk2 picks up cups-config, but not 
	cups/cups.h when x11/gtk2 is being compiled on a system where CUPS is
	installed, but where CUPS support for gtk2 isn't enabled by setting
	the appropriate PKG_OPTIONS fu in /etc/mk.conf:

===> Configuring for gtk2+-2.12.0nb1
[...]
checking for cups-config... /usr/pkg/bin/cups-config
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gtk2
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Make
file.


>How-To-Repeat:
	* Install cups
	* Try to install x11/gtk2 without explicitly enabling CUPS support.
>Fix:
	No idea. A workaround is enabling cups for gtk2 as well (which is
	most likely desired, anyway, as cups was probably installed for a 
	reason..). 

>Unformatted: