On 08/06/2012 11:43 PM, David C. Rankin wrote:
All, Tim, Darrel, Slavek, Francios,
It looks like cups 1.6.1-2 will require re-writing some of tdelibs to build. Building tonight, I encountered a Large number of errors. (log attached) I know there have been significant changes in the init start order for avahi-daemon and cupds now requiring avahi-daemon to be started prior to cups to handle the new cups+dnssd browsing. Here is a summary of the ftbfs error:
[ 60%] Building CXX object kdeprint/cups/CMakeFiles/kdeprint_cups-module.dir/ipprequest.cpp.o cd /build/src/build/kdeprint/cups && /usr/bin/c++ -Dkdeprint_cups_module_EXPORTS -DHAVE_CONFIG_H -D_KDEPRINT_COMPILE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/opt/qt3/include -I/usr/include/tqt -I/build/src/build/kdeprint/cups -I/build/src/build -I/build/src/tdelibs/kdeprint/cups -I/build/src/build/kdecore -I/build/src/tdelibs -I/build/src/tdelibs/dcop -I/build/src/tdelibs/kdecore -I/build/src/tdelibs/kdecore/network -I/build/src/tdelibs/kdeui -I/build/src/tdelibs/kio -I/build/src/tdelibs/kio/kio -I/build/src/tdelibs/kio/kfile -I/build/src/tdelibs/kdeprint -I/build/src/tdelibs/kdeprint/management -o CMakeFiles/kdeprint_cups-module.dir/ipprequest.cpp.o -c /build/src/tdelibs/kdeprint/cups/ipprequest.cpp In file included from /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:20:0: /build/src/tdelibs/kdeprint/cups/ipprequest.h: In member function 'ipp_attribute_t* IppRequest::first()': /build/src/tdelibs/kdeprint/cups/ipprequest.h:182:30: error: invalid use of incomplete type 'ipp_t {aka struct _ipp_s}' In file included from /build/src/tdelibs/kdeprint/cups/ipprequest.h:28:0, from /build/src/tdelibs/kdeprint/cups/ipprequest.cpp:20: /usr/include/cups/ipp.h:365:16: error: forward declaration of 'ipp_t {aka struct _ipp_s}'
<snip many more>
At least the errors are point to struct _ipp_s and forward declaration of ipp_t. Anybody happen to have a patch already?
It's not just us, kde4 is hammered by it as well:
https://bugs.kde.org/show_bug.cgi?id=304127
I have opened a bug and elevated it as a blocker on tdelibs. The bug is http://bugs.pearsoncomputing.net/bugzilla/show_bug.cgi?id=1162
Thank you cups....