Package: aqsis
Version: 1.2.0-2.1
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 aqsis_1.2.0-2.1 on em64t by sbuild/amd64 0.53
...
> g++ -o build/aqsistypes/logging.os -c -g -O2 -g -O2 -Wall -fPIC -DPLUGINS=1 
> -DNDEBUG=1 -DDEFAULT_RC_PATH=\"/etc/aqsis\" 
> -DDEFAULT_SHADER_PATH=\"/usr/share/aqsis/shaders\" 
> -DDEFAULT_PLUGIN_PATH=\"/usr/lib/aqsis/plugins\" -DENABLE_MPDUMP=True 
> -DCOMMON_EXPORTS -Iaqsistypes/posix -Ibuild -Ibuild/aqsistypes 
> -Ibuild/renderer/render -Ibuild/shadercompiler/shaderexecenv -Ibuild/rib/rib2 
> -Ibuild/shadercompiler/shadervm -Ibuild/rib/rib2ri -Ibuild/argparse 
> -Ibuild/shadercompiler/slparse -Ibuild/shadercompiler/codegenvm 
> -Ibuild/rib/api -I/usr/include/boost build/aqsistypes/logging.cpp
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::tag_buf::overflow(int)':
> build/aqsistypes/logging.cpp:113: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:122: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::timestamp_buf::overflow(int)':
> build/aqsistypes/logging.cpp:156: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:168: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::show_level_buf::overflow(int)':
> build/aqsistypes/logging.cpp:204: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:232: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::color_level_buf::overflow(int)':
> build/aqsistypes/logging.cpp:268: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:299: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:309: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::fold_duplicates_buf::overflow(int)':
> build/aqsistypes/logging.cpp:428: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:442: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp:445: error: 'EOF' was not declared in this scope
> build/aqsistypes/logging.cpp: In member function 'virtual int 
> Aqsis::syslog_buf::overflow(int)':
> build/aqsistypes/logging.cpp:485: error: 'EOF' was not declared in this scope
> scons: *** [build/aqsistypes/logging.os] Error 1
> scons: building terminated because of errors.
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2


--- build/aqsistypes/logging.cpp~       2008-11-07 17:07:53.000000000 +0000
+++ build/aqsistypes/logging.cpp        2008-11-07 17:07:59.000000000 +0000
@@ -21,6 +21,7 @@
 #include "logging.h"
 #include "logging_streambufs.h"
 
+#include <cstdio>
 #include <iostream>
 #include <sstream>
 #include <vector>
--- build/renderer/render/condition.cpp~        2008-11-07 17:10:03.000000000 
+0000
+++ build/renderer/render/condition.cpp 2008-11-07 17:10:13.000000000 +0000
@@ -27,6 +27,7 @@
                \author Michel Joron ([EMAIL PROTECTED])
 */
 
+#include       <cstdio>
 #include       <string.h>
 #include       "aqsis.h"
 #include       "renderer.h"
--- build/displays/d_xpm/aspXpm.cpp~    2008-11-07 17:27:14.000000000 +0000
+++ build/displays/d_xpm/aspXpm.cpp     2008-11-07 17:27:20.000000000 +0000
@@ -1,5 +1,6 @@
 #include "aspXpm.h"
 
+#include <cstdio>
 #include <string.h>
 
 aspXpm::aspXpm( const char *filename, int width, int height, int bpp )

Note that I'm not sure this patch is complete.
-- 
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