Package: k3d
Version: 0.6.6.0.ds1-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of k3d_0.6.6.0.ds1-1 on coconut0 by sbuild/ia64 0.49
...
>  ia64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"k3d\" -DVERSION=\"0.6.6.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=8 -DK3D_PLATFORM_POSIX=1 
> -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 
> -DK3D_HAVE_EXPAT=1 -DHAVE_LIBBOOST_REGEX=1 -DHAVE_LIBBOOST_DATE_TIME=1 
> -DHAVE_LIBBOOST_FILESYSTEM=1 -DK3D_HAVE_SVG_ICONS=1 -I. -I../.. -I../.. 
> -I../../hapy/src/include -Wall -Wno-ctor-dtor-privacy -g -O2 -MT Assert.lo 
> -MD -MP -MF .deps/Assert.Tpo -c Assert.cc  -fPIC -DPIC -o .libs/Assert.o
> Assert.cc: In function 'void Hapy::Abort(const char*, int, const char*)':
> Assert.cc:19: error: '::abort' has not been declared
> Assert.cc: In function 'void Hapy::Exit(const char*, int, const char*)':
> Assert.cc:25: error: '::exit' has not been declared
> Assert.cc: In function 'void Hapy::Exit()':
> Assert.cc:30: error: '::exit' has not been declared
> Assert.cc:32: error: '::exit' has not been declared
> make[4]: *** [Assert.lo] Error 1

There are still some other errors, but let's get the missing header
includes fixed now.

--- hapy/src/Assert.cc~ 2007-04-02 07:58:03.000000000 +0000
+++ hapy/src/Assert.cc  2007-04-02 07:58:08.000000000 +0000
@@ -4,6 +4,7 @@
 #include <Hapy/Assert.h>
 #include <Hapy/IoStream.h>
 
+#include <cstdlib>
 #include <cstring>
 #include <errno.h>
 
--- k3dsdk/log.cpp~     2007-04-02 08:40:08.000000000 +0000
+++ k3dsdk/log.cpp      2007-04-02 08:40:19.000000000 +0000
@@ -20,6 +20,7 @@
 #include "log_control.h"
 #include "result.h"
 
+#include <cstdlib>
 #include <iostream>
 #include <sstream>
 #include <vector>
--- k3dsdk/string_modifiers.cpp~        2007-04-02 08:40:26.000000000 +0000
+++ k3dsdk/string_modifiers.cpp 2007-04-02 08:40:37.000000000 +0000
@@ -28,6 +28,7 @@
 
 #include <boost/filesystem/path.hpp>
 
+#include <algorithm>
 #include <cctype>
 
 namespace k3d
--- surface_polygonizer/jules_bloomenthal.cpp~  2007-04-02 08:40:43.000000000 
+0000
+++ surface_polygonizer/jules_bloomenthal.cpp   2007-04-02 08:40:52.000000000 
+0000
@@ -24,6 +24,7 @@
 
 #include "jules_bloomenthal.h"
 
+#include <algorithm>
 #include <iostream>
 
 // Number of iterations (convergence)

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to