Subject: pkg/13585: kdeutils2 fails to build on macppc 1.5.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@mines.edu>
List: netbsd-bugs
Date: 07/28/2001 19:01:04
>Number:         13585
>Category:       pkg
>Synopsis:       kdeutils2 fails to build on macppc 1.5.1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 17:58:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jim Bernard
>Release:        NetBSD 1.5.1 (pkgsrc from NetBSD-current July 27, 2001)
>Organization:
>Environment:
System: NetBSD snow 1.5.1 NetBSD 1.5.1 (SNOW-$Revision: 1.5 $) #1: Mon Jul 23 20:51:14 MDT 2001 jim@snow:/usr/src/sys/arch/macppc/compile/SNOW macppc

>Description:
	Attempts to build kde2 fail while building kdeutils:
...
gmake[3]: Entering directory `/usr/pkgsrc/misc/kdeutils2/work/kdeutils-2.1/klaptopdaemon'
...
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/qt2/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -O -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c portable.cpp  -fPIC -DPIC -o .libs/portable.o
portable.cpp:669: machine/apmvar.h: No such file or directory
gmake[3]: *** [portable.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/misc/kdeutils2/work/kdeutils-2.1/klaptopdaemon'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/kdeutils2/work/kdeutils-2.1/klaptopdaemon'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/kdeutils2/work/kdeutils-2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.

>How-To-Repeat:
	Try to build kde2 on the macppc platform.

>Fix:
	The problem appears to be the inclusion of machine/apmvar.h in
	patch-ai (which patches klaptopdaemon/portable.cpp).  That file
	does not exist in the macppc port (nor in most other ports), even
	in -current.  I don't know what is the best way to fix it.
>Release-Note:
>Audit-Trail:
>Unformatted: