Package: im-sdk
Version: 12.3.91-6.2
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

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

> Automatic build of im-sdk_12.3.91-6.2 on em64t by sbuild/amd64 0.53
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2   
> -DXMLCONFDIR="\"/etc/iiim\"" -DSOCKETDIR="\"/var/run/iiim\"" 
> -DSEGVLOGGER="\"/usr/lib/iiim/iiimf-segv-logger\"" -g     -I../include 
> -I../../include/iml -I../../include/iiimp -I. -I../../include 
> -DARCH=\"x86_64\" -DHAVE_CONFIG_H -DLinux   -fexceptions                      
>   -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199506L -g -O2 -MT 
> IMSignal.o -MD -MP -MF ".deps/IMSignal.Tpo" -c -o IMSignal.o IMSignal.cpp; \
>       then mv -f ".deps/IMSignal.Tpo" ".deps/IMSignal.Po"; else rm -f 
> ".deps/IMSignal.Tpo"; exit 1; fi
> In file included from IMSignal.hh:6,
>                  from IMSignal.cpp:9:
> basictype.hh: In static member function 'static long unsigned int 
> UTFCHAR_char_traits::eof()':
> basictype.hh:119: error: 'EOF' was not declared in this scope
> make[3]: *** [IMSignal.o] Error 1
> make[3]: Leaving directory 
> `/build/tbm/im-sdk-12.3.91/build-tree/iiimf-12.3.91-svn2814/iiimsf/src'

--- iiimsf/src/basictype.hh~    2008-11-07 18:30:35.000000000 +0000
+++ iiimsf/src/basictype.hh     2008-11-07 18:30:44.000000000 +0000
@@ -4,6 +4,7 @@
 #ifndef BASICTYPE_HH_
 #define BASICTYPE_HH_
 #include <config.h>
+#include <cstdio>
 #include <string>
 #include <utility>
 #include <functional>

but I'm not sure if this is complete because my build fails with:

../util/mkciku
Sizeof structure UdCikuHeader is 128
File Size of UdCiku.dat should be 3852 0xF0C
nItemNum is 84104
make[6]: *** [PyCiku.dat] Segmentation fault

-- 
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