Subject: pkg/19131: kde3 build failure Xft.h & xftint.h conflicting prototype
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@wasabisystems.com>
List: netbsd-bugs
Date: 11/22/2002 14:42:23
>Number:         19131
>Category:       pkg
>Synopsis:       kde3 build failure Xft.h & xftint.h conflicting prototype
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 22 06:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     rtr@wasabisystems.com
>Release:        NetBSD 1.6K
>Organization:
>Environment:
System: NetBSD elysium 1.6K NetBSD 1.6K (elysium) #0: Wed Nov 6 22:51:09 EST 2002 rtr@elysium:/var/scratch/elysium i386
Architecture: i386
Machine: i386
>Description:
	kdebase3 has been failing to build w/ the following error:

	c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include/freetype2 -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/qt3/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include/freetype2 -DQT_THREAD_SUPPORT -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include -O2 -O2 -I/usr/pkgsrc/x11/kdebase3/work/.buildlink/include -I/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c Config.cpp -Wp,-MD,.deps/Config.TPlo  -fPIC -DPIC -o .libs/Config.o
In file included from Config.cpp:45:
xftint.h:280: declaration of C function `int XftDirScan(XftFontSet *, const char *)' conflicts with
/usr/pkgsrc/x11/kdebase3/work/.buildlink-x11/include/X11/Xft/Xft.h:127: previous declaration `FcBool XftDirScan(FcFontSet *, const char *, int)' here
xftint.h:392: `XftValueList' was not declared in this scope
xftint.h:392: `v1orig' was not declared in this scope
xftint.h:394: parse error before `)'
gmake[4]: *** [Config.lo] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.4/kcontrol/kfontinst/kfontinst'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.4/kcontrol/kfontinst'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/kdebase3/work/kdebase-3.0.4/kcontrol'

A few notes:

pkgsrc is up to date
rebuild of x11-links did not solve the problem
still occurs after make clean of kdebase3

>How-To-Repeat:

	cd /usr/pkgsrc/x11/kdebase3; make install
>Fix:
	Not sure, haven't heard of others having this problem
>Release-Note:
>Audit-Trail:
>Unformatted: