Subject: pkg/36061: kdepim3 build broken on -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oster@netbsd.org>
List: pkgsrc-bugs
Date: 03/23/2007 15:55:00
>Number:         36061
>Category:       pkg
>Synopsis:       kdepim3 build fails on 4.99.16 -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 23 15:55:00 +0000 2007
>Originator:     oster@netbsd.org
>Release:        NetBSD 4.99.16
>Organization:
Sometimes.
>Environment:
System: NetBSD scrooge 4.99.16 NetBSD 4.99.16 (GENERIC.MP) #0: Thu Mar 22 12:29:36 CST 2007  oster@scrooge:/u1/builds/build4/src/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
	kdepim3 fails to build on NetBSD-4.99.16/i386.  Error looks like:

...
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I../../libkdepim -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/pkg/xorg/include  -I/usr/pkg/include -I/usr/pkg/xorg/include  -DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkg/include/freetype2  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkg/include/freetype2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT pilotMemo.lo -MD -MP -MF ".deps/pilotMemo.Tpo" -c -o pilotMemo.lo pilotMemo.cc; \
        then mv -f ".deps/pilotMemo.Tpo" ".deps/pilotMemo.Plo"; else rm -f ".deps/pilotMemo.Tpo"; exit 1; fi
pilotMemo.h:101: error: could not convert template argument 'unpack_MemoAppInfo' to 'int (*)(MemoAppInfo*, unsigned char*, unsigned int)'
pilotMemo.h:101: error: could not convert template argument 'pack_MemoAppInfo' to 'int (*)(MemoAppInfo*, unsigned char*, unsigned int)'
pilotMemo.h:101: error: invalid type in declaration before ';' token

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/misc/kdepim3/work.scrooge/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libkdepim -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.buildlink/include -I/usr/pkg/qt3/include -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.x11-buildlink/include -DQT_THREAD_SUPPORT -DLDAP_DEPRECATED -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.buildlink/include/freetype2 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pilotMemo.lo -MD -MP -MF .deps/pilotMemo.Tpo -c pilotMemo.cc -fPIC -DPIC -o .libs/pilotMemo.o -L/usr/pkgsrc/misc/kdepim3/work.scrooge/.buildlink/lib 

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/shlibtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../libkdepim -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.buildlink/include -I/usr/pkg/qt3/include -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.x11-buildlink/include -DQT_THREAD_SUPPORT -DLDAP_DEPRECATED -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkgsrc/misc/kdepim3/work.scrooge/.buildlink/include/freetype2 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pilotMemo.lo -MD -MP -MF .deps/pilotMemo.Tpo -c -o pilotMemo.lo pilotMemo.cc 
gmake[3]: *** [pilotMemo.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/misc/kdepim3/work.scrooge/kdepim-3.5.6/kpilot/lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/kdepim3/work.scrooge/kdepim-3.5.6/kpilot'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/kdepim3/work.scrooge/kdepim-3.5.6'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/misc/kdepim3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/kdepim3


>How-To-Repeat:
	cd /usr/pkgsrc/misc/kdepim3
	make package
	*wait for boom*
>Fix:
	Unknown.