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

Bug#338142: kdegraphics: FTBFS: missing declarations



Package: kdegraphics
Version: 4:3.4.2-2
Severity: serious
Tags: patch

Hi,

building the package kdegraphics in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
make[5]: Entering directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu/ksvg/impl'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl -I../.. -I/usr/include/freetype2 -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/core -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/dom -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/ecma -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/data -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/libs/art_support -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/libs/libtext2path/src -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -MT SVGLengthImpl.lo -MD -MP -MF ".deps/SVGLengthImpl.
 Tpo" -c -o SVGLengthImpl.lo /tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/SVGLengthImpl.cc; \
then mv -f ".deps/SVGLengthImpl.Tpo" ".deps/SVGLengthImpl.Plo"; else rm -f ".deps/SVGLengthImpl.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl -I../.. -I/usr/include/freetype2 -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/core -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/dom -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/ecma -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/data -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/libs/art_support -I/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/libs/libtext2path/src -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -MT SVGLengthImpl.lo -MD -MP -MF .deps/SVGLengthImpl.Tpo -c /tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/SVGLe
 ngthImpl.cc  -fPIC -DPIC -o .libs/SVGLengthImpl.o
/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/SVGHelperImpl.h: In static member function 'static void KSVG::SVGHelperImpl::applyContainer(T*, int, const QString&)':
/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/SVGHelperImpl.h:57: error: invalid use of undefined type 'struct KSVG::SVGDocumentImpl'
/tmp/buildd/kdegraphics-3.4.2/./ksvg/ecma/ksvg_scriptinterpreter.h:36: error: forward declaration of 'struct KSVG::SVGDocumentImpl'
/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/SVGHelperImpl.h:59: error: invalid use of undefined type 'struct KSVG::SVGDocumentImpl'
/tmp/buildd/kdegraphics-3.4.2/./ksvg/ecma/ksvg_scriptinterpreter.h:36: error: forward declaration of 'struct KSVG::SVGDocumentImpl'
/usr/share/qt3/include/qxml.h: At global scope:
/usr/share/qt3/include/qxml.h:224: warning: 'class QXmlReader' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:407: warning: 'class QXmlContentHandler' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:424: warning: 'class QXmlErrorHandler' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:433: warning: 'class QXmlDTDHandler' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:441: warning: 'class QXmlEntityResolver' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:448: warning: 'class QXmlLexicalHandler' has virtual functions but non-virtual destructor
/usr/share/qt3/include/qxml.h:461: warning: 'class QXmlDeclHandler' has virtual functions but non-virtual destructor
/tmp/buildd/kdegraphics-3.4.2/./ksvg/impl/svgpathparser.h:42: warning: 'class SVGPathParser' has virtual functions but non-virtual destructor
make[5]: *** [SVGLengthImpl.lo] Error 1
make[5]: Leaving directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu/ksvg/impl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu/ksvg/impl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu/ksvg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/kdegraphics-3.4.2/obj-i486-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
=========================================================================

Applying the following patch in ksvg/impl helps:

=========================================================================
--- SVGHelperImpl.h.orig        2005-11-08 13:02:05.662306700 +0100
+++ SVGHelperImpl.h     2005-11-08 13:03:32.627425172 +0100
@@ -25,8 +25,10 @@

 #include "SVGElementImpl.h"
 #include "SVGLengthImpl.h"
+#include "SVGDocumentImpl.h"

 #include "ksvg_lookup.h"
+#include "ksvg_ecma.h"

 class QRect;
 class QString;
=========================================================================

--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/



Reply to: