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

Bug#438558: kdelibs: FTBFS: dereferencing pointer to incomplete type



Package: kdelibs
Version: 4:3.5.7.dfsg.1-4
Severity: serious

From my pbuilder build log:

...
/bin/sh ../../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2 -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/. -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kfile -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./dcop -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./libltdl -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdefx -I../../../kdecore -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/network -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeui -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kfile -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/. -I/usr/share/qt3/include -I. -I/usr/include/kde   -DQT_THREAD_SUPPORT  -D_REENTRANT  -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -g -Wall -O2 -DDEBIAN_VERSION=4:3.5.7.dfsg.1-4+pb1 -Wformat-security -Wmissing-format-attribute -c -o cups-util.lo /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c
 cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2 -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/. -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kfile -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./dcop -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./libltdl -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdefx -I../../../kdecore -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/network -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeui -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kfile -I/tmp/buildd/kdelibs-3.5.7.dfsg.1/. -I/usr/share/qt3/include -I. -I/usr/include/kde -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -g -Wall -O2 -DDEBIAN_VERSION=4:3.5.7.dfsg.1-4+pb1 -Wformat-security -Wmissing-format-attribute -c /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c  -fPIC -DPIC -o .libs/cups-util.o
/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c:18: warning: no previous prototype for 'cupsGetConf'
/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c: In function 'cupsGetConf':
/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c:111: error: dereferencing pointer to incomplete type
/tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeprint/cups/cupsdconf2/cups-util.c:111: error: dereferencing pointer to incomplete type
...
make[5]: *** [cups-util.lo] Error 1
make[5]: Leaving directory `/tmp/buildd/kdelibs-3.5.7.dfsg.1/obj-i486-linux-gnu/kdeprint/cups/cupsdconf2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/kdelibs-3.5.7.dfsg.1/obj-i486-linux-gnu/kdeprint/cups'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/kdelibs-3.5.7.dfsg.1/obj-i486-linux-gnu/kdeprint'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/kdelibs-3.5.7.dfsg.1/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/kdelibs-3.5.7.dfsg.1/obj-i486-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2

It looks like those references to internal implementation details could be
replaced by calls to httpGetField.  But after that, I also ran into problems
in kdeprint/cups/ipprequest.cpp, where I'm not quite sure how to handle
the lines dealing with authentication strings -- the API functions I found
also want the authentication scheme as an argument.
-- 
Daniel Schepler



Reply to: