[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#414843: kdepim: FTBFS: Template errors in kpilot



Package: kdepim
Version: 4:3.5.5.dfsg.1-6
Severity: serious
Tags: sid

When trying to build kdepim against the current version of pilot-link from
sid, I get:

...
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib -I../..  -I/tmp/buildd/kdepim-3.5.5.dfsg.1/. -I/tmp/buildd/kdepim-3.5.5.dfsg.1/./libkdepim -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -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  -c -o libkpilot_la.all_cc.lo libkpilot_la.all_cc.cc
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib -I../.. -I/tmp/buildd/kdepim-3.5.5.dfsg.1/. -I/tmp/buildd/kdepim-3.5.5.dfsg.1/./libkdepim -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -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 -c libkpilot_la.all_cc.cc  -fPIC -DPIC -o .libs/libkpilot_la.all_cc.o
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotMemo.h:101: error: could not convert template argument 'unpack_MemoAppInfo' to 'int (*)(MemoAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotMemo.h:101: error: could not convert template argument 'pack_MemoAppInfo' to 'int (*)(MemoAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotMemo.h:101: error: invalid type in declaration before ';' token
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotAddress.h:79: error: could not convert template argument 'unpack_AddressAppInfo' to 'int (*)(AddressAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotAddress.h:79: error: could not convert template argument 'pack_AddressAppInfo' to 'int (*)(AddressAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotAddress.h:79: error: invalid type in declaration before ';' token
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotAddress.cc: In constructor 'PilotAddress::PilotAddress(PilotAddressInfo*, PilotRecord*)':
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotAddress.cc:48: error: request for member 'info' in '* info', which is of non-class type 'int'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotDateEntry.h: At global scope:
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotDateEntry.h:369: error: could not convert template argument 'unpack_AppointmentAppInfo' to 'int (*)(AppointmentAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotDateEntry.h:369: error: could not convert template argument 'pack_AppointmentAppInfo' to 'int (*)(AppointmentAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotDateEntry.h:369: error: invalid type in declaration before ';' token
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotTodoEntry.h:138: error: could not convert template argument 'unpack_ToDoAppInfo' to 'int (*)(ToDoAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotTodoEntry.h:138: error: could not convert template argument 'pack_ToDoAppInfo' to 'int (*)(ToDoAppInfo*, unsigned char*, unsigned int)'
/tmp/buildd/kdepim-3.5.5.dfsg.1/./kpilot/lib/pilotTodoEntry.h:138: error: invalid type in declaration before ';' token
make[4]: *** [libkpilot_la.all_cc.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/kdepim-3.5.5.dfsg.1/obj-i486-linux-gnu/kpilot/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/kdepim-3.5.5.dfsg.1/obj-i486-linux-gnu/kpilot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/kdepim-3.5.5.dfsg.1/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/kdepim-3.5.5.dfsg.1/obj-i486-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2

It looks like the declarations of the pack/unpack functions added some
const's, so kpilot needs to follow suit.
-- 
Daniel Schepler



Reply to: