Package: k3d Version: 0.4.5.0-5 Severity: serious Tags: patch k3d fails to build because Value has an incomplete type:
> source='document.cpp' object='document.lo' libtool=yes \ > depfile='.deps/document.Plo' tmpdepfile='.deps/document.TPlo' \ > depmode=gcc3 /bin/sh ../depcomp \ > /bin/sh ../libtool --mode=compile i486-linux-gnu-g++ -DPACKAGE_NAME=\"\" > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.4.5.0\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 > -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy > -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -I. -I. -I.. > -I../boost -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include > -DK3D_HAVE_SIGC_2_0 -Wall -Wno-ctor-dtor-privacy -g -O2 -c -o document.lo > `test -f 'document.cpp' || echo './'`document.cpp > i486-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE=\"k3d\" -DVERSION=\"0.4.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 > -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 > -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -I. -I. -I.. -I../boost > -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 > -Wall -Wno-ctor-dtor-privacy -g -O2 -c document.cpp -MT document.lo -MD -MP > -MF .deps/document.TPlo -fPIC -DPIC -o .libs/document.o > In file included from ../boost/boost/config.hpp:35, > from ../boost/boost/utility/addressof.hpp:19, > from ../boost/boost/utility.hpp:12, > from ../k3dsdk/auto_ptr.h:5, > from ../k3dsdk/file_filter.h:28, > from document.cpp:33: > ../boost/boost/config/compiler/gcc.hpp:92:7: warning: #warning "Unknown > compiler version - please run the configure tests and report the results" > ../k3dsdk/path_data.h: In member function 'void > k3d::data<boost::filesystem::path, name_policy, undo_policy, > constraint_policy>::set_value(boost::filesystem::path)': > ../k3dsdk/path_data.h:62: error: 'Value' has incomplete type > document.h:29: error: forward declaration of 'struct boost::filesystem::path' > ../sdpxml/sdpxml.h: At global scope: > ../sdpxml/sdpxml.h:169: warning: 'class sdpxml::SAXHandler' has virtual > functions but non-virtual destructor Value is declared to be a value_t, which is a typedef for boost::filesystem::path. Including <boost/filesystem/path.hpp>, which the attached patch does, fixes this problem. -- Matt
only in patch2: unchanged: --- k3d-0.4.5.0.orig/k3dsdk/path_data.h +++ k3d-0.4.5.0/k3dsdk/path_data.h @@ -25,6 +25,7 @@ \author Tim Shead ([EMAIL PROTECTED]) */ +#include <boost/filesystem/path.hpp> #include "data.h" namespace k3d
signature.asc
Description: Digital signature