Package: root-portal Version: 0.5.2-2.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 (20070326-1 or higher) from unstable. > Automatic build of root-portal_0.5.2-2.1 on coconut0 by sbuild/ia64 0.49 ... > root-portal.xpm:498: warning: deprecated conversion from string constant to > 'char*' > root-portal.xpm:498: warning: deprecated conversion from string constant to > 'char*' > root-portal.xpm:498: warning: deprecated conversion from string constant to > 'char*' > root-portal.xpm:498: warning: deprecated conversion from string constant to > 'char*' > root-portal-applet.cpp: In function 'int get_rp_pid()': > root-portal-applet.cpp:20: error: 'getenv' was not declared in this scope > root-portal-applet.cpp: In function 'void startup_cb(BonoboUIComponent*, > void*, const gchar*)': > root-portal-applet.cpp:48: error: 'system' was not declared in this scope > root-portal-applet.cpp: In function 'void configure_cb(BonoboUIComponent*, > void*, const gchar*)': > root-portal-applet.cpp:70: error: 'system' was not declared in this scope > make[3]: *** [root-portal-applet.o] Error 1 --- src/root-portal-applet.cpp~ 2007-04-02 22:13:37.000000000 +0000 +++ src/root-portal-applet.cpp 2007-04-02 22:13:42.000000000 +0000 @@ -1,5 +1,6 @@ #include "common.h" +#include <cstdlib> #include <string> #include <fstream> #include <sys/types.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]