Package: k3d
Version: 0.6.7.0-2.5
Severity: serious
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * 08_sigc++_headers.patch: add missing headers to fix FTBFS.

We thought you might be interested in doing the same. 

The build fails with the following error:

/bin/bash ../libtool --tag=CXX   --mode=compile i486-linux-gnu-g++ 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" 
-DVERSION=\"0.6.7.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 
-DK3D_HAVE_EXPAT=1 -DHAVE_LIBBOOST_REGEX=1 -DHAVE_LIBBOOST_DATE_TIME=1 
-DK3D_HAVE_SVG_ICONS=1 -I.  -I.. -I..  -I/usr/include/sigc++-2.0 
-I/usr/lib/sigc++-2.0/include   -DK3D_HAVE_SIGC_2_0  -I/usr/include 
-I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include    -Wall -Wno-ctor-dt
 or-privacy -g -O2 -MT node.lo -MD -MP -MF .deps/node.Tpo -c -o node.lo node.cpp
 i486-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"k3d\" -DVERSION=\"0.6.7.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 -DK3D_HAVE_EXPAT=1 -DHAVE_LIBBOOST_REGEX=1 
-DHAVE_LIBBOOST_DATE_TIME=1 -DK3D_HAVE_SVG_ICONS=1 -I. -I.. -I.. 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 
-I/usr/include -I/usr/include -pthread -I/usr/include/glibmm-2.4 
-I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -Wall -Wno-ctor-dtor-privacy -g -O2 -MT node.lo -MD 
-MP -MF .deps/node.Tp
 o -c node.cpp  -fPIC -DPIC -o .libs/node.o
node.cpp: In constructor 'k3d::node::node(k3d::idocument&)':
node.cpp:45: error: 'hide' is not a member of 'sigc'
make[3]: *** [node.lo] Error 1
make[3]: Leaving directory 
`/build/user-k3d_0.6.7.0-2.5-i386-lpGWWp/k3d-0.6.7.0/k3dsdk'

Full log can be found at:
http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/k3d_0.6.7.0-2.5_llucid32.buildlog

This is a build on Ubuntu Lucid, but the same error occurs on Sid.

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid
  APT policy: (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-20-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u k3d-0.6.7.0/debian/patches/series k3d-0.6.7.0/debian/patches/series
--- k3d-0.6.7.0/debian/patches/series
+++ k3d-0.6.7.0/debian/patches/series
@@ -7,0 +8 @@
+08_sigc++_headers.patch
only in patch2:
unchanged:
--- k3d-0.6.7.0.orig/debian/patches/08_sigc++_headers.patch
+++ k3d-0.6.7.0/debian/patches/08_sigc++_headers.patch
@@ -0,0 +1,22 @@
+Description: add missing headers to prevent build errors.
+Author: Ilya Barygin <bary...@gmail.com>
+--- a/k3dsdk/node.cpp
++++ b/k3dsdk/node.cpp
+@@ -28,6 +28,7 @@
+ 
+ #include <algorithm>
+ #include <iostream>
++#include <sigc++/sigc++.h>
+ 
+ namespace k3d
+ {
+--- a/k3dsdk/mesh_modifier.h
++++ b/k3dsdk/mesh_modifier.h
+@@ -20,6 +20,7 @@
+ // License along with this program; if not, write to the Free Software
+ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
++#include <sigc++/sigc++.h>
+ #include "data.h"
+ #include "hints.h"
+ #include "i18n.h"

Reply via email to